About the Random MAC Address Generator
A MAC address is the 48-bit hardware address of a network interface, written as six pairs of hexadecimal digits such as 02:1A:2B:3C:4D:5E. This generator creates random MAC addresses for virtual machines, containers, lab networks, software tests, documentation and privacy features. By default it sets the locally administered bit and clears the multicast bit, which is how addresses that you make up yourself should look so that they never clash with a real manufacturer's range and behave like an ordinary device on the network. You can choose the separator style, capital or small letters and other address types.
Updated October 2026
How to use the Random MAC Address Generator
- 1Choose how many addresses you want.
- 2Pick the style: colons, hyphens, Cisco dots or no separator.
- 3Choose the address type. Locally administered is right for private use.
- 4Tick capital letters if you prefer them.
- 5Press Generate, then copy or download the list.
Formats compared
- Colons: 02:1A:2B:3C:4D:5E, used by Linux, macOS and most tools.
- Hyphens: 02-1A-2B-3C-4D-5E, used by Windows.
- Cisco dots: 021a.2b3c.4d5e, used on Cisco devices.
- Plain: 021A2B3C4D5E, handy in databases.
- Letters can be capital or small.
Reading the first byte
Write the first byte in binary. The last bit tells you whether the address is for one device (0, unicast) or a group (1, multicast). The bit before it tells you whether the address is globally unique from the manufacturer (0) or locally assigned (1). A byte such as 02 is 00000010 in binary, so it is unicast and locally administered, a safe choice for invented addresses.
If you manage virtual machines, give each one a distinct address and keep the list. Hypervisors usually assign addresses from their own reserved ranges, and mixing in addresses made up by hand can cause rare clashes that are hard to track down. Record which address belongs to which machine, and when you clone a machine, change its address, because two copies on the same network with the same address cause dropped connections that look like random network trouble.
For privacy, modern phones and laptops can use a different random MAC address for each Wi-Fi network, so that shops and public networks cannot track the device across places. These randomised addresses are locally administered, just like the ones this generator creates by default. If you find a device with an address whose second digit is 2, 6, A or E, there is a good chance it is using this privacy feature rather than its factory address.
Common uses
Network labs need dozens of virtual interfaces with distinct addresses. Developers test code that parses and stores MAC addresses. Documentation writers need examples that don't point at real equipment. Security researchers test how devices respond to unknown addresses. In every case, locally administered addresses avoid any chance of impersonating real hardware.
Related tools
The IP Subnet Calculator helps plan networks, the Random IP Address Generator makes test addresses, the Random Hex Generator creates general hex values and the Number Base Converter changes between binary and hex.
Features
- Colon, hyphen, Cisco dot and plain styles
- Locally administered unicast by default
- Universal-looking and fully random options
- Multicast option for tests
- Up to 1,000 addresses
- Secure browser randomness
Frequently asked questions
What is a MAC address?
A media access control address identifies a network interface on a local network. It has 48 bits, usually shown as 12 hexadecimal digits. The first half identifies the manufacturer for real hardware and the second half is a serial number.
What does locally administered mean?
The second-lowest bit of the first byte marks an address that was assigned by an administrator or software rather than by the manufacturer. Virtual machines and privacy features use such addresses so they don't clash with real hardware.
Why is the second hex digit often 2, 6, A or E?
Those digits have the locally administered bit set and the multicast bit clear. An address starting with 02, 06, 0A or 0E (and similar) is a locally administered unicast address, exactly what you want for a made-up device.
What is a multicast MAC address?
An address whose lowest bit is set, used to send frames to a group of devices. Normal devices should not use one as their own address, so leave the multicast option off unless you are testing.
Can I change my real MAC address with this?
The generator only makes the numbers. Some systems let you set a random address for privacy, for example on Wi-Fi, but changing your device's address may break network rules, so check your system and network policy first.
Is it safe to use a random MAC on a real network?
A random locally administered address is unlikely to collide, but two devices with the same address on one network cause problems. Keep a record of addresses you assign, and don't use made-up addresses on networks you don't manage.