MAC Address Generator
Free online MAC address generator, no installation required. Batch generate random MAC addresses
About MAC Address Generator
Generates random MAC addresses using the Web Crypto API (crypto.getRandomValues), with optional prefix locking, separator selection, and case control. Up to 100 addresses can be produced per click, and a custom OUI prefix can be supplied so the first bytes match a specific vendor or device class.
How to Use
1. Optionally enter a Prefix (e.g. 00:1A) to lock the leading bytes; remaining bytes are filled randomly. 2. Set the Count (1-100). 3. Choose a Separator: colon (:), hyphen (-), dot (.), or none. 4. Toggle Uppercase on or off for hex letter case. 5. Click Generate, then Copy to copy all addresses joined by newlines.
Prefix Handling and Caveats
The prefix is normalized by stripping any :, -, or . characters before use, so 00:1A and 001A are equivalent. Only the leading bytes that fit within the prefix are locked; the remaining bytes of the 6-byte address come from crypto.getRandomValues. Note: the generator does not set the locally-administered or multicast bits, so generated addresses are not RFC 4122-compliant locally-administered MACs unless you choose a prefix that sets those bits yourself.
▶Are the generated MAC addresses guaranteed unique?
▶How does the prefix option work?
▶Does the tool set the locally-administered bit?
▶What separators are supported?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee