iPGaze

IPv6 Compress

Shorten an IPv6 address to its canonical compressed form.

No results yet

Enter a ipv6 address above and press Run to start the check.

About the IPv6 Compress

IPv6 Compress converts a long, fully written IPv6 address into its shortest valid form following RFC 5952 canonical rules. It removes leading zeros from each group and collapses the longest run of zero groups into the double-colon (::) notation. This produces the clean, readable form recommended for configuration files, logs, and documentation.

How to use

  1. Paste the full or partially written IPv6 address.
  2. Click Compress to apply the canonical shortening rules.
  3. Copy the compressed result for use in your configs.

Frequently asked questions

What does the double colon mean?
The :: shorthand represents one or more consecutive groups of all zeros. It may appear only once in an address so the expansion is unambiguous.
Is the compressed address functionally identical?
Yes. Compression only changes the textual representation. The underlying 128-bit address is exactly the same.
Why follow RFC 5952?
RFC 5952 defines a single canonical text form so the same address is always written the same way, which avoids confusion in logs and comparisons.

Related IP tools