Skip to main content
>_devtools

IPv6 Expand & Compress

Expand IPv6 addresses into eight groups or compress them to RFC 5952 form, one address per input line.

What this does

Expand IPv6 addresses to eight groups or compress them to their canonical shortened form. Enter one address per line and review compressed and expanded results.

Example

Input: 2001:0db8:0:0:0:0:0:1
Compressed: 2001:db8::1
Expanded: 2001:0db8:0000:0000:0000:0000:0000:0001

Limits and behavior

  • IPv4-mapped IPv6 notation is accepted.
  • Invalid lines show their line number and do not produce output.