Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Network

IPv6 Address Expander

Expand an IPv6 address with :: shorthand into its full 8-hextet, zero-padded 32-character form, and produce a fully expanded unsolicited check of the address grammar. Validate with the IPv6 spec rules, including handling embedded IPv4-mapped addresses and zone identifiers.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Expanding, compressing and validating

Give it an IPv6 address and it either writes out all eight hextets zero-padded to four digits (2001:0db8:0000:0000:0000:0000:0000:0001), strips the leading zeros and re-applies the :: shorthand (2001:db8::1), or checks the grammar and reports Valid or Invalid with a reason. Several addresses separated by spaces or commas are validated together as a table.

When a full address is what you need

Expanded form is what network gear, log parsers, ACLs and regular expressions often demand, and it is the shape that makes two addresses comparable by eye. Use it to confirm that two differently-written addresses are really the same host, or to prepare an address for a firewall rule.

Options

Mode selects expand, compress or validate, and the two text modes return the address alone in a code block ready to copy. Lowercase output decides whether the result keeps the case you typed or is converted to lower case; validation always reports the original spelling alongside its verdict.

Rules and caveats

At most one :: may appear, standing for the run of zero hextets, and without :: an address needs exactly eight. An embedded IPv4 tail such as ::ffff:192.0.2.1 is accepted, and a zone identifier like %eth0 is allowed when it uses only letters, digits, dot, underscore and hyphen. Compression picks the longest run of zero hextets, matching the usual convention though not every canonicaliser byte for byte.

Checked in the browser

Address parsing and formatting happen in your tab and no address is transmitted. That matters because an IPv6 address can identify a customer network or your own infrastructure, and the tool keeps working offline.

Questions

What does expansion do?

It inserts the missing hextets of 0000 until the address has the full 8 hextets, each with 4 hex digits.

Is :: valid?

Yes — :: may appear at most once, representing the run of zero hextets. At least twice is invalid.

Can expansion reduce it again?

Often yes; the compress mode re-applies the rules to shorten the form, though it may choose different zero suppression than a canonical compressor.

See category