IPv6 Compression Tool
Shorten IPv6 addresses to their canonical compressed form (RFC 5952).
5.0 (1 rating)Leading zeros are dropped and the longest run of zero groups becomes ::, following the canonical format of RFC 5952.
Processing and privacy
Processing varies by tool. Check the instructions for local processing, server requests, external services and any file or request limits before entering sensitive information.
Read the privacy policyShare this tool
Found it useful? Send it to a friend or teammate.
Rate this tool
5.0
1 rating
- 5 stars 1
- 4 stars 0
- 3 stars 0
- 2 stars 0
- 1 star 0
Clear instructions
Find steps, examples and limitations below.
Use online
Open the tool in a supported web browser.
Free to use
No sign-up required. Tool-specific limits may apply.
How to use the IPv6 Compression Tool
Shorten IPv6 addresses to their canonical compressed form (RFC 5952).
- 1 Paste one or more IPv6 addresses, one per line.
- 2 The compressed form of each address appears instantly.
- 3 Copy the results.
Example and practical tips
2001:0db8:0000:0000:0000:ff00:0042:8329 compresses to 2001:db8::ff00:42:8329, and 0000:0000:0000:0000:0000:0000:0000:0001 becomes ::1.
Frequently asked questions
Can :: appear twice?
No. The double colon may replace only one run of zero groups, or the address would be ambiguous.
Why use the canonical form?
RFC 5952 defines one standard way to write each address, so the same address always looks the same in logs and configs.
Practical guides
-
How to Use IPv6 Compression Tool
Compress IPv6 addresses to the canonical short form from RFC 5952: leading zeros removed and the longest run of zero groups replaced with a double colon.
Report an issue
Something broken or not quite right? Tell us and we will look into it.