MAC Address Generator
Generate random MAC addresses with optional OUI prefix in colon, hyphen, or dot notation formats.
MAC Address Generator tool
Example
Input: Format Colon, Uppercase, Count 1, Unicast and Locally administered on, then Generate
Result: One random address in the form XX:XX:XX:XX:XX:XX whose first byte ends in binary 10 (for example 02, 76, AE or F6)
The lowest bit of the first byte is 0 for unicast and the next bit is 1 for locally administered, so the address cannot clash with a vendor-assigned MAC. A new address is generated on every click.
What the First Byte of a MAC Address Means
| Address type | Last 2 bits of byte 1 | Second hex digit |
|---|---|---|
| Unicast, locally administered | 10 | 2, 6, A, E |
| Unicast, universally administered | 00 | 0, 4, 8, C |
| Multicast, locally administered | 11 | 3, 7, B, F |
| Multicast, universally administered | 01 | 1, 5, 9, D |
The generator default is the first row.
- Pick a format: colon (AA:BB:CC:DD:EE:FF), hyphen, Cisco dot or no separator, and choose upper or lower case.
- Optionally enter an OUI prefix (up to the first 3 bytes) to imitate a specific manufacturer.
- Set the Unicast and Locally administered toggles. They apply only when no OUI prefix is entered.
- Enter how many addresses you need, from 1 to 100.
- Click "Generate", then copy single addresses or use "Copy All" for the whole list.
Random MAC Addresses for Testing and VMs
This tool makes random 48-bit MAC addresses for labs, virtual machines, test data and documentation. By default each address is unicast and locally administered, so the last two bits of its first byte are 10 and it can never match an address a manufacturer burned into real hardware. You can create up to 100 at a time.
A MAC address is the hardware address a network card uses on the local network. It has six bytes, and the first byte holds two flag bits. Bit 0 says unicast (one device) or multicast (a group). Bit 1 says universally administered (set by the maker) or locally administered (set by you or your software). The two toggles control these bits, and the table below shows which second hex digit each choice produces.
If you need addresses that look like a real brand, enter an OUI prefix, the vendor part in the first three bytes. For example, 00:50:56 is registered to VMware. The tool copies the whole bytes you give it and fills the rest at random. The two toggles are then ignored, because the OUI already sets both bits. Borrowing a real vendor prefix can clash with genuine hardware on the same network, so keep it to test setups.
Pick colon (AA:BB:CC:DD:EE:FF), hyphen, Cisco dot (AABB.CCDD.EEFF) or no separator, in upper or lower case. The random bytes come from the crypto API in your browser. To check which company owns a prefix, paste it into the MAC Address Lookup.
Sources
Frequently Asked Questions
Related Tools
MAC Address Lookup
Look up the manufacturer or vendor associated with a MAC address using the OUI prefix database.
Network ToolsIPv4 Address Converter
Convert IPv4 addresses between decimal, binary, hexadecimal, and integer representations instantly.
Network ToolsIPv6 ULA Generator
Generate unique local IPv6 addresses (ULA) per RFC 4193 with cryptographically random prefixes.
Network Tools