MAC Address Generator

Generate random MAC addresses with optional vendor OUI prefix, unicast or multicast bit control and colon, hyphen or no separator. Useful for hardware testing and device simulation.

Generation Settings

Result

About This Tool

The MAC address generator produces random addresses in valid formats. You can set a vendor OUI prefix for the first three bytes so addresses look vendor-assigned, choose unicast or multicast bit behaviour, and pick colon, hyphen or no separator. It fits hardware testing, device simulation and placeholder values in network UIs.

Randomness comes from the browser's cryptographically secure generator, results can be copied in bulk, and up to 200 addresses can be produced per run.

Key Features

OUI prefix support

Set the first three bytes to produce vendor-looking addresses.

Unicast or multicast

Control the lowest bit of the first byte as the protocol requires.

Three separators

Colon, hyphen or none, matching different system conventions.

Secure randomness

Uses crypto.getRandomValues rather than a predictable sequence.

When to Use It

Hardware testing

Bulk generate addresses for device registration, allow lists and load tests.

UI placeholders

Prepare correctly formatted sample addresses for prototypes and demos.

Format validation

Generate variants in every notation to check parser compatibility.

How to Use It

  1. 1Optionally enter an OUI prefix such as 00:1A:2B.
  2. 2Choose the separator and address type.
  3. 3Set the count.
  4. 4Generate and copy the result.

Frequently Asked Questions

Can these addresses be used on real devices?

Not recommended. They may conflict with real hardware. Use vendor-assigned or system-generated addresses in production.

Why is the first byte always even or odd?

The lowest bit of the first byte is the unicast/multicast flag: 0 for unicast (even) and 1 for multicast (odd).

Other Tools

CodeSwordsman

100+ technical tools with browser-local processing — your data never leaves your device. Official Microsoft Store desktop apps: free, ad-free, offline.

Completely Free

© 2026 CodeSwordsman All Rights Reserved

Service Terms | Privacy Policy | Help | Version Updates | About Us

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.