WHAT IT DOES
One spelling of an IPv6 address, and what the rest of it means.
An IPv6 address can be written a dozen ways and only one of them is canonical. Enter an address or a prefix to get the RFC 5952 form, the fully expanded form, the reverse DNS name under ip6.arpa, the reserved range it falls in, and -- when the address came off a network rather than out of a plan -- the MAC address its interface identifier was built from.
Why use it?
Use it to compare differently written IPv6 addresses, inspect prefix boundaries, and prepare reverse-DNS information without confusing spelling with reachability.
How to use this tool
- Enter an IPv6 address or prefix and inspect it; for example, 2001:0db8:0:0:0:0:0:1 normalizes to 2001:db8::1.
- Compare the expanded form, address classification, and any prefix or reverse-DNS fields.
- Treat a recovered MAC-like identifier as an interpretation of the bits, not verified hardware identity. No address is contacted or DNS record checked.
Details and limitations
- The canonical form follows RFC 5952: lowercase, no leading zeros in a group, and the longest run of zero groups compressed once. A run of a single zero group is never compressed, because :: there saves nothing and gives the address a second legal spelling.
- An interface identifier with ff:fe in the middle is an EUI-64 built from a MAC address, and the MAC is recovered by removing those two bytes and flipping the universal/local bit. An address like that follows the hardware from network to network, which is what privacy extensions exist to prevent.
- A prefix reports how many /64 subnets it contains. A /64 is the unit IPv6 addressing is built on, since stateless autoconfiguration needs 64 host bits, so a prefix longer than /64 is flagged rather than counted.
- Reverse DNS names are every nibble in reverse order under ip6.arpa. A prefix that is not a multiple of four does not land on a nibble boundary, so the zone given is the one above it, which is where a delegation can actually be cut.
- An address in ::ffff:0:0/96 is an IPv4 address carried inside an IPv6 one, and the IPv4 address is reported separately. A log full of ::ffff: prefixes is a dual-stack socket reporting IPv4 peers, not an IPv6 deployment.
- A zone index such as %eth0 is kept and reported rather than rejected. It names the interface a link-local address is valid on and takes no part in the arithmetic.