Boneyard Tools

Random MAC Address Generator

Generate random MAC addresses for network labs, unit tests, DHCP mock data and firewall rule samples. Each of the six octets is drawn at random, then the first octet is adjusted so the locally administered and multicast flags match your choices. Pick colon or hyphen separators, upper or lower case, and produce up to 100 addresses in a single click.

How to generate a random MAC address

  1. Choose the separator: a colon (02:11:22...) or a hyphen (02-11-22...).
  2. Set how many addresses you want, from 1 up to 100.
  3. Tick Uppercase for AA:BB style hex, or leave it off for lowercase.
  4. Keep Locally administered on so the address cannot clash with real vendor hardware.
  5. Tick Multicast only if you need a group address; leave it off for a normal unicast address.
  6. Click Generate, then copy one row or use Copy all for the whole list.

Examples

Locally administered, lowercase, colons

Separator colon, lowercase, locally administered on, multicast off
A fresh address each click whose first octet ends in 2, 6, a or e, such as 8a:3f:1c:d0:47:9b

Uppercase with hyphens, multicast off

Separator hyphen, uppercase, locally administered off, multicast off
A vendor-style unicast address such as F4-2A-6B-01-9E-D3

Multicast group address

Separator colon, lowercase, locally administered on, multicast on
A group address whose first octet ends in 3, 7, b or f, such as 03:88:1f:2a:c4:6e

Frequently asked questions

What is a MAC address?

A MAC address is a 48-bit hardware identifier for a network interface, written as six pairs of hex digits like 02:11:22:ff:80:ab. It identifies a device on a local Ethernet or Wi-Fi segment, separate from the IP address that routes traffic between networks.

What does locally administered mean?

Bit 1 of the very first octet is the locally administered flag. When set, it declares that the address was assigned by software or an administrator rather than burned in by a manufacturer. The tool sets this bit by default so generated addresses cannot collide with a real vendor prefix.

Why does the first pair only end in certain digits?

The two low bits of the first octet are reserved for flags, so the second hex digit is constrained. With locally administered on and multicast off it is 2, 6, a or e; turn multicast on and it becomes 3, 7, b or f. The other five octets are fully random.

What is the multicast bit?

Bit 0 of the first octet is the multicast or group bit. When it is set the frame is meant for a group of receivers rather than one. Leave it off for a normal unicast address, which is what a single network card uses.

Are these MAC addresses guaranteed unique?

No. They are random, so a repeat is extremely unlikely across a small batch but never impossible. Treat them as throwaway values for testing and mock data, not as permanent identifiers you register to hardware.

How many can I create at once, and how do I copy them?

You can generate 1 to 100 addresses per click. Each row has its own copy button, and Copy all puts the entire list on your clipboard as newline-separated lines, ready to paste into a spreadsheet or config file.

Colon or hyphen: which separator should I use?

It is cosmetic and depends on where the value goes. Linux and macOS tools usually show colons, while Windows and some vendor consoles show hyphens. Both forms describe the same six octets and are widely accepted.

Can I use one of these to spoof my real MAC address?

This tool only produces values; it does not change any network adapter. Setting a locally administered address is a legitimate privacy and testing technique, but do it through your operating system settings and follow your own network policy.

Is anything sent to a server?

No. Generation runs entirely in your browser using the built-in random source, so nothing is uploaded or logged. You can even disconnect from the network and it still works.

Learn more

Related tools