network Tool
IPv6 Address Compressor
Compress 128-bit IPv6 address strings according to RFC 5952 standard compression rules.
IPv6 Expander & Zero Compressor
Expand compressed IPv6 addresses into full 32-hex digit notation (8 hextets), apply RFC 5952 canonical compression, and generate 128-bit binary & `.ip6.arpa` PTR DNS records.
Example Presets:
Full 32-Hex Digit Expanded Notation
2001:0db8:0000:0000:0000:8a2e:0370:7334
Exact 8 hextets of 4 hexadecimal characters each without zero omission.
RFC 5952 Canonical Compressed Form
2001:db8::8a2e:370:7334
Standard RFC 5952 zero-compressed representation replacing longest zero run with `::`.
Address TypeGlobal Unicast (2000::/3)Global Public Scope
Network Prefix (/64)2001:0db8:0000:0000First 64 Bits
Host Interface ID0000:8a2e:0370:7334Interface Identifier
128-Bit Binary Representation
0010000000000001 . 0000110110111000 . 0000000000000000 . 0000000000000000 . 0000000000000000 . 1000101000101110 . 0000001101110000 . 0111001100110100
Reverse PTR DNS (`.ip6.arpa`)
4.3.3.7.0.7.3.0.e.2.a.8.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa
How IPv6 Address Compressor Works
Strips leading zeros in hextets and replaces longest zero sequence with double colon `::`.
Frequently Asked Questions
Can `::` be used multiple times in an IPv6 address?
No, `::` can only appear once in an IPv6 address to prevent ambiguity.