InfraKit 39+ Programmatic Tools
IPv6 Network RFC 5952 • 128-bit Address • Hextet Decomposition

IPv6 Address Expander & Compressor

Expand abbreviated IPv6 addresses into full 32-hex digit canonical format and compress addresses using strict RFC 5952 zero-suppression rules.

Valid IPv6
Quick Samples:

Formatted Variations

Fully Expanded Form (32 hex digits)
2001:0db8:85a3:0000:0000:8a2e:0370:7334
RFC 5952 Canonical Compressed Form
2001:db8:85a3::8a2e:370:7334
Reverse DNS (ip6.arpa PTR record format)
4.3.3.7.0.7.3.0.e.2.a.8.0.0.0.0.0.0.0.0.3.a.5.8.8.b.d.0.1.0.0.2.ip6.arpa
IPv6 Scope & Type: Global Unicast (2000::/3)

RFC 5952 Rules

  • Suppress leading zeros in each 16-bit hextet (e.g. 0db8 becomes db8).
  • The double colon (::) must compress the longest consecutive run of all-zero hextets.
  • If runs are of equal length, compress the first run.
  • Lower-case hexadecimal digits (a-f) must be used.