Generate Random MAC

Generate random MAC addresses, choose local or universal-style addressing, and control whether the first byte stays unicast-only.

Result
6a:83:9c:7b:db:4b

Generated with secure browser randomness when available.

Address Type
Locally administered
Traffic Type
Unicast
Format
Colon-separated

How The Generator Works

A MAC address uses six bytes. The generator fills those bytes randomly and then adjusts the lowest bits of the first byte to match your local and unicast settings.

The locally administered bit controls whether the address is vendor-style or local-style, while the multicast bit controls whether the address is unicast or group-oriented.

Quick Examples

Locally administered unicast MACs are useful for virtual machine and container examples.
Universal-style formatting is helpful when you want addresses that resemble vendor-assigned prefixes.
Plain hex output is useful for low-level tooling or compact fixture storage.
Changing the separator affects only formatting, not the underlying six-byte value shape.

Frequently Asked Questions

Why force the unicast bit?

Many common example addresses are meant to represent single interfaces, so clearing the multicast bit keeps the address unicast-compatible.

What does locally administered mean?

It means the address is intended for local use rather than reflecting a globally assigned vendor identifier.

Can this generate multicast MAC addresses?

Yes. Turn off the unicast-only option and some results can keep the multicast bit set.

What can I use random MAC addresses for?

They are useful for fixtures, network UI tests, tutorials, and device-oriented mock data.

Useful Notes

MAC addresses are six bytes long and are usually displayed as 12 hexadecimal characters.

Bit settings in the first octet influence whether the address is local or universal-style, and unicast or multicast.

Formatting separators change readability but not the logical address contents.

Related Tools