IPv4/IPv6 format convert
Show one IP address in every common representation (dotted/expanded, integer, and hex), computed locally.
Runs on your device. The file is never uploaded.
IPv4/IPv6 format convert takes one address and prints it four ways: dotted decimal, the unsigned 32-bit integer, 0x hex and dotted binary octets. An IPv6 address instead gives the compressed form, the fully expanded groups, plain hex and all 128 bits as one decimal number. Conversion runs one way, so an integer typed in is rejected.
Questions
What formats does it print?
For IPv4: dotted decimal, the unsigned 32-bit integer, hex with an 0x prefix, and binary shown as four dotted octets. For IPv6: the compressed form, the fully expanded form with every group padded to four digits, plain hex, and the decimal value of all 128 bits.
Can I paste an integer and get an address back?
No. The input is parsed as an IPv4 or IPv6 literal, chosen by whether it contains a colon, so a bare integer is rejected. The conversion runs one way only, from an address to its other representations. If what you have is a block rather than an address, the CIDR calculator is the tool for it.
Why did my address fail to parse?
The parser is strict and names the problem. An octet above 255 gives an out of range message with your input. For IPv6 you might see an empty address, more than one double colon, too many groups around the double colon, a group count other than eight, or a group that is not one to four hex digits.
What is the difference between compressed and expanded?
Compressed is the everyday form with leading zeros dropped and the longest run of zero groups replaced by a double colon. Expanded writes all eight groups with four digits each. They are the same address, and the expanded form is easier to compare by eye or to sort.
Does it query anything about the address?
No. It is local arithmetic and formatting only: no DNS, no whois, no geolocation and no network request of any kind. Nothing about the address is looked up, so it will not tell you who owns it, whether it is routable, or whether anything answers there.