Free MAC Address Generator

Generate random MAC addresses instantly, up to 1,000 at once: locally administered by default, or from a vendor's block or a VM's range, every bit explained.

IEEE registry synced Oct 18, 2026 · RFC 9542 · made in your browser, with crypto.getRandomValues or your seed

The coloured digit is the second hex digit: its last two bits are the U/L and I/G flags.

802c quadrant
Local · unicast

Locally administered unicast: safe for tests, VMs and labs, and never a maker's address.

Anatomy44 random bits · 4 fixed bits
02ADC86E08C1
1U/L · local0I/G · unicast00Z Y · AAI

Hover or tap a digit to read its bits

Made in your browser with crypto.getRandomValues; nothing is sent.

Optional: 1 to 5 octets fixed at the start.
Seed
Never makeAddresses already in use

Your phone's private Wi-Fi address? Phones make their own: see each systemCheck any address in MAC Lookup

What is a MAC address generator?

A MAC address generator, or MAC generator for short, makes valid 48-bit hardware addresses for virtual machines, test data and labs. Generate MAC addresses one at a time or a thousand at once. This one draws them with your browser's cryptographic random generator, or repeatably from a seed you choose, and sets the two flag bits so each address is what you asked for: locally administered unicast unless you pick a vendor, a virtual machine, multicast or the documentation range.

Valid means three things: 48 bits (12 hex digits), the I/G bit clear so it names one interface, and the U/L bit right for the job. No registry can confirm more than that: a locally administered address belongs to no maker, and whoever uses it keeps it unique on their own network.

Every address is made on this page; none is sent anywhere. Pick Vendor or Virtual machine only when you need that block: those addresses sit inside a company's real assignment, and a vendor search sends the company name you type so we can look up its IEEE blocks.

One address, bit by bitIEEE 802 · RFC 9542
  • random: drawn in your browser
  • Z Y = 0 0: the AAI quadrant
  • U/L = 1: locally administered
  • I/G = 0: unicast, one interface
02:4F:9A:1C:77:E3, an address of the kind this page makes on arrival. The first octet 02 is 0000 0010: its last two bits make it locally administered unicast, so its second hex digit is 2.
MAC address generator: a random locally administered address with its 48 bits, flag bits and 802c quadrant markedMAC address generator: a random locally administered address with its 48 bits, flag bits and 802c quadrant markedPick a kindRandom local by default; a vendor's block, a hypervisor's range, multicast or the documentation range.The addressClick it to copy. The coloured digit carries the U/L and I/G flags.Every bitThe anatomy shows which bits are fixed, which are random, and what the flags say.This addressType, quadrant, holder, the chance of a repeat, every notation and a ready command.Up to 1,000Different every time, as text, CSV or JSON, with a seed to make the same list again.
A random locally administered address taken apart: the flag digit, the 802c quadrant, the random bits and the column with every notation. Select a number to see what each part shows.

When do you need a random MAC address?

Reach for a random MAC address generator when something needs an address that no real device has: a virtual machine, a lab switch, a container network, a test fixture. Random locally administered addresses are made for exactly that: no maker is ever assigned one, so none can be a real device's burned-in address.

Phones and laptops make random addresses too, for privacy on Wi-Fi. That is the operating system choosing its own address for each network; the private Wi-Fi section below shows how each system does it.

Two jobs are exceptions. A virtual machine is often best in its hypervisor's own range, which the hypervisor recognises, and hardware you ship needs a block bought from the IEEE. A random address only has to be unique where it is used: inside one network, not worldwide.

Which address for which job
  • Docs, screenshots and test fixturesReserved so examples never collide with real devices.The documentation range00:00:5E:00:53:5A
  • A lab, a test rig, a container networkAny second digit 2, 6, A or E; 2 (AAI) where SLAP is followed.Random local42:79:4A:D5:C6:02
  • A virtual machine on your networkVMware Workstation and Fusion accept only their manual range.Its hypervisor's range, or random local00:50:56:19:CC:19
  • A new address for your own adapterA local address overrides the burned-in one; drivers and systems allow it.Random local only92:CA:60:D5:42:B0
  • Hardware you sellOnly an assignment makes addresses unique worldwide.Your own IEEE blockMA-L · MA-M · MA-S
  • A multicast groupGroup addresses come from the protocol: this one is mDNS on IPv4.That protocol's group address01:00:5E:00:00:FB
The kind each job needs, each with an address this generator made for it. Only hardware you sell needs a block from the IEEE; everything else fits the local half of the address space.

What is the MAC address format?

A MAC address is 12 hexadecimal digits, 48 bits, usually written as six pairs. The pairs are joined by colons on Linux and macOS (02:4f:9a:1c:77:e3), by hyphens on Windows (02-4F-9A-1C-77-E3), or written as three groups of four on Cisco equipment (024f.9a1c.77e3).

All of them are the same address. Case doesn't matter, and most software reads every notation; a few tools want the bare 12 digits, such as VirtualBox's VBoxManage and Hyper-V's PowerShell. The IEEE writes addresses with hyphens and calls that the hexadecimal representation.

One address, five ways to write it48 bits each
FormatThe same addressCharactersWho writes it this way
Colon02:4f:9a:1c:77:e317Linux, macOS, Android, Xen
Hyphen02-4F-9A-1C-77-E317Windows; the IEEE and the IETF write it this way
Cisco dot024f.9a1c.77e314Cisco IOS: three groups of four
No separator024F9A1C77E312VirtualBox, Hyper-V, code and databases
Space02 4F 9A 1C 77 E317Hex dumps and some printed labels

Reads all of them, either case^[0-9A-Fa-f]{2}([:\- ]?)(?:[0-9A-Fa-f]{2}\1){4}[0-9A-Fa-f]{2}$|^([0-9A-Fa-f]{4}\.){2}[0-9A-Fa-f]{4}$

The example address in each notation. Software reads all of them and either case; the generator's Format switch and the column's Written as rows give each one ready to copy.

Locally administered or universal: which bit decides?

A locally administered MAC address has the U/L bit set: bit 1 of the first octet. You can see it in the second hex digit, which is 2, 6, A or E for local unicast addresses. A universally administered address has the bit clear and comes from a block the IEEE assigned to one company.

The IEEE never assigns an address with the local bit set, so a local address can't equal any device's burned-in address. That is why this generator defaults to local unicast. It doesn't make the address unique by itself: whoever assigns local addresses keeps them unique on their own network.

IEEE 802c divides local addresses into four quadrants by the next two bits, and RFC 9542 sets out the table. Random addresses belong in AAI, second digit 2, which is this page's default. SLAP is optional and nothing on the wire says whether a network follows it. A 2, 6, A or E on a Wi-Fi network is often a phone's privacy address, but it is no more than a guess: every locally administered address starts that way, including the ones this page makes and the ones virtual machines use.

What the second hex digit saysthe first octet's low four bits
  • U/L bit 1 of the first octet: 0 universal (an IEEE block), 1 local
  • I/G bit 0: 0 one interface, 1 a group
  • Z Y pick the 802c quadrant of a local address: AAI, ELI, SAI or reserved
Every possible second digit and what it means. Local unicast is 2, 6, A or E; within it, IEEE 802c gives 2 to administrators and random generators (AAI), A to Company ID holders (ELI), E to IEEE protocols (SAI) and keeps 6 reserved. The ringed 2 is the second digit of the example address 02:4F:9A:1C:77:E3.

Unicast or multicast: what is the difference?

A unicast MAC address names one network interface; a multicast address names a group, and every interface that joined the group accepts frames sent to it. Bit 0 of the first octet decides which: 0 for unicast, 1 for multicast, so an odd second hex digit means multicast.

A device can't use a multicast address as its own. Protocols take their group addresses from fixed mappings: IPv4 multicast in 01:00:5E:00:00:00 to 01:00:5E:7F:FF:FF, IPv6 multicast in 33:33 followed by the last 32 bits of the group. FF:FF:FF:FF:FF:FF is broadcast, the group of everyone.

This generator's Multicast kind makes random local group addresses (second digit 3, 7, B or F) for testing switches and filters. For a real protocol, use that protocol's own group address.

One frame: one interface or a whole groupbit 0 of the first octet
Unicast · I/G 002:4F:9A:1C:77:E3one interface takes it; the others drop it
Multicast · I/G 101:00:5E:00:00:FBevery member of the group (here mDNS) takes it
  • FF:FF:FF:FF:FF:FFBroadcast: every device on the network
  • 01:00:5E:00:00:01IPv4 group 224.0.0.1 · all hosts
  • 01:00:5E:00:00:FBIPv4 group 224.0.0.251 · mDNS
  • 33:33:00:00:00:01IPv6 group ff02::1 · all nodes
  • 01:80:C2:00:00:0ELLDP, switch discovery
  • 01:80:C2:00:00:00Spanning Tree bridges
Linux refuses a group address on an interface
$ ip link set dev eth0 address 03:4f:9a:1c:77:e3
Cannot assign requested address
A unicast frame is for one interface; a multicast frame for every interface that joined the group. IPv4 groups map into 01:00:5E, IPv6 groups into 33:33.

Which MAC address should a virtual machine use?

Hypervisors give virtual adapters addresses from their own prefix, so a VM's address tells you what made it. Most use a universally administered block registered to the vendor; libvirt's 52:54:00 and Docker's random addresses are locally administered.

For a static address, stay inside the hypervisor's range or use a random local one. VMware is the strict case: Workstation and Fusion accept only 00:50:56:00:00:00 to 00:50:56:3F:FF:FF, with two lines in the .vmx: ethernetN.address = "00:50:56:12:34:56" and ethernetN.addressType = "static" (VMware's documentation). The presets above follow each hypervisor's rule.

Where each hypervisor's addresses come fromprefix · who assigns
HypervisorPrefixBlockWho assigns it
VMware (manual)00:50:56:00–3FuniversalYou, in the .vmx, with addressType = "static"
VMware vCenter00:50:56:80–BFuniversalvCenter, by its server ID
VMware ESXi host00:0C:29universalThe host, from the VM's UUID
VirtualBox08:00:27universalVirtualBox, 3 bytes from a GUID
Hyper-V00:15:5DuniversalThe host: 256 addresses per host by default
QEMU/KVM (libvirt)52:54:00locallibvirt, 3 random bytes; QEMU's own start at :12:34:56
Proxmox VEBC:24:11universalProxmox, its own block; extend it per cluster
Xen00:16:3EuniversalThe xl toolstack
Parallels00:1C:42universalRegistered to Parallels; its documents don't name it
Docker 28 and laterrandomlocalDocker: 46 random bits; up to version 27, 02:42 and the IPv4
00:50:56 · the fourth octet
00–3F manual40–7F80–BF vCenterC0–FF
Each preset on this page draws from its hypervisor's first row. VMware's manual range is a quarter of its 00:50:56 block: what Workstation and Fusion accept for a static address, apart from the 80–BF part vCenter hands out.

What is a private Wi-Fi address?

Phones and laptops use a private Wi-Fi address, a random locally administered address chosen for each network, so places they join can't follow one hardware address around. You don't type it in: each system has its own MAC address randomizer built in, and the table below names the switch and what it changes.

To find which company made a device behind a private address, look up its hardware address instead; MAC Lookup explains where each system shows it, and why a private address shows no vendor.

How each system picks its Wi-Fi addressset on the device, not here
iPhone, iPad, Mac“Private Wi-Fi Address”
Choices
Off · Fixed · Rotating (iOS 18, macOS 15)
Default
Fixed on WPA2 and better; Rotating every 2 weeks on open or weak networks
Since
iOS 14 · macOS 15
Android“Use randomized MAC”
Default
On since Android 10, one address per network
Changes
Kept until a factory reset; open networks may re-randomize where the maker allows it
Since
Android 10
Windows“Random hardware addresses”
Toggles
One for all networks, one per known network
Needs
Wi-Fi hardware that supports it
Where
Settings › Network & internet › Wi-Fi

A second digit of 2, 6, A or E is a hint that a device made its own address, not proof. Check an address in MAC Lookup

The setting's name on each system, its default and when the address changes, from Apple's, Google's and Microsoft's own pages. A generated address is not how these work: the device makes and keeps its own.

How do you build an IPv6 address from a MAC address?

A host can build the last 64 bits of an IPv6 address from its MAC address: split the address in half, insert FF:FE, and invert the U/L bit. This is modified EUI-64, defined in RFC 4291; the bit is inverted so that short hand-written IDs like ::1 count as local.

It is no longer the default. RFC 8064 says hosts should not put a stable hardware address in their IPv6 addresses, and current systems use random or hashed interface IDs instead, so an IPv6 address rarely shows the MAC now.

To work the other way, shorten an IPv6 address to its canonical form, or map an IPv4 address into IPv6.

From a MAC address to an IPv6 addressRFC 4291 Appendix A
  1. Split the address in half02:4F:9A | 1C:77:E3
  2. Insert FF:FE in the middle02:4F:9A:FF:FE:1C:77:E3
  3. Flip bit 1 of the first octet: 02 → 0000000010 → 00000000
  4. The interface ID4f:9aff:fe1c:77e3
  5. Link-local addressfe80::4f:9aff:fe1c:77e3
Modified EUI-64 from 02:4F:9A:1C:77:E3: the inserted FF:FE and the flipped U/L bit are what make it recognisable. The generator's EUI-64 → IPv6 tab shows the same for any address it makes.

Can two devices get the same random MAC address?

Yes, but with random locally administered addresses it is very unlikely: 1,000 addresses picked independently have about a 1 in 35 million chance of containing a repeat in the AAI quadrant. The risk grows fast when fewer bits are random: with a fixed vendor prefix, 1,000 addresses repeat with a chance of about 3%.

A repeat only matters inside one network, where two interfaces with the same address confuse switches. Lists from this page are all different, and the Never make box keeps out addresses you already use, pasted from arp -a or your DHCP leases.

Chance of at least one repeatbirthday bound
Addresses drawn fromPossible100 picked1,000 picked10,000 picked50% at
Random local, AAI (this page's default)1.76 × 10131 in 3.6B1 in 35M1 in 350K4,937,811
Random local, any quadrant (phones, Docker)7.04 × 10131 in 14B1 in 140M1 in 1.4M9,876,529
One vendor block (MA-L)16,777,2161 in 3.4K2.9%95%4,823
VMware's manual range4,194,3040.12%11%≈ 100%2,412
A 4-octet prefix65,5367.3%≈ 100%≈ 100%302
A 5-octet prefix256≈ 100%impossibleimpossible20
For addresses picked independently, as hosts that choose their own do. Spaces are the generator's own counts, avoided prefixes taken out. A list made here never repeats inside itself: the generator checks every address.

MAC address generator: questions and answers

How do I generate a random MAC address?

Open this page: a random locally administered unicast address is ready to copy, and New address makes another. Choose how many you need, up to 1,000, a format such as colons or hyphens, and optionally a vendor, a hypervisor or a fixed prefix. Everything is made in your browser, with crypto.getRandomValues or from a seed you choose, so no address is sent anywhere.

What is a locally administered MAC address?

It is an address with the U/L bit set, bit 1 of the first octet, so its second hex digit is 2, 6, A or E. The IEEE never assigns such addresses to manufacturers, so they are free for virtual machines, labs and privacy features. Whoever assigns one must keep it unique on their own network.

Why does the second digit have to be 2, 6, A or E?

Those four digits are the only ones with the U/L bit set and the I/G bit clear: a locally administered unicast address. An odd digit would make it multicast, which no interface can use as its own address; 0, 4, 8 or C would put it in the universal space, where the IEEE hands out blocks to companies: the address may land in a real company's block, or in a part that has not been assigned to anyone.

Is a random MAC address valid?

Yes, if it has 48 bits, the I/G bit clear and the U/L bit right for its use. Every address this page makes in its Random local kind meets all three. It is not a fake MAC address copied from a real device: the standard reserves these for you to assign yourself. No registry lists local addresses, so what matters is that no other interface on the same network uses it.

Can I use a generated MAC address on my virtual machine?

Yes. A random local address works on every hypervisor. VMware Workstation and Fusion are stricter for static addresses and accept only 00:50:56:00:00:00 to 00:50:56:3F:FF:FF, which the VMware preset uses. Pick your hypervisor under Virtual machine and the column shows the setting or command to apply it.

Which MAC address range does VMware use?

VMware holds the 00:50:56 block. Addresses you set by hand must be 00:50:56:00:00:00 to 00:50:56:3F:FF:FF, with addressType set to static in the .vmx file. vCenter assigns 00:50:56:80 to BF on its own, and ESXi hosts not managed by vCenter generate addresses under 00:0C:29 from each VM's UUID.

What is a multicast MAC address?

It is an address with the I/G bit set, so its second hex digit is odd. Frames sent to it reach every interface that joined the group. IPv4 multicast uses 01:00:5E followed by 23 bits of the group address, IPv6 uses 33:33 and the group's last 32 bits, and FF:FF:FF:FF:FF:FF is broadcast.

What is the documentation MAC address range?

RFC 9542 reserves 00-00-5E-00-53-00 to 00-00-5E-00-53-FF for unicast examples and 01-00-5E-90-10-00 to -FF for multicast ones, like 192.0.2.0/24 for IPv4. Use them in documentation, screenshots and test fixtures so an example never matches a real device. The Documentation kind draws from this range.

Can two devices have the same MAC address?

They can, and on one network it causes trouble: switches send each device's traffic to the wrong port. With random local addresses it is very unlikely, about 1 in 35 million for 1,000 addresses. Addresses inside one vendor block or under a long prefix repeat much sooner; the table above gives the odds.

Can I change my device's MAC address?

Usually, yes: it is a normal setting, often called a MAC address change or, in older guides, a spoofed MAC address. Operating systems already use private addresses on Wi-Fi, and network drivers and hypervisors let you type your own locally administered address. Using a changed address to get around a network's access rules is a different matter and can break that network's terms of use, as some public Wi-Fi providers' terms say.

What is an alternate MAC address?

It is an address set in software in place of the one built into the network adapter: a locally administered address that overrides the burned-in one. Network adapters, routers and some consoles have a field for it. A random local address from this page fits such a field; keep it unique on your network.

Are the addresses made here sent anywhere?

No. They are made in your browser, with crypto.getRandomValues or from a seed you choose, and no address you generate or paste ever leaves your browser. One request does leave the page: a vendor search sends the company name you type, to find its IEEE blocks. A link you copy carries your settings, such as the kind and count, and the seed when you turn one on, but it travels only if you share it.

Missing something?Suggest a feature or a new tool