MAC address generator
Enter the quantity and prefix. MAC addresses will be generated in your chosen case (uppercase or lowercase)
About MAC address generator
Generates random MAC addresses, optionally starting with a prefix you choose, in upper or lower case and with the separator you need (colon, hyphen, dot or none). Up to 100 addresses at a time.
When you would use it
- Assigning addresses to virtual machines, containers or network simulators.
- Creating test data for inventory systems, DHCP configurations or parsers.
- Producing addresses within a given vendor prefix (OUI) for lab equipment.
How to use it
- Set the quantity (1 to 100) and, if needed, a prefix such as 64:16:7F.
- Choose upper or lower case and the separator.
- Copy the generated list, or refresh for a new one.
Things worth knowing
- The prefix can be given with any separator or none; it is normalised and the remaining bytes are filled randomly. A full 6-byte prefix yields that exact address.
- Without a prefix the first byte is fully random, so some addresses will be multicast (first byte odd) or marked as locally administered. For a unicast address that cannot clash with a real vendor, set a prefix whose second hex digit is 2, 6, A or E, for example 02:00:00.
- Randomness is not cryptographic here, which is fine for test data but not for anything security-sensitive.
- Quantity, prefix and separator are remembered in this browser.
Frequently asked questions
- Why does my hypervisor reject a generated address?
- Many hypervisors require a unicast, locally administered address and refuse multicast ones. Use a prefix such as 02:xx:xx or the vendor range your hypervisor documents (for example 52:54:00 for QEMU/KVM or 00:50:56 for VMware).
- What do the separators mean?
- Nothing technically; they are display conventions. Colons are usual on Linux and macOS, hyphens on Windows, and dotted groups of four digits (0000.0000.0000) on Cisco equipment.