IPv4 / IPv6 address converter
Paste an IPv4 address, a 32-bit number (3232235777 or 0xC0A80101), or an IPv6 address with an optional prefix (2001:db8:abcd::/48).
Runs in your browser
About the formats
- An IPv4 address is a 32-bit number. Some logs, databases and APIs store it as a plain integer or in hex.
- IPv6 addresses are 128 bits. The compressed form follows RFC 5952: lowercase, leading zeros dropped and the longest run of zero groups replaced by
::. - Reverse DNS names (
in-addr.arpaandip6.arpa) are what you put in PTR records.