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.
| MAC | Interface ID | Link-local | Global (SLAAC) |
|---|---|---|---|
00:0c:29:3a:5b:2c | 20c:29ff:fe3a:5b2c | fe80::20c:29ff:fe3a:5b2c | 2001:db8:1234:5678:20c:29ff:fe3a:5b2c |
3C-22-FB-12-34-56 | 3e22:fbff:fe12:3456 | fe80::3e22:fbff:fe12:3456 | 2001:db8:1234:5678:3e22:fbff:fe12:3456 |
b827.eb12.3456 | ba27:ebff:fe12:3456 | fe80::ba27:ebff:fe12:3456 | 2001: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.
Similar tools
- 32-Bit Binary Octets to Dotted-Decimal IPv4 ConverterConvert 32-bit binary bitstreams or dotted binary octets back into IPv4.
- IPv4 Address to Hexadecimal (0x) ConverterConvert IPv4 octets into dotted hex and 32-bit hex (for DHCP Options & /proc).
- Hexadecimal (0x) to Dotted-Decimal IPv4 ConverterDecode hex bytes from packet dumps, /proc/net/tcp or DHCP logs back into IPv4.
- IPv4 Address to 32-Bit Unsigned Integer ConverterConvert dotted IPv4 addresses into a single 32-bit unsigned decimal integer.