IPv6 Address Compressor
Shorten an IPv6 address to its standard compressed form, or expand it to all eight groups. The output follows RFC 5952 and accepts an IPv4-mapped tail such as ::ffff:192.0.2.128.
1 Fill in the box
2 Your answer
Your answer shows here as you type.
How to use the IPv6 Address Compressor
- Paste an IPv6 address into the field, with or without leading zeros.
- Read the compressed form in the first row for the shortest standard notation.
- Use the expanded row when you need all eight groups written out in full.
Frequently asked questions
What does :: mean in an IPv6 address?
A double colon stands for one run of consecutive groups that are all zero. It can appear only once in an address, because using it twice would make the length of each run ambiguous.
Does compressing an IPv6 address change it?
No. The compressed and expanded forms refer to the same address. Compression only removes leading zeros inside each group and replaces one run of zero groups with ::.
Why is a single zero group not replaced with ::?
RFC 5952 recommends using :: only for two or more consecutive zero groups. A single zero group is written as 0. If two runs have the same length, the first one is replaced.
How many groups does an IPv6 address have?
A full IPv6 address has eight groups of four hexadecimal digits, separated by colons, for 128 bits in total.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.