MAC to EUI-64 / Link-local
Convert any MAC address into its modified EUI-64 interface ID and the matching IPv6 link-local address — the same form Windows / Linux compute automatically.
- Modified EUI-64 (bytes)02:1a:2b:ff:fe:3c:4d:5e
- Interface ID21a:2bff:fe3c:4d5e
- IPv6 link-localfe80::21a:2bff:fe3c:4d5e
- Interface ID (U/L unflipped)1a:2bff:fe3c:4d5e
Modern stacks flip the U/L bit per RFC 4291 §2.5.1; the unflipped row is shown for legacy comparison.
Output uses lowercase hex — RFC 5952 canonical form.
How to use
- Paste a MAC in any common format —
00:1A:2B:3C:4D:5E,001a.2b3c.4d5e, plain001A2B3C4D5E, all parsed the same. - Read the modified EUI-64 (with U/L bit flipped), the canonical IPv6 interface ID, and the full link-local address.
- Click copy on whichever line you need.
About this tool
ShowHide
The modified EUI-64 process splices FF:FE between the OUI and device bytes of a 48-bit MAC and flips the U/L bit in the first octet. The result is the 64-bit interface ID that goes into stateless IPv6 (SLAAC) and link-local addresses (fe80::/10). This tool also shows the unflipped form for reference, since some legacy stacks emit it without the bit toggle.
The parser keeps only hexadecimal characters, so colons, hyphens, dots, spaces or no separator at all parse identically; what it counts is the twelve hex digits. An address with eleven or thirteen is rejected outright rather than padded or truncated, which is deliberate, because a silently corrected MAC produces a plausible-looking interface ID that belongs to a different device.
One detail catches people out: the U/L step is an XOR, not a set. On a universally administered address the bit is 0 and flipping it to 1 marks the interface ID as globally unique, which is the case the RFC describes. On a locally administered MAC the bit is already 1 (the first octet reads 02, 06, 0A, 0E and so on), so the same flip clears it, and the resulting interface ID claims local scope for an address that was locally assigned to begin with. Comparing the two output rows is the quickest way to see which of the two you have.
The link-local address is always the fixed fe80:: prefix joined to the interface ID, so it says nothing about the routed prefix a host would receive from a router advertisement. Nor does it tell you what the machine actually uses: with privacy extensions enabled the deterministic address here may never appear on the wire.
Frequently asked questions
Why flip the U/L bit?
RFC 4291 §2.5.1 inverts the universal/local bit so a vendor-assigned MAC ends up with the U bit set in the IPv6 interface ID. It made for shorter typed-out addresses in early IPv6 docs; modern privacy extensions (RFC 4941 / 8981) hide the MAC anyway.
Should I expect to see real EUI-64 addresses today?
Less often than a decade ago — Windows, macOS, and most Linux distros default to randomized interface IDs for privacy. Embedded devices, routers, and statically configured hosts still emit EUI-64 routinely.
The address on my machine does not match the one computed here. Why?
Because most systems no longer derive the interface ID from the hardware address. Privacy extensions generate a random interface ID that rotates, and modern Windows, Android, iOS and many Linux distributions use them by default — precisely so that a device cannot be tracked across networks by its MAC. What this tool computes is the deterministic form, which you will still see on routers, servers and embedded gear.
Can I recover the MAC from an IPv6 address?
Only when the interface ID was derived this way, and then it is trivial: look for FF:FE in the middle two bytes, remove them, and flip the seventh bit of the first octet back. That reversibility is the reason the scheme was abandoned for consumer devices — an address in a server log identified the hardware, and the manufacturer prefix was readable from it as well.
Related tools
Random IP & MAC Generator
Generate batches of random IPv4, IPv6, or MAC addresses for tests and mocks — public / private / ULA / link-local / UAA / LAA scopes supported.
Random
IEEE 754 Float Converter (32 & 64-bit)
See the exact IEEE 754 bit layout of any number in float32 and float64 — sign, exponent, mantissa, hex and rounding — or decode hex back to a number.
Convert
Two's Complement Converter (8–64 bit)
Enter a decimal, hex, binary or octal value and see its 8/16/32/64-bit two's complement bit pattern, with signed and unsigned readings.
Convert
MAC Address Formatter
Reformat a MAC address between colon, hyphen, Cisco dot and no-separator notation — and see its unicast/multicast and universal/local type.
Network
mailto: Link Builder
Build a mailto: URL with To, Cc, Bcc, subject, and body — RFC 6068 percent-encoded, ready to drop into an <a> tag.
Network
MTU and TCP MSS Calculator
Work out the TCP MSS and maximum UDP payload for a given MTU, with the overhead of PPPoE, GRE, WireGuard, VXLAN and other tunnels subtracted.
Network