MAC Address Generator

Generate random, locally administered MAC addresses in batches, in colon, dash or Cisco format.

Runs in your browser — nothing is uploaded

About the MAC Address Generator

A MAC address identifies a network interface. Vendors assign most addresses from registered blocks, but virtual machines, lab devices and test scripts often need addresses that will not clash with real hardware. Locally administered addresses are reserved for this purpose.

The generator sets the locally administered bit in the first octet and keeps the address unicast, then fills the other five octets randomly. Choose how many you need and the separator format.

FAQ

MAC Address Generator — frequently asked

What is a locally administered address?

It is an address where the second-lowest bit of the first octet is set, so it is not assigned by a manufacturer. Addresses such as 02:xx:xx:xx:xx:xx or 06:xx:xx:xx:xx:xx fall in this space.

Can a random MAC cause a conflict?

Collisions are unlikely across 2 to the power of 46 possible addresses, but they can still happen on a busy network. Generate addresses only for devices in a test network you control.

Is it legal to change a MAC address?

Changing the MAC on your own device for privacy or testing is generally fine. Using a spoofed address to access a network you do not own, or to evade access controls, can break acceptable use policies and laws.

Why is the first octet special?

The lowest bit marks multicast addresses, and the second-lowest marks locally administered ones. The generator clears the multicast bit and sets the local bit so the result is a valid unicast local address.

What formats are supported?

Colon format (AA:BB:CC:DD:EE:FF) is common on Linux and Windows, dash format (AA-BB-CC-DD-EE-FF) is common on Windows, and Cisco dotted format (AABB.CCDD.EEFF) is used on network equipment.

Does the generator store my addresses?

No. Addresses are created in your browser with a cryptographic random generator and are not saved.

    Report an issue