All tools / IP

IPv6 expander and compressor

Expand or compress an IPv6 address with the RFC 5952 rules, including an IPv4 tail.

In the browser

Compression keeps the longest run of zero groups, and the leftmost run when two runs tie. A single zero group is left as 0. An IPv4-mapped address is also shown with a dotted tail.