MAC Address Generator |
Never generate these (paste addresses already in use)
Example: 10 random private MAC addresses. Choose your options and click Generate.
How to Generate Random MAC Addresses
A MAC address generator makes random 48-bit hardware addresses for virtual machines, lab networks, test data and documentation. By default it makes private (locally administered) unicast addresses, whose second hex digit is 2, 6, A or E, so they are not globally unique, manufacturer-assigned addresses.
Pick the type, the quantity (up to 1,000), the format and the case, then copy or download the list. Tick the IPv6 option to add, next to each MAC, the IPv6 link-local address (fe80::) a device forms from it with EUI-64. Links like /mac-address-generator?mode=vendor&prefix=3C:22:FB&count=50 open with those settings. To put an address on a device, see how to change your MAC address.
Which Type of MAC Address to Generate?
Use random private addresses for anything you assign yourself, your hypervisor's prefix for virtual machines, and documentation-only addresses in examples; keep a vendor prefix only when software expects a given maker's addresses.
| Type | What you get | Good for |
|---|---|---|
| Random private | Unicast, locally administered: second hex digit 2, 6, A or E; the other 46 bits random | Virtual machines, containers, lab networks, sample configs, a spare address for a network card |
| Virtual machine | Your hypervisor's prefix, the rest random (VMware: kept in 00:50:56:00:00:00–3F:FF:FF) | A static address for a VM that the hypervisor and DHCP rules recognise |
| Documentation only | 00:00:5E:00:53:00 to 00:00:5E:00:53:FF (256 addresses, RFC 9542) | Docs, tutorials, screenshots, sample configs: set aside for documentation, so no manufacturer assigns them to a device |
| Vendor prefix | Your 6-digit OUI (or 7-digit MA-M, 9-digit MA-S prefix), the rest random | Test data that must look like one maker's devices, for parsers, inventories and MAC lookup tests |
A vendor prefix belongs to the company the IEEE assigned it to, so an address made with one can match a real device's. Use those only on networks and in data you control.
MAC Address Format and Examples
A MAC address is 12 hex digits (0–9, A–F), usually written as six pairs. The same address has four common spellings, and capitals don't matter; this generator makes all four.
| Format | Example | Where you see it |
|---|---|---|
| Colon | 3C:22:FB:12:34:56 | Most systems |
| Hyphen | 3C-22-FB-12-34-56 | Windows |
| Cisco dot | 3c22.fb12.3456 | Cisco devices |
| Plain | 3C22FB123456 | The Windows "Network Address" field |
Example of a manufacturer's address: 3C:22:FB:12:34:56 (3C:22:FB is an Apple prefix). Example of a private, locally administered one: B2:D6:E4:D0:8F:7A. Example of a multicast address, never a device's own: 01:00:5E:00:00:01.
How to Read the First Byte of a MAC Address
The two lowest bits of the first byte say what kind of address it is: the lowest bit is unicast (0) or multicast (1); the next one is a manufacturer's address (0) or a locally administered one (1).
| Second hex digit | Kind | Example |
|---|---|---|
| 0, 4, 8, C | Unicast, assigned by a manufacturer (globally unique) | 3C:22:FB:… |
| 2, 6, A, E | Unicast, locally administered: what this generator makes by default | B2:D6:E4:… |
| 1, 3, 5, 7, 9, B, D, F | Multicast (group): never a device's own address | 01:00:5E:… |
Android uses the same rule for its private (randomized) Wi-Fi addresses: it sets the locally administered bit, clears the multicast bit and randomizes the other 46 bits. To see who made a device from its address, use the MAC address lookup; for the basics, read what is a MAC address.
Which MAC Address Should a Virtual Machine Use?
Let the hypervisor assign one unless you need a fixed address; then stay in its prefix, and for VMware in its manual range, 00:50:56:00:00:00 to 00:50:56:3F:FF:FF.
| Hypervisor | Prefix | Note |
|---|---|---|
| VMware | 00:50:56 | Manual addresses must have a 4th byte from 00 to 3F; set ethernet0.addressType = "static" and ethernet0.address in the .vmx file. |
| QEMU / KVM (libvirt) | 52:54:00 | The prefix libvirt uses for the addresses it makes; a locally administered prefix (second digit 2), so it isn't registered to anyone. In the domain XML: <mac address='52:54:00:…'/>. |
| VirtualBox | 08:00:27 | Registered to PCS Systemtechnik; the prefix VirtualBox gives new adapters (versions up to 7.2). |
| Hyper-V | 00:15:5D | Microsoft's prefix; by default the next two bytes come from the last two bytes of the host's IP address, and the last byte runs from 00 to FF (256 dynamic addresses per host). |
| Xen | 00:16:3E | Registered to XenSource. |
Two VMs with the same address on one network can break each other's connection, so paste the addresses already in use under "Never generate these" before you pick one.
How This Generator Works
| Item | Detail |
|---|---|
| Where it runs | In your browser; nothing is sent to our server. |
| Randomness | Your browser's secure generator (crypto.getRandomValues). |
| Random private | 48 random bits; then the multicast bit is cleared and the locally administered bit set. |
| Virtual machine | The hypervisor's 3-byte prefix, then 3 random bytes; for VMware the 4th byte is limited to 00–3F. |
| Documentation only | 00:00:5E:00:53 plus a random last byte (RFC 9542, section 2.1.4). |
| Second digit 2 only | Also clears the two bits IEEE 802c uses to pick a local quadrant, giving the AAI quadrant that RFC 9542 says is meant for random assignment. |
| Never generate these | Every MAC address found in the pasted text (any of the four formats) is skipped. |
| Vendor prefix | Your 6, 7 or 9 hex digits, then random digits up to 12; a multicast prefix is refused. |
| IPv6 link-local | fe80:: plus the modified EUI-64 interface ID: the locally administered bit flipped and ff:fe inserted in the middle (RFC 4291, appendix A). |
| Limits | Up to 1,000 addresses per list; "No duplicates" keeps each address once in the list. |
| Last verified | 24 November 2026 |
Frequently Asked Questions
How do I generate a random MAC address?
What is an alternate MAC address?
What is the alternate MAC address on Xbox?
Is a random MAC address valid?
Can a random MAC address hide my device?
How do I generate MAC addresses with a vendor prefix?
Can two random MAC addresses be the same?
arp -a or your DHCP leases.Which MAC address should a virtual machine use?
What MAC addresses are safe to use in documentation?
Next steps