How IPv6 addresses are written
An IPv6 address is 128 bits, written as eight groups of four hexadecimal digits separated by colons. Two shortcuts make it readable: leading zeros in a group can be dropped, and one run of all-zero groups can be replaced by ::. So 2001:0db8:0000:0000:0000:0000:0000:0001 and 2001:db8::1 are the same address.
The tool shows both the expanded form, handy for sorting and spreadsheets, and the compressed form in the RFC 5952 style that software should print: lowercase, shortest possible, with :: on the longest run of zeros. You also get the ip6.arpa name used for reverse DNS, which is the 32 hex digits in reverse order, plus the /64 network prefix and the interface identifier.
Address types
- Global unicast (2000::/3) is a normal public address, routable on the internet.
- Unique local (fc00::/7, in practice fd00::/8) is the IPv6 version of a private network.
- Link-local (fe80::/10) exists on every interface and only works on the local link.
- Multicast (ff00::/8) addresses a group; the tool shows its scope.
- Documentation ranges (2001:db8::/32 and 3fff::/20) are reserved for examples.
- IPv4-mapped (::ffff:0:0/96), 6to4 (2002::/16), NAT64 (64:ff9b::/96) and Teredo (2001::/32) carry an IPv4 address inside. The tool extracts it; for Teredo that's the client's public IPv4, stored with its bits flipped.
If the interface identifier contains ff:fe in the middle, it was built from a network card's MAC address (EUI-64), and the tool shows that MAC. Modern systems use random identifiers instead, for privacy.
Common questions
Why is there no city for my IPv6 address?
Geolocation data for IPv6 is thinner than for IPv4, and many providers assign IPv6 from large national blocks. Country and network are usually right; city is often missing. Your device may also change the second half of its address every day or so, which is a privacy feature, while the /64 prefix stays the same.
What about the % part I see in some addresses?
Something like fe80::1%eth0 carries a zone index that tells your own computer which interface to use. It has no meaning to anyone else, so remove it before looking up the address.
How do I get the IPv4 address out of an IPv6 address?
For the mapped, 6to4, NAT64 and Teredo types the tool does it for you. The IPv6 to IPv4 converter handles more formats, and the IPv4 lookup shows the result in every notation.