Skip to main content
KalkuNet

MAC to IPv6 EUI-64 Converter — SLAAC Interface ID and Link-Local

Flip the 7th U/L bit and insert ff:fe to derive SLAAC Interface ID and link-local.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters
MACInterface IDLink-localGlobal (SLAAC)
00:0c:29:3a:5b:2c20c:29ff:fe3a:5b2cfe80::20c:29ff:fe3a:5b2c2001:db8:1234:5678:20c:29ff:fe3a:5b2c
3C-22-FB-12-34-563e22:fbff:fe12:3456fe80::3e22:fbff:fe12:34562001:db8:1234:5678:3e22:fbff:fe12:3456
b827.eb12.3456ba27:ebff:fe12:3456fe80::ba27:ebff:fe12:34562001:db8:1234:5678:ba27:ebff:fe12:3456

The 7th (Universal/Local) bit is flipped and ff:fe inserted in the middle, per RFC 4291 Appendix A.

When to use the MAC Address to IPv6 Modified EUI-64 & fe80:: Converter

  • The correct EUI-64 steps

    The Universal/Local bit of the MAC's first byte is flipped and ff:fe inserted in the middle, per RFC 4291 Appendix A. The result is the 64-bit interface ID.

  • Link-local and global at once

    Every MAC becomes its fe80:: link-local address and, when a /64 prefix is given, the global SLAAC address the device will pick.

  • Every MAC format

    Colon, Windows hyphen and Cisco dot formats are accepted in any case, so lists from different devices can be pasted as they are.

  • For finding devices

    Match IPv6 addresses in router logs or neighbour tables with device MACs, useful when tracking devices that use SLAAC without DHCPv6.

Frequently asked questions

Why is the seventh bit flipped?

In a MAC that bit is 0 for factory-assigned addresses. IPv6 inverts it so simple manual interface IDs such as ::1 stay short to write.

Is the global address always the same?

With EUI-64 the interface ID stays the same on every network; only the /64 prefix changes with the network the device joins.

Can the MAC be read back from IPv6?

Yes, when the interface ID has ff:fe in the middle: drop ff:fe and flip the seventh bit back. That is why EUI-64 is considered a privacy leak.

Must the prefix be /64?

Yes. SLAAC only works with a /64 prefix because the EUI-64 interface ID is exactly 64 bits.

Is my data sent to a server?

No. Everything is computed in your browser.

Learn more