Six octets, lowercase, colon-separated
A MAC address is six octets (48 bits total) usually written as six lowercase hex pairs separated by colons. The generator draws each octet uniformly over 0x00-0xff, formats it as a zero-padded two-digit hex pair, and joins them with colons. Output is one address per line.
There is no filtering of OUI prefixes (the first three octets normally identify the vendor). The first octet can have any value, including the multicast bit and the locally-administered bit, set or unset. If your test needs a specific vendor prefix, take the last three octets from the generator and prepend the OUI using the find and replace tool.
Use these for synthetic fixtures rather than for real-world hardware. For random IPv4 addresses see the random IP generator; for arbitrary hex strings see the random string generator.
How to use random mac address generator
- 1Open the tool. The input panel can be left empty.
- 2Set Count in the option panel (default 10, maximum 200).
- 3The output panel fills with that many MAC addresses, one per line.
- 4Click Copy to grab the list.
- 5Click Download to save the result as a plain-text file.
Keyboard shortcuts
Drive TextResult without touching the mouse.
| Shortcut | Action |
|---|---|
| Ctrl F | Open the find & replace panel inside the input Plus |
| Ctrl Z | Undo the last input change |
| Ctrl Shift Z | Redo |
| Ctrl Shift Enter | Toggle fullscreen focus on the editor Plus |
| Esc | Close find & replace, or exit fullscreen |
| Ctrl K | Open the command palette to jump to any tool Plus |
| Ctrl S | Save current workflow draft Plus |
| Ctrl P | Run a saved workflow Plus |
What this tool actually does
Six colon-separated octets
Output format is xx:xx:xx:xx:xx:xx, lowercase, two hex digits per octet, five colons. Total length 17 characters per address.
Each octet is independent and uniform
Each of the six octets is drawn independently from the uniform distribution on 0x00-0xff. There is no correlation, no de-duplication, no OUI awareness.
No OUI filtering
The first three octets are not constrained to a registered vendor prefix. If you need a real vendor, splice it onto the front of the output.
Bulk count up to 200
Count ranges from 1 to 200. Each address is independent; duplicates are vanishingly unlikely in any reasonably small batch.
Browser-only
Generated via Math.random() per octet, padded to two hex digits, joined with colons. No upload.
Worked example
Five MAC addresses, lowercase hex, colon-separated. The first three octets are not aligned to any real vendor OUI; if you need a real prefix, splice it on after copying.
Count: 5
a4:7c:91:3e:b2:08 00:1f:5b:c4:9d:a2 fe:dc:8a:71:0e:55 3b:90:42:ec:7f:11 6c:1a:b8:25:d3:7e
Settings reference
| Option | Effect on output |
|---|---|
| Count | How many MAC addresses to emit. Default 10, minimum 1, maximum 200. One per line. |
| Format | Lowercase hex, colon-separated, zero-padded. xx:xx:xx:xx:xx:xx. |
| Octet range | Each of six octets is uniform on 0x00-0xff (256 values). |
| OUI / vendor prefix | Not filtered. The first three octets are random. |
| Multicast / local bits | Not enforced. The two flag bits in the first octet can take any value. |
| Random source | Math.random(). |
FAQ
Can I pick the vendor OUI?
^..:..:..: with 00:1A:2B:.Will the generator set the locally-administered bit?
Why colons instead of dashes?
aa-bb-cc-dd-ee-ff) or the Cisco dotted form (aabb.ccdd.eeff), run the result through the find and replace tool.