IPv6 Parser
Expand, compress and inspect any IPv6 address
Input
Compressed, expanded, in brackets or with a zone such as %eth0.
All 128 bits, grouped by hextet.
Results
Address type
Documentation
Representations
- Canonical (RFC 5952)
- 2001:db8::1
- Expanded
- 2001:0db8:0000:0000:0000:0000:0000:0001
- Hextets
- 20010db8000000000000000000000001
- 128-bit integer
- 42540766411282592856903984951653826561
- Unsigned value of all 128 bits.
- Hexadecimal
- 0x20010db8000000000000000000000001
- Reverse DNS name
- 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa
- PTR record name for this single address (/128).
2001:db8::1 parsed: Documentation.
Related Tools
What it shows
Paste one IPv6 address in any valid text form. The parser shows the canonical RFC 5952 form, the fully expanded form, the eight hextets, the 128-bit value as a decimal integer and as hex, optional binary, the ip6.arpa reverse DNS name and the address type from the IANA IPv6 special-purpose registry with its RFC. Every value has its own copy button.
Canonical form (RFC 5952)
Canonical text is lowercase, drops leading zeros in each group and replaces the longest run of two or more zero groups with ::. When two runs are equally long the first one is compressed, and a single zero group is never written as ::. IPv4-mapped addresses keep the dotted tail, for example ::ffff:192.0.2.1. If your input differs from the canonical form, a note says so.
Embedded IPv4 and zones
IPv4 addresses carried inside IPv6 are extracted: IPv4-mapped ::ffff:0:0/96, the NAT64 well-known prefix 64:ff9b::/96, 6to4 2002::/16, Teredo 2001::/32 (server, client address and port) and the deprecated IPv4-compatible ::a.b.c.d form. A zone such as fe80::1%eth0 or the URI form %25eth0 is shown separately because it selects a local interface and is not part of the 128-bit address.
Input rules and limits
Parsing is strict: a group may have at most four hex digits, :: may appear once, and an embedded IPv4 tail must be the last 32 bits. Errors name the unexpected character or group instead of guessing. One address at a time; prefixes such as /64 belong in the CIDR / Subnet Calculator. Addresses outside 2000::/3 and the special-purpose registry are reported as IETF reserved, never as public. Nothing is resolved or looked up, and addresses are not saved.
