Test MAC Address Generator — Dummy MACs for Fixtures

Generate synthetic MAC (EUI-48) strings for databases, log fixtures and parser tests. Locally administered unicast is the default, and deliberately invalid strings are an option. Not a vendor lookup, a converter or a tool to change your network card's address.

Loading…
How the test MAC generator works
Dummy EUI-48 strings for fixtures and parser tests. By default, the U/L bit is set, so every address is locally administered. This is not a vendor lookup, a tool to change your network card's address, or a scanner.

How generation works

Pick a quantity (1 to 100), the kind, valid or invalid rows, the format, the letter case and the order. The list is rebuilt each time you change an option. Copy everything or download it as JSON, CSV, SQL or TXT.

Options

Quantity
How many MAC strings to generate, from 1 to 100 (10 by default).
Kind
Locally administered unicast by default. The other kinds are the RFC 9542 documentation block, locally administered multicast, broadcast, or a custom prefix of 1 to 5 octets that you own. There is no list of vendor OUIs.
Validity
Valid rows stay inside the selected kind. Invalid mode writes broken strings on purpose, chosen in Invalid kind, for negative parser tests.
Format
Colon as on Linux, hyphen as on Windows, Cisco dotted, 12 hex digits without separators, or modified EUI-64. The EUI-64 form has 8 groups with FF:FE in the middle and an inverted U/L bit.
Letter case
Lowercase hex (default) or uppercase. Parsers that compare strings can be case-sensitive.
Order
Random draws can repeat, Unique never repeats, and Sequence walks the pool in numeric order. Broadcast has a single address, so Unique and Sequence show an error above a quantity of 1.

Examples

Locally administered unicast, the default

Settings

kind=locallyAdministered, validity=valid, format=colon

Sample output

02:00:5e:11:22:33

Invalid row that is too short

Settings

validity=invalid, invalidKind=tooShort

Sample output

02:00:00:00:00

Related tools

For IP fixtures or a JSON table, try the test IP address generator and the JSON test data generator.

Test MAC FAQ

Fixtures, the locally administered bit and what this tool does not do

Why locally administered by default?

The U/L bit marks an address as assigned by software, so a dummy fixture cannot claim the OUI of an IEEE-registered vendor. Use this kind for databases, VMs and parser tests.

I searched for a random MAC generator. Is this it?

Yes, if you need dummy MAC strings for fixtures and parser tests. It does not draw addresses that look like a vendor's, and it does not change your network adapter.

I searched for a fake MAC generator. Is this it?

Yes for synthetic strings in fixtures. No for passing off as Apple or Cisco hardware. This is not a MAC lookup, and it does not identify manufacturers.

Is this a MAC lookup or OUI vendor tool?

No. It generates strings in your browser. It does not look up manufacturers, locate devices or scan a network.

Can I use this for MAC spoofing?

No. This page only writes strings for fixtures. It is not a MAC spoofing guide and must not be used for unauthorized network access.

Dummy names, emails, phone numbers, addresses, dates, IBANs, card numbers and JSON, CSV or SQL rows for fixtures and database seeds. Everything is generated in your browser.