IPv6 Expander

Expand a compressed IPv6 address to its full 8-group form.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Expand and canonicalise IPv6 addresses

Paste a compressed IPv6 address such as 2001:db8::1 and see its fully expanded eight-group form plus the canonical RFC 5952 compressed form. This is handy when configuring firewalls, ACLs or DNS records that need the full, unambiguous address, and for verifying two addresses are actually the same.

How it works

The tool first validates the input — only one :: is permitted, each hextet must be 1–4 hex digits, and the total must resolve to eight groups. To expand, it replaces the :: with enough 0000 groups to reach eight, then left-pads each group to four digits. To compress to RFC 5952 canonical form, it lowercases the hex, drops leading zeros in each group, and replaces the longest run of two or more zero groups with ::.

Example

FormAddress
Input (compressed)2001:db8::1
Fully expanded2001:0db8:0000:0000:0000:0000:0000:0001
Canonical (RFC 5952)2001:db8::1

Everything runs locally in your browser; nothing is uploaded.

Ad placeholder (rectangle)