Text · Converter

MAC address to hex converter.

A MAC address is already six hex bytes. Paste one in any format to restyle it (colons, hyphens, Cisco dots), see it as a decimal or binary number, and read its flags, EUI-64 and IPv6 link-local form.

Runs in your browserNothing is uploaded

Advertisement

Input

Result

Enter a value to convert it.

Advertisement

How it works

A MAC-48 address is 48 bits written as six bytes in hexadecimal. People write the same address several ways: 00:1A:2B:3C:4D:5E (Linux, macOS), 00-1A-2B-3C-4D-5E (Windows, IEEE style), 001a.2b3c.4d5e (Cisco) and 001A2B3C4D5E (plain). They are the same number. This page normalises all of them, so it doubles as the answer to "MAC address to hex": the hex is the address itself, and the work is mostly formatting.

You can also start from a decimal integer (up to 281474976710655) or from 48 binary digits, and get the hex address back. The binary view is useful because the two lowest bits of the first byte carry meaning: bit 0 (I/G) is 1 for multicast and 0 for unicast; bit 1 (U/L) is 1 for a locally administered address (common for virtual machines, randomised phone addresses and VLAN tools) and 0 for one assigned by the manufacturer. The first three bytes are the OUI, the vendor prefix, which you can look up in the IEEE registry.

The page also derives the modified EUI-64 identifier used by IPv6 stateless addressing: insert FF:FE in the middle and flip the U/L bit of the first byte (RFC 4291, Appendix A), then prefix fe80:: for the link-local address. Many modern systems use random interface identifiers instead, so the derived address is what the old method would produce, not necessarily what your device uses.

Worked examples

MAC address conversion examples
InputResult
00:1A:2B:3C:4D:5E001A.2B3C.4D5E (Cisco), decimal 112394521950
FF:FF:FF:FF:FF:FFBroadcast, decimal 281474976710655
02:00:00:00:00:01Locally administered, unicast
01:00:5E:00:00:01Multicast (IPv4 224.0.0.1)
00:1A:2B:3C:4D:5EEUI-64 02:1A:2B:FF:FE:3C:4D:5E

Related tools: the MAC address validator, the MAC address generator, and IP address to binary. Look up an OUI at the IEEE Registration Authority.

Sources: IEEE Guidelines for use of EUI, OUI and CID (tutorial); RFC 4291, appendix-A: IP Version 6 Addressing Architecture (Appendix A, modified EUI-64); RFC 7042: IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters Retrieved November 2026.

Advertisement

MAC address to hex converter FAQ

How do I convert a MAC address to hex?

It already is hex. A MAC address is six hexadecimal bytes; only the separators change between colon, hyphen, dotted and plain styles. Paste it here to switch styles.

How do I convert a MAC address to decimal?

Read the 12 hex digits as one number. 00:1A:2B:3C:4D:5E is 112,394,521,950. Choose Decimal integer as the input format to go the other way.

What do the first three bytes mean?

They are the OUI (Organizationally Unique Identifier), assigned by the IEEE to a manufacturer. The last three bytes are assigned by that manufacturer.

What are the multicast and locally administered bits?

In the first byte, bit 0 set means multicast and bit 1 set means locally administered. 02:00:00:00:00:01 is a unicast, locally administered address.

How is the IPv6 link-local address derived?

Insert FF:FE between the third and fourth byte, flip the U/L bit of the first byte, and prefix fe80::. Many systems now use random identifiers instead.