IPv6 Address Expander — Write All 8 Four-Digit Groups
Expand shorthand :: IPv6 strings into all 8 4-digit uppercase/lowercase hextets.
| Input | Compressed (RFC 5952) | Expanded | Type |
|---|---|---|---|
2001:0db8:0000:0000:0000:ff00:0042:8329 | 2001:db8::ff00:42:8329 | 2001:0db8:0000:0000:0000:ff00:0042:8329 | Documentation (2001:db8::/32) |
fe80:0:0:0:20c:29ff:fe3a:5b2c%eth0 | fe80::20c:29ff:fe3a:5b2c | fe80:0000:0000:0000:020c:29ff:fe3a:5b2c | Link-local (fe80::/10) |
2001:db8:0:0:1:0:0:1 | 2001:db8::1:0:0:1 | 2001:0db8:0000:0000:0001:0000:0000:0001 | Documentation (2001:db8::/32) |
0:0:0:0:0:ffff:c000:280 | ::ffff:c000:280::ffff:192.0.2.128 | 0000:0000:0000:0000:0000:ffff:c000:0280 | IPv4-mapped (::ffff:0:0/96) |
ff02:0000:0000:0000:0000:0000:0000:0001 | ff02::1 | ff02:0000:0000:0000:0000:0000:0000:0001 | Multicast (ff00::/8), scope link-local |
fd12:3456:789a:1::/64 | fd12:3456:789a:1:: | fd12:3456:789a:0001:0000:0000:0000:0000 | Unique local (ULA) (fc00::/7) |
When to use the Compressed IPv6 to Full 8-Group Hex Expander
All eight groups
The :: is unpacked into its real zero groups and every group is written as four digits, so the position of each bit is clear when working out subnets and prefixes.
For systems needing a fixed format
Some databases, older device ACLs and scripts that compare text need the full form with a fixed length of 39 characters.
Lower or upper case
Choose lower case per RFC 5952 or upper case as some Windows tools and vendor documents display it.
IPv4 tails included
Addresses ending in an IPv4 part, such as ::ffff:192.0.2.1, have it turned into the two equivalent hex groups so the whole address is consistent.
Frequently asked questions
How long is the full form?
Always 39 characters: 32 hexadecimal digits plus 7 colons, whatever the address.
How are the missing groups counted?
Count the written groups; :: stands for the rest up to eight. For example 2001:db8::1 has three groups, so :: means five zero groups.
Are zones and prefixes kept?
Yes, the %zone and /prefix are added back to the end of the result exactly as in the input.
Can it go back to the short form?
Use the IPv6 Address Compressor to get the RFC 5952 canonical form from a full address.
Is my data sent to a server?
No. Everything is processed in your browser, so addresses from internal routing tables or firewall configs are never sent to any server.
Similar tools
- IPv6 Address Shortest :: Compressor (RFC 5952)Collapse leading zeros and longest consecutive zero hextets using RFC 5952.
- 32-Bit Binary Octets to Dotted-Decimal IPv4 ConverterConvert 32-bit binary bitstreams or dotted binary octets back into IPv4.
- IPv4 Address to Hexadecimal (0x) ConverterConvert IPv4 octets into dotted hex and 32-bit hex (for DHCP Options & /proc).
- Hexadecimal (0x) to Dotted-Decimal IPv4 ConverterDecode hex bytes from packet dumps, /proc/net/tcp or DHCP logs back into IPv4.