Skip to content

IPv4 Address Converter

Convert an IPv4 address between dotted decimal, integer, hexadecimal, and binary representations.

Category: network
Use Case: Decoding an Integer-Encoded IP from a Database, Understanding Binary IP Representation, Converting a Hex IP from a Config File
Privacy: 100% browser-based

Dotted Decimal

192.168.1.1

Decimal (Integer)

3232235777

Hexadecimal

0xc0a80101

Binary

11000000.10101000.00000001.00000001

Octal (per octet)

300.250.1.1

Recommended Settings

Pro Tips

  • The tool auto-detects your input format - dotted decimal (192.168.1.1), a plain integer (3232235777), or hex (0xC0A80101)
  • Databases and some low-level networking APIs sometimes store IPv4 addresses as a single 32-bit integer rather than dotted decimal
  • The binary representation shows each octet as 8 bits, making it easy to see exactly how subnet masking works at the bit level
  • Integer and hex representations both treat the IP as one continuous 32-bit number, just in different bases

Most Popular

Most developers convert an integer-encoded IP address from a database or API back into readable dotted decimal form

When to Use This Tool

Decoding an Integer-Encoded IP from a Database

Convert a raw 32-bit integer IP address back into readable dotted decimal form.

Understanding Binary IP Representation

See exactly how an IP address breaks down into its underlying binary bits.

Converting a Hex IP from a Config File

Convert a hexadecimal-encoded IP address into standard dotted decimal notation.

Learning IP Address Fundamentals

Explore how the same address is represented across different numeric bases.

How It Works

1

Detect whether the input is dotted decimal, a plain integer, or hexadecimal notation

2

Convert the input into a single 32-bit integer representing the address

3

Format that integer back into dotted decimal, hex, binary, and octal representations

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by Client-side 32-bit IPv4 arithmetic for optimal performance on modern browsers.

Open Source

Built with verified, open-source libraries. Fully transparent.

Frequently Asked Questions

Why would an IP be stored as an integer?

Storing an IPv4 address as a single 32-bit integer is more compact and efficient for database indexing and range comparisons than storing it as a string.

How do I convert 192.168.1.1 to an integer myself?

Multiply each octet by its positional weight (256^3, 256^2, 256^1, 256^0) and sum them - this tool does that calculation for you instantly.

What's the difference between hex and binary here?

Both represent the exact same 32-bit value - hex is a more compact representation using base 16, while binary shows every individual bit using base 2.

Is my IP address sent anywhere?

No. All conversion happens locally in your browser.