Tested tool guide
Tested browser tools
Checked August 16, 2026
What IPv6 Compressor / Expander does, with a checked example
This converter changes the textual spelling of an IPv6 address without changing its 128-bit value. In expanded form, the address has eight four-digit hexadecimal hextets. In compressed form, leading zeroes disappear and one run of zero hextets can become `::`. The detail most often misread is that shorter text is not a smaller address, a subnet, or a range. Compression produces an equivalent notation; expansion reconstructs every omitted zero so the full eight-hextet layout is visible.
Worked example
A concrete input and expected output from the current implementation.
Input
2001:0002:0000:0000:0000:0000:0000:0005
->
Expected output
2001:2::5
The input has eight hextets. Removing leading zeroes changes `0002` to `2` and `0005` to `5`; the five consecutive `0000` hextets between them are replaced by one `::`, preserving the same 128-bit value.