$ipv6-compress --address 2001:0db8:0000:0000:0000:0000:0000:0001

IPv6 Address Compressor

Paste any full IPv6 address to instantly compress it to the shortest valid representation using zero suppression and consecutive group elimination. View the shortened IPv6 notation alongside the original expanded form — perfect for simplifying addresses in DNS records, firewall rules, and network configurations.

Input IPv6 Address

Example addresses to try:

2001:0db8:0000:0000:0000:0000:0000:0001

fe80:0000:0000:0000:0000:0000:0000:0001

0000:0000:0000:0000:0000:0000:0000:0001

Compressed Result

Enter an IPv6 address to compress

How IPv6 Compression Works

Rule 1: Remove Leading Zeros

Each group of 4 hex digits can have leading zeros removed:

Before: 2001:0db8:0001:0042

After: 2001:db8:1:42

Rule 2: Use :: for Consecutive Zeros

One sequence of consecutive all-zero groups can be replaced with ::

Before: 2001:db8:0:0:0:0:0:1

After: 2001:db8::1

Comments & Feedback

Share your experience or ask questions about this tool