Fake MAC address generator — locally administered, never a vendor's

The tool makes random MAC addresses with the "locally administered" flag switched on and the multicast flag off, so they are valid single-device addresses that can never collide with a real network card's factory address.

Live demo · real result from this tool

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use the fake MAC address generator

  1. Pick a Format: Colon (02:1a:…), Dash (02-1A-…), Cisco dot (021a.2b3c.4d5e) or No separator.
  2. Tick Uppercase if your system shows MACs in capitals. Lowercase is the default.
  3. Set How many addresses (up to 1,000) and press Generate.
  4. Copy the list.

What it does and when to use it

MAC addresses identify network interfaces on a local network. You need made-up ones when you configure virtual machines or containers, write DHCP reservations and switch configs for a lab, fill sample logs and inventory sheets, or test software that parses network data.

A truly random 48-bit value is not a good choice. It may copy a real vendor’s prefix, or it may have the multicast bit set, which makes it invalid for a single device. This tool fixes both bits, so every address is a proper unicast address in the space reserved for local use.

The format menu covers the usual spellings: colons for Linux and macOS, dashes for Windows, and dotted groups of four for Cisco switches. For IP addresses to go with your MACs, use the fake IP address generator. For raw random bytes, the random hex generator is simpler. For a complete sample dataset, see the bulk fake data generator.

How it works

The tool takes 6 random bytes from crypto.getRandomValues. In the first byte it clears the lowest bit (the multicast flag, so the address is unicast) and sets the next bit (the local flag). The first byte therefore always ends in binary 10, which in hex makes the second digit 2, 6, A or E. The other 46 bits stay random. The bytes are then written in the chosen format and case.

Worked examples

Sample output; your addresses will differ.

  • Colon, lowercase: e6:8f:00:dc:ea:3b and 72:ad:af:76:aa:d0. The second digits are 6 and 2.
  • Cisco dot, uppercase: FED8.6CE5.2780 and 8620.8AE9.44EC. Here the second digits are E and 6.

Under every list the tool adds the note that each address “is unicast with the locally administered bit set (second hex digit 2, 6, A or E)”.

Limits and tips

  • The tool cannot make factory-style addresses with a real vendor prefix. That is deliberate.
  • Some old or strict systems reject locally administered addresses. Test with the target system first.
  • In a lab, keep a list of the MACs you assign, because random values are hard to remember when you read logs later.

Frequently asked questions

What does "locally administered" mean?
Every MAC address has a flag bit that says who assigned it. Factory addresses are "universally administered" and start with a manufacturer's code. Addresses with the local flag set are chosen by software or an administrator, which is exactly what virtual machines, containers and phones with MAC randomisation do.
How can I tell a generated address apart?
Look at the second hex digit. In every address from this tool it is 2, 6, A or E. That pattern shows the local flag is set and the multicast flag is clear.
Can I use one to change my device's MAC address?
Technically, a locally administered unicast address is the right kind to use for that. Only do it on networks and devices you are allowed to configure. Using a changed address to get around a network's access rules or bans can break that network's terms or the law.
Will two generated addresses ever be the same?
46 of the 48 bits are random, so there are about 70 trillion possible addresses. Repeats within a normal batch are extremely unlikely, but the tool does not check for them.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close