All tools · 🌐 Network Tools

📐 IPv6 Expand / Compress

IPv6 addresses can be written several ways. Shortest form drops leading zeros in each group and replaces a run of zero groups with double-colon. Expanded form spells every nibble out. This tool toggles between them and also detects IPv4-mapped addresses like ::ffff:192.168.1.1.

Loading tool…

Examples

Compress to expand
Input2001:db8::1
Output2001:0db8:0000:0000:0000:0000:0000:0001

Frequently asked questions

Can :: appear twice?

No. RFC 5952 allows :: only once — otherwise the address would be ambiguous about where the zeros go.

About this calculator

IPv6 Expand / Compress runs entirely in your browser using standard formulas. No data is sent to any server. We don't share your inputs with lenders, brokers, or anyone else — there's no funnel and no follow-up email.

Related tools

← All 35 calculators

Why this tool

vs typical free network-tools sites

NetToolsetTypical free site
PriceFreeFree
Signup requiredNoOften (for advanced features)
Ads inside the toolNoYes (banner + interstitial)
Logs your IP / queriesNoYes (often resold)
Data sent to a serverMath runs in browser; lookups hit Cloudflare DoH directlyYes (all goes through their server)
Open sourceYesNo
Bookmarkable URL per toolYesMixed
MultilingualEN / ES / PT / FR / DEUsually EN only
Loads in under 1sYes (static)Often slow (ad tracking)