Compress an IPv6 Address

Convert a valid IPv6 address to compact notation by removing leading zeros and shortening a consecutive sequence of zero groups. Processing runs on the server without external services.

IPv6 address

Enter a valid IPv6 address in expanded or compressed notation.

What this tool does

This tool normalizes a valid IPv6 address to the compressed notation produced by the server's IP library.

It removes leading zeros from hexadecimal groups and replaces one eligible consecutive sequence of zero groups with a double colon.

How to use the tool

  1. Enter one valid IPv6 address in expanded or already compressed notation.
  2. Start the conversion to display the normalized compressed address.
  3. Copy the result with the button next to the compressed address when needed.

Useful applications

  • Make a long IPv6 address easier to read in configuration files, documentation or support requests.
  • Check whether differently written IPv6 addresses normalize to the same representation.
  • Prepare an IPv6 address in compact form before entering it in a technical interface.

Notes and limitations

  • The tool accepts one IPv6 address literal and rejects ports, URLs, prefix lengths and interface zone identifiers.
  • Compression changes only the textual representation; the underlying IPv6 address remains the same.

Frequently asked questions

Why does a compressed IPv6 address contain a double colon?

A double colon replaces one consecutive sequence of zero groups and may appear only once in an IPv6 address.