About this tool
Parse any IPv6 address, including :: shorthand, then expand it to the full padded form or compress it back to the shortest valid representation. It all happens locally in your browser.
Frequently asked questions
How does compression work?
Leading zeros in each group are dropped and the longest run of all-zero groups is replaced with ::, following the recommended canonical form.
Can it handle :: in any position?
Yes — a single :: is expanded to the right number of zero groups whether it appears at the start, middle or end.