Expand a compressed IPv6 address into all eight 16-bit groups with leading zeros restored.
Expansion counts the groups either side of '::', inserts the missing zero groups, and pads each group to four digits — the form most parsers, regexes and hardware tables expect. Fixed-width addresses sort correctly, match reliably in regular expressions, and line up when you are eyeballing prefix boundaries in a capture.
IPv6 Expansion
'::' is replaced by as many '0000' groups as are needed to reach eight groups, then every group is padded to four hex digits.
'::' is replaced by as many '0000' groups as are needed to reach eight groups, then every group is padded to four hex digits. Expansion counts the groups either side of '::', inserts the missing zero groups, and pads each group to four digits — the form most parsers, regexes and hardware tables expect.
Fixed-width addresses sort correctly, match reliably in regular expressions, and line up when you are eyeballing prefix boundaries in a capture.
This calculator takes 1 input: IPv6 address. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.