IP Address Converter
Convert IPv4 addresses between dotted-decimal, integer, hexadecimal, and binary. Expand and compress IPv6 addresses.
What Is the IP Address Converter?
The IP address converter is a free online tool that translates IP addresses between every common representation. For IPv4, it converts between dotted-decimal (192.168.1.1), 32-bit integer (3232235777), hexadecimal (0xC0A80101), and dotted-binary notation. For IPv6, it expands a compressed address to its full 128-bit form and compresses a full address using :: shorthand notation.
IP conversion is a routine task in networking, firewall rule authoring, database storage of addresses, low-level packet analysis, and programming. This tool eliminates manual arithmetic and avoids transcription errors.
How to Use the IP Address Converter
- Select IPv4 or IPv6 mode using the tab at the top.
- Enter an IP address in any supported format, or click a preset.
- All representations update instantly in the result table.
- Click Copy next to any row to copy that value to the clipboard.
For IPv4, you can paste a dotted-decimal address, a plain integer, or a hex value starting with 0x — the tool auto-detects the format.
Features
- IPv4: dotted-decimal, 32-bit integer, hexadecimal, dotted-binary
- IPv4: auto-detects decimal, integer, and hex input formats
- IPv4: address type detection (Private, Public, Loopback, Multicast)
- IPv6: expand short-form to full 128-bit notation
- IPv6: compress expanded address using :: shorthand
- IPv6: binary representation
- IPv6: address type detection (Loopback, Link-Local, Unique Local, Global Unicast)
- One-click copy per row
- Preset addresses for quick testing
FAQ
How do I convert an IPv4 address to a number?
An IPv4 address like 192.168.1.1 is made of four 8-bit octets. To convert to an integer, multiply each octet by its positional power of 256: (192 × 16777216) + (168 × 65536) + (1 × 256) + 1 = 3232235777. This tool does the calculation instantly.
What is the difference between expanded and compressed IPv6?
An expanded IPv6 address shows all 8 groups of 4 hex digits, e.g. 2001:0db8:0000:0000:0000:0000:0000:0001. A compressed form removes leading zeros and replaces the longest run of all-zero groups with ::, giving 2001:db8::1. Both represent the same address.
What are IPv4 private address ranges?
The three RFC 1918 private ranges are: 10.0.0.0–10.255.255.255 (/8), 172.16.0.0–172.31.255.255 (/12), and 192.168.0.0–192.168.255.255 (/16). These are not routable on the public internet.
What is the IPv6 loopback address?
The IPv6 loopback address is ::1, equivalent to 127.0.0.1 in IPv4. It refers to the local machine and is used for testing network software without a physical network interface.