MAC Address Generator

Generate random MAC addresses in the format you need.

Hardware addresses on demand

A MAC address is the identifier assigned to a network interface, and there are times you need a random one — testing network software, configuring a virtual machine, setting up a device, or anonymising a real address. This generates valid, correctly-formatted random MAC addresses, singly or in bulk, in the separator style you prefer.

Generate the addresses in the format you need.

Formats and the locally-administered bit

MAC addresses are written a few ways — colon-separated, hyphen-separated, or dotted — and different systems expect different ones, so matching the format matters. A technical nicety worth knowing: a specific bit in the address marks it as locally administered rather than assigned by a manufacturer, which is the correct setting for an address you have made up, so it will not clash with a real hardware address. For testing and configuration, a properly-formed random MAC is exactly what you want.

Questions & answers

What formats can it generate?

The common ones — colon-separated, hyphen-separated and dotted — so you can match whatever your system expects.

Will a random MAC clash with real hardware?

A properly generated one is marked as locally administered, which keeps it distinct from manufacturer-assigned addresses.

Is anything uploaded?

No. The addresses are generated in your browser.

More Developer tools