IPv6 Compressor and Expander
Validate IPv6 addresses and show expanded, compressed and integer representations, including IPv4-mapped input.
Start with your input
Edit the example or replace it with your own text.
How to use IPv6 Compressor and Expander
- Paste the example or your own input.
- Choose the options that match your task.
- Run the tool, review the result, then copy or download it.
When to use IPv6 Compressor and Expander
Long IPv6 spellings are hard to compare by eye. Paste one address per line to inspect its eight fully padded groups and a shorter lowercase representation. Compression removes leading zeroes and shortens the longest run of zero groups, choosing the first run when there is a tie. The report also includes the address as a decimal integer for storage or test-vector comparison.
How to interpret the result
Input may use one double-colon abbreviation and may end with a dotted IPv4 address. Output uses hexadecimal groups consistently, including mapped addresses; application-specific display conventions may prefer a dotted suffix. Zone identifiers, CIDR prefixes, ports and enclosing URL brackets are rejected because this tool accepts addresses only. Validation establishes address syntax, not whether the address is assigned, reachable or appropriate for a particular network.
Example input
2001:0db8:0000:0000:0000:ff00:0042:8329 ::ffff:192.0.2.128
What should I check before using the output?
Input may use one double-colon abbreviation and may end with a dotted IPv4 address.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.