IPv6 Toolkit

Expand, compress, split and classify IPv6 addresses, and derive EUI-64.

IPv6 address or prefix


Type

Address details

Subnet the prefix

EUI-64 from a MAC address

IPv6 notation rules

An IPv6 address is 128 bits written as eight groups of four hex digits. Two shortenings are allowed: leading zeros in a group may be dropped, and one run of consecutive all-zero groups may be replaced by ::. Because a second :: would be ambiguous, only one is ever permitted — which is why this tool rejects addresses containing two.

RFC 5952 sets out the canonical form used here for the compressed output: lower-case hex, no leading zeros, and :: applied to the longest zero run (the leftmost one if there is a tie), never to a single zero group.

EUI-64 derives a 64-bit interface identifier from a 48-bit MAC by inserting FF:FE in the middle and flipping the universal/local bit — bit 7 of the first octet. That flip is why a card with a burned-in address of 00:1a:2b:… appears as 021a:2bff:fe… in its IPv6 address.