Random MAC Address Generator
Generate random MAC addresses for lab work and testing, in any common format. Choose locally-administered unicast bits so they never clash with real hardware. Everything is generated locally and never transmitted.
About MAC addresses
A MAC (Media Access Control) address is the 48-bit hardware identifier baked into โ or assigned to โ a network interface. It is written as six pairs of hexadecimal digits and works at the data-link layer, one level below IP, to deliver frames on the local network segment. Every Wi-Fi card, Ethernet port and virtual NIC has one.
The very first byte carries two important flags. The least-significant bit is the individual/group bit: 0 means unicast (one device), 1 means multicast. The next bit is the universal/local bit: 0 means a globally-unique, vendor-burned address, 1 means locally administered. This tool can force a locally-administered unicast address so your test MACs never collide with a real manufacturer's OUI.
Random bytes come from crypto.getRandomValues() in your own browser. No address is ever uploaded, logged, or stored โ the tool runs completely offline once the page has loaded.
Handy for
- Lab and CI testing where you need plausible but disposable hardware addresses.
- Virtual machines and containers that need unique NIC addresses.
- Privacy experiments and documentation examples.
Want to understand the format in depth? Read our guide on what a MAC address is, and see how MAC identifiers relate to tracking in browser fingerprinting. To convert a MAC you already have, try the MAC address formatter, or pair this with the random IP generator for full test fixtures.
Frequently asked questions
What is a MAC address?
A MAC address is a 48-bit hardware identifier assigned to a network interface, written as 12 hexadecimal digits such as 02:1a:2b:3c:4d:5e. It identifies a device on the local network segment, below the IP layer.
What do the locally-administered and unicast options do?
The first byte of a MAC contains two special bits. Setting the locally-administered bit marks the address as locally assigned rather than vendor-burned, and clearing the multicast bit makes it a unicast address. Enabling both produces addresses safe to use for testing that will not collide with real vendor OUIs.
Are these addresses generated privately?
Yes. Random bytes come from crypto.getRandomValues in your browser and never leave your device. Nothing is uploaded, logged, or stored, and the tool works offline.
Can I choose the format?
Yes. Pick colon, hyphen, Cisco dotted or bare format and upper or lower case. Generate a batch and use Copy all to grab the list.
Want the theory? Read the guides โ ยท Visit the zoo โ