Random MAC Address Generator

Random 48-bit MAC addresses in the standard colon-separated lowercase hex form (aa:bb:cc:dd:ee:ff). Set Count from 1 to 200; the output panel emits that many addresses, one per line. Each octet is uniform over 0-255 with no OUI filtering. For IPv4 addresses see the random IP generator.

Input
Line 1:1 LF cloud_done Saved locally
Result Random MAC Address
0 lines 0 chars

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

  1. 1Open the tool. The input panel can be left empty.
  2. 2Set Count in the option panel (default 10, maximum 200).
  3. 3The output panel fills with that many MAC addresses, one per line.
  4. 4Click Copy to grab the list.
  5. 5Click Download to save the result as a plain-text file.

Keyboard shortcuts

Drive TextResult without touching the mouse.

Shortcut Action
Ctrl FOpen the find & replace panel inside the input Plus
Ctrl ZUndo the last input change
Ctrl Shift ZRedo
Ctrl Shift EnterToggle fullscreen focus on the editor Plus
EscClose find & replace, or exit fullscreen
Ctrl KOpen the command palette to jump to any tool Plus
Ctrl SSave current workflow draft Plus
Ctrl PRun 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.

Input
Count: 5
Output
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?
Not from the option panel. Generate the addresses, take the last three octets of each, and prepend your OUI with the find and replace tool. For example, replace ^..:..:..: with 00:1A:2B:.
Will the generator set the locally-administered bit?
It might or might not. Each bit of the first octet is uniformly random, including the multicast bit and the locally-administered bit. If you need a specific bit set, fix it in post.
Why colons instead of dashes?
Colon-separated lowercase is the most common form on Linux, macOS, and most network gear. If your tooling needs the dashed Windows form (aa-bb-cc-dd-ee-ff) or the Cisco dotted form (aabb.ccdd.eeff), run the result through the find and replace tool.
Will I see duplicates?
A 48-bit space holds about 281 trillion values. In a 200-address batch the chance of any duplicate is essentially zero.
Is the output sent anywhere?
No. The addresses are computed in your browser. Nothing leaves the page.