IP Address Converter
Convert an IPv4 address between dotted, decimal, hex and binary, or expand IPv6.
Detected automatically. Everything runs in your browser.
Frequently asked questions
What can I convert here?
Enter an IPv4 address in dotted (192.168.0.1), decimal-integer or hexadecimal form and see all representations, including binary. IPv6 addresses are expanded to their full form and compressed.
Why convert an IP to an integer?
Databases and firewalls often store IPv4 addresses as 32-bit integers because integer comparisons are fast and ranges are easy to express. The integer 3232235521 is the same address as 192.168.0.1.
How is an IPv4 address turned into a number?
Each of the four octets is one byte of a 32-bit number: value = a×16777216 + b×65536 + c×256 + d. The tool shows that number plus its hex and binary equivalents.
What does expanding an IPv6 address mean?
IPv6 allows shorthand — dropping leading zeros and collapsing one run of zero groups to "::". Expanding restores all eight 16-bit groups so you can see the full address unambiguously.
Does this run on a server?
No. All conversion happens in your browser with plain arithmetic, so nothing you type is sent anywhere.