MAC Address Generator

Generate random MAC addresses with separator, OUI, and multicast/locally-administered bit options.

Input data is processed in your browser
Data is never sent to a server

Tool

Specify an OUI (vendor identifier) to fix the first 3 bytes and randomize the rest. Leave blank to randomize the entire address.

What is the MAC Address Generator?

This tool generates random MAC addresses useful for testing network equipment or configuring virtual machines. Choose your separator style (colon, hyphen, or Cisco-style dots) and letter case, or specify an OUI to generate addresses within a specific vendor’s range.

Key Features

  • Generate 1 to 100 addresses at once
  • Choose separator (: / - / . / none) and letter case
  • Toggle the multicast and locally-administered bits independently
  • Generate addresses with a custom OUI (first 3 bytes)
  • One-click copy per item, or copy all at once

When This Comes in Handy

  • Assigning test MAC addresses to virtual machine or container network interfaces
  • Generating bulk test data for network management systems
  • Seeing exactly what the multicast and locally-administered bits mean in practice

How to Use

  1. Choose the count, separator, and letter case.
  2. Optionally specify an OUI (vendor identifier, the first 3 bytes), or leave it blank to randomize the whole address.
  3. Toggle the multicast and locally-administered bits as needed.
  4. Click "Generate" (or Ctrl/Cmd+Enter) to create MAC addresses, then copy them individually or all at once.

FAQ

What is a MAC address?

A MAC address (Media Access Control Address) is a 48-bit (6-byte) identifier assigned to a network interface's physical layer. The first 3 bytes form the OUI (Organizationally Unique Identifier) identifying the vendor, and the last 3 bytes identify the device within that vendor's range.

What is the multicast bit?

If the least significant bit (bit 0) of the first byte is 1, the address is a multicast address (intended for multiple destinations). If it's 0, the address is unicast (a single destination).

What is the locally administered bit?

If the second bit (bit 1) of the first byte is 1, the address is locally administered (the U/L bit) rather than a globally unique, vendor-assigned address registered with the IEEE. It's common practice to set this bit for test or virtual environment addresses.

Can I use a generated MAC address on real hardware?

Addresses generated by this tool are random and aren't guaranteed to avoid collisions with real vendor OUIs. It's intended for testing, development, and virtual machine network interfaces. For production hardware, set the locally-administered bit and follow IEEE guidelines.