Generate random MAC addresses in multiple formats (colon, hyphen, dot, plain). Set a custom OUI prefix, toggle multicast/unicast and local/global flags, and generate up to 100 addresses at once.
A Media Access Control (MAC) address is a unique 48‑bit identifier assigned to network interfaces for communications at the data link layer of a network segment. MAC addresses are used as network addresses for most IEEE 802 network technologies, including Ethernet, Wi‑Fi, and Bluetooth. The address is typically expressed as six groups of two hexadecimal digits, separated by colons (:), hyphens (-), or dots (.).
MAC address = OUI (24 bits) + NIC‑specific (24 bits)
Example: 00:1A:2B:3C:4D:5E → OUI = 00:1A:2B • NIC = 3C:4D:5E
The Organizationally Unique Identifier (OUI) occupies the first three bytes (24 bits) and is assigned by the IEEE Registration Authority to hardware manufacturers. The remaining three bytes are assigned by the manufacturer to individual devices, ensuring global uniqueness. This tool lets you specify any OUI prefix to generate addresses that appear to belong to a particular vendor — useful for network simulation, testing, and documentation.
Our generator follows the IEEE 802‑standard MAC address structure:
xx:xx:xx:xx:xx:xx), hyphen‑separated (xx-xx-xx-xx-xx-xx), plain (xxxxxxxxxxxx), or dot‑separated (xxxx.xxxx.xxxx).
All generation is performed using the browser's crypto.getRandomValues() API, providing cryptographically strong randomness suitable for all practical applications.
| Flag | Bit Position | Value 0 | Value 1 | Description |
|---|---|---|---|---|
| I/G (Individual/Group) | LSB of first byte | Unicast (individual) | Multicast (group) | Indicates whether the frame is destined for a single node or a group of nodes. |
| U/L (Universal/Local) | Second LSB of first byte | Universally administered | Locally administered | Indicates whether the address is assigned by the manufacturer (universal) or by a local administrator. |
In a standard, globally unique MAC address (unicast, universal), the first byte is always even (LSB = 0) and the second bit is 0, so the first byte is one of 00, 02, 04, 06, ... up to FE.
A cloud provider operates a large fleet of virtual machines (VMs) across thousands of hypervisors. Each VM requires a unique MAC address for its virtual network interface. Using a random MAC generator with a vendor‑specific OUI (e.g., 00:50:56 for VMware) ensures that all VMs appear to originate from a consistent vendor while avoiding address collisions. The provider uses bulk generation to provision new VM templates and automate network configuration scripts. The local‑administered flag (U/L = 1) is often set to indicate that the address is locally managed, reducing the risk of conflicts with globally assigned addresses on the same network segment.
An IoT manufacturer produces thousands of smart sensors. Each sensor must have a unique MAC address programmed into its firmware. The manufacturer obtains an OUI from the IEEE Registration Authority, then uses a MAC generator (like this one) to produce a batch of unique addresses for each production run. The addresses are then embedded in the firmware image during manufacturing. This process is automated and ensures that no two devices ever share the same MAC address, which is critical for proper network operation in the field.
| Format | Example | Common Use |
|---|---|---|
| Colon‑separated |
00:1A:2B:3C:4D:5E
|
Linux, Unix, most network tools |
| Hyphen‑separated |
00-1A-2B-3C-4D-5E
|
Windows, DHCP servers |
| Plain (no delimiter) |
001A2B3C4D5E
|
Some embedded systems, serial EEPROMs |
| Dot‑separated |
001A.2B3C.4D5E
|
Some Cisco configurations, certain database formats |
02:00:00:00:00:00 to 02:FF:FF:FF:FF:FF) to avoid conflicts.
FF:FF:FF:FF:FF:FF).