IPv6 Address Expander |
Prefixes (/64), zones (%eth0) and [brackets]:ports are kept. One per line for many; results update as you type.
How to Expand an IPv6 Address
Expanding an IPv6 address restores every zero: 2001:db8::1 becomes 2001:0db8:0000:0000:0000:0000:0000:0001. The full form is needed for reverse DNS names, some firewalls and databases.
Pad each group to four digits and replace :: with as many 0000 groups as needed to reach eight. In 2001:db8::1 there are three groups written, so :: stands for five: 2001, 0db8, five times 0000, then 0001.
The Reverse DNS (ip6.arpa) Name
Reverse DNS for IPv6 uses all 32 hex digits, reversed and dot-separated, under ip6.arpa.
For 2001:db8::1 the name is 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa; the PTR record holding the host name goes there. Add a prefix such as /48 and the expander also gives the reverse zone to create or delegate for that network (only for prefixes on 4-bit boundaries, since each digit is one level). To check what a PTR record returns, use the reverse DNS lookup.
When You Need the Full Form
PTR records, some ACL syntaxes, fixed-width database columns and log normalisation.
- Reverse DNS: zone files and PTR names use every digit.
- Databases: fixed-width text or the 32-digit hex form (shown in the result) sorts and compares correctly; for
BINARY(16), use the hex value. - Logs and spreadsheets: expanded addresses sort correctly as text, and the same address always looks the same.
- Learning and subnetting: the binary view shows exactly where a /64 or /48 prefix ends.
How This Tool Works
| Item | Detail |
|---|---|
| Where it runs | In your browser; nothing is sent to our server. |
| Input checks | Every IPv6 text form (RFC 4291), including dotted IPv4 tails, zones, prefixes and [brackets]:ports. Invalid input gets the reason. |
| Output | RFC 5952 canonical form for the short version; eight groups of four digits for the full one. |
| Many at once | One address per line, up to 1,000. |
| Shareable link | ?q= followed by an address opens the page with it converted. |
| Stored | Nothing. |
| Last verified | 10 November 2026 |
Frequently Asked Questions
How do you expand an IPv6 address?
How many groups are in a full IPv6 address?
What is the ip6.arpa name of an IPv6 address?
Next steps