MAC Address to Binary Converter (48-bit) – Free

Paste a hardware address and this MAC address to binary converter prints its six octets as 8-bit groups, which makes the multicast and locally administered flag bits easy to check.

How to use the MAC address binary Calculator tool

  1. Enter the address in the MAC address field. Colons, hyphens, dots or no separators are all fine.
  2. Select Convert, or select Example to load 02:00:00:00:00:01.
  3. Read the six space-separated groups in the Result box, in the same order as the hex bytes you typed.
  4. Look at the two rightmost bits of the first group to classify the address, then select Copy if you need the output elsewhere.

What the 48 bits of a MAC address mean

A MAC address, also called an EUI-48, is six bytes. In a globally unique address the first three bytes are the organizationally unique identifier that the IEEE assigns to a manufacturer, and the last three are chosen by that manufacturer for each interface.

Two bits in the first byte carry flags. The least significant bit is the individual/group bit: 0 for a unicast address, 1 for multicast or broadcast. The bit next to it is the universal/local bit: 0 for an address derived from an IEEE assignment, 1 for a locally administered address set by software, a hypervisor or the privacy feature of an operating system.

MAC address to binary example: reading the flag bits

The sample address 02:00:00:00:00:01 starts with the byte 02, which is 00000010. Its last bit is 0, so this is a unicast address. The bit before it is 1, so it is locally administered. Virtual machines and containers commonly use addresses of this kind.

Compare 01:00:5E:00:00:FB, the Ethernet address used for IPv4 multicast DNS. Its first byte, 00000001, ends in 1, the group bit. The broadcast address FF:FF:FF:FF:FF:FF is all ones.

02:00:00:00:00:01  ->  00000010 00000000 00000000 00000000 00000000 00000001
01:00:5E:00:00:FB  ->  00000001 00000000 01011110 00000000 00000000 11111011

Accepted MAC address formats

Before converting, the tool deletes every colon, hyphen and dot, then requires exactly 12 hexadecimal digits in either letter case. All four spellings below produce the same six groups.

Spaces between bytes, a 0x prefix, single-digit bytes such as 0:1a:2b:3c:4d:5e and 64-bit EUI-64 identifiers are rejected with the message Enter a 48-bit MAC address. Pad short bytes with a leading zero before you paste.

  • Colon-separated: 3C:22:FB:9A:10:7E
  • Hyphen-separated: 3C-22-FB-9A-10-7E
  • Dotted groups of four digits: 3c22.fb9a.107e
  • Bare digits: 3C22FB9A107E

Bit order: what you see versus what is sent

The output shows each byte with its most significant bit on the left, matching the way hex is written. Ethernet transmits the bytes in the order shown but sends each byte least significant bit first. That is why the individual/group bit, the rightmost bit of the first group here, is the first bit on the wire. Some older documents print addresses in that transmission order, with every byte bit-reversed.

Frequently asked questions

How many bits are in a MAC address?

Forty-eight: six bytes of eight bits, written as 12 hex digits. The output always has six groups. Identifiers with eight bytes are EUI-64 values and are outside what this page converts.

How can I tell from the binary whether a MAC address is multicast?

Check the rightmost bit of the first 8-bit group. If it is 1, the frame is addressed to a group of stations. In hex terms, the second digit of the address is odd.

How do I recognize a randomized or locally administered MAC?

The second bit from the right in the first group is 1 and the rightmost is 0. In hex, the second digit is 2, 6, A or E. Phones and laptops use such addresses when they randomize their Wi-Fi identity.

Does this tool tell me the vendor of a MAC address?

No. It converts hex to binary and does not include the IEEE registry of manufacturer prefixes. You can still see the 24-bit prefix: it is the first three groups of the output.

Why is a dotted address accepted but one with spaces is not?

Dots, colons and hyphens are stripped before the length check, so 001a.2b3c.4d5e passes. Spaces inside the value are not stripped, and the 12-digit test fails. Replace the spaces with colons or delete them.

Is the address sent to a server?

No. The conversion is a few lines of JavaScript that run in the page, so the hardware addresses of your devices are not transmitted or logged.

Related tools