
MAC Address Generator
Generate random, vendor-prefixed, or bulk MAC addresses. Validate existing MACs. Supports colon, hyphen, and Cisco dot notation.
Last reviewed: June 2026New to this tool? Click here for instructions
How the MAC Address Generator works
This tool generates, formats, and validates MAC addresses in local JavaScript. Random mode fills six octets with browser-side randomness, vendor mode fixes the first three octets to a selected OUI-style prefix, bulk mode repeats the generator, and validate mode normalizes colon, hyphen, and Cisco dot notation before checking the 48-bit structure.
The Locally Administered Address flag and multicast flag are bit-level controls on the first octet. Setting the LAA bit is useful for virtual machines, containers, lab devices, and privacy-oriented randomization. Setting the multicast bit creates an address for group delivery testing and is not appropriate for a normal unicast host address.
Workflow notes
- Use generated values for labs: do not assign random MAC addresses on a production LAN without checking for conflicts.
- Choose notation for the target system: Linux and macOS commonly use colon notation, Windows often displays hyphens, and Cisco tools often use dotted notation.
- Understand OUI limits: a vendor prefix makes an address look familiar, but it does not prove the physical vendor of a device.
- Validate pasted values: validation catches malformed hex, wrong group counts, and unsupported separators before you paste into a config.
Worked example
For a virtualization lab, enable the LAA flag and generate a bulk list in colon notation. The first octet should have the local bit set, which avoids pretending the address came from a globally assigned hardware block. Keep a record of assigned values so two virtual NICs do not collide on the same segment.
Sources
Frequently Asked Questions
Address notation checklist
| Format | Example | Common use |
|---|---|---|
| Colon-separated | 02:1A:2B:3C:4D:5E | Linux, macOS, network documentation |
| Hyphen-separated | 02-1A-2B-3C-4D-5E | Windows tools and exports |
| Cisco dotted | 021A.2B3C.4D5E | Cisco IOS and some switch outputs |
| LAA unicast | 02:00:00:00:00:01 | Virtual NICs and lab-generated addresses |
Example walk-through
Generating lab addresses
Choose Random, keep colon notation, enable the locally administered bit, and set bulk count to the number of virtual NICs you need. Copy the generated list into your lab notes before assigning values.
To verify a pasted address, switch to Validate mode and enter a colon, hyphen, or dotted value. The tool reports whether the input has six valid octets and whether it is local/global and unicast/multicast.