Random MAC Address Generator

Developer

A random MAC address generator creates 48-bit (6-byte) MAC addresses with secure randomness and outputs them in colon, hyphen, or dot notation, with a locally-administered option that avoids clashing with real vendor addresses.

What is it

A MAC address is a 48-bit identifier for a network interface, usually written as six hex bytes like AA:BB:CC:DD:EE:FF. In the first byte, bit 1 (0x02) marks a locally administered address independent of any vendor OUI, and bit 0 (0x01) marks multicast. By default this tool sets the locally-administered and unicast bits so generated addresses stay out of real manufacturer ranges — the right shape for VMs, containers, and test fixtures. Randomness comes from crypto.getRandomValues and generation happens entirely in your browser.

MAC 48 bits = 24-bit OUI + 24-bit NIC · first byte bit1 (0x02) = locally administered, bit0 (0x01) = multicast

How to use

  1. 1Choose the count, separator (colon, hyphen, dot), and letter case.
  2. 2Keep the locally-administered bit on (recommended).
  3. 3Press generate, then copy or download the addresses.

Reference

Random MAC Address Generator Reference
TypeRuleExample
Locally administeredSecond hex digit of first byte is 2, 6, A, or E02:1A:2B:3C:4D:5E
Universal (vendor)OUI-based, bit1 = 000:1A:2B:3C:4D:5E
MulticastFirst byte is odd (bit0 = 1)01:00:5E:00:00:01
BroadcastAll bits setFF:FF:FF:FF:FF:FF

Sources & standards

FAQ

Can I use a generated MAC on a real network?

Addresses with the locally-administered bit set (second hex digit 2, 6, A, or E) are separated from vendor-assigned ranges and are exactly the format intended for VMs, containers, and test setups. Just avoid duplicates within the same network segment.

Does it look up the vendor (OUI)?

No. This tool only generates addresses. To identify the manufacturer of a real device, query the official IEEE registry.

Are generated addresses sent to a server?

No. They are produced with the browser's crypto.getRandomValues and never transmitted or stored.

Related tools