Random MAC Address Generator
Generate random MAC addresses for lab tests, virtual machines and network configuration without hand-typing hex. Pick a separator style and letter case, keep the locally administered bit on so the address cannot clash with a real vendor range, and ask for up to 50 at once. Everything is generated in your browser and copies to the clipboard with one click.
How to generate a MAC address
- Choose a Format: Colon, Hyphen or Cisco dot notation.
- Toggle Uppercase for capital hex digits, or turn it off for lowercase.
- Leave Locally administered on so the address is a safe made-up one.
- Set How many between 1 and 50 to generate a batch at once.
- Press Generate MAC address, then click Copy or Copy all.
Examples
Colon format, uppercase
Format Colon, Uppercase on, Locally administered on
A unicast address like 02:1A:2B:3C:4D:5E
Cisco dot notation, lowercase
Format Cisco dot, Uppercase off
Three groups of four such as 021a.2b3c.4d5e
Batch of five hyphenated addresses
Format Hyphen, How many 5
Five lines like 06-AA-BB-CC-DD-EE, copied together with Copy all
Frequently asked questions
What is a MAC address?
A MAC address is a 48-bit hardware identifier for a network interface, written as six hexadecimal bytes such as 02:1A:2B:3C:4D:5E. It labels a device on a local network segment so frames reach the right adapter.
What does locally administered mean?
It sets the U/L bit in the first byte to mark the address as one you assigned yourself rather than one burned in by a manufacturer. The generator also clears the multicast bit at the same time, so the result is a valid unicast address that will not collide with a real vendor's range.
Which formats are supported?
Three styles: colon separated (AA:BB:CC:DD:EE:FF), hyphen separated (AA-BB-CC-DD-EE-FF) and Cisco three-group dot notation (aabb.ccdd.eeff). Each can be shown in uppercase or lowercase hex.
Why does the first byte often start with 02, 06, 0A or 0E?
When Locally administered is on, the tool forces the U/L bit and clears the multicast bit on the first byte, which limits its low nibble to 2, 6, A or E. Turn the option off if you want a fully random first byte instead.
Is a generated address guaranteed to be unique?
No. The bytes are random, so a collision is possible though extremely unlikely across a small network. These addresses suit testing, virtual machines and labs, not scenarios that demand guaranteed global uniqueness.
How many can I generate at once?
Between 1 and 50 per press. The How many field clamps values into that range, and each address in the batch is generated independently so they will differ from one another.
Can I use one of these on a real network adapter?
Yes, for MAC spoofing or assigning a VM you can paste a locally administered address into your OS or hypervisor. Keep it locally administered to stay clear of registered vendor prefixes, and avoid duplicating an address already live on the same segment.
What is the Cisco dot format for?
Cisco IOS and many switches display MAC addresses as three dot-separated groups of four hex digits, like aabb.ccdd.eeff. The dot option matches that notation so you can paste addresses straight into switch or router configs.
Does anything get sent to a server?
No. Generation uses your browser's random number source and runs entirely on your device, so it is private and keeps working offline once the page has loaded.
Learn more
- MAC address anatomy: OUI, U/L and multicast bits
How the six bytes of a MAC address split into a vendor prefix and device suffix, and what the two flag bits in the first byte actually control.
Related tools
Random Number Generator
Generate random numbers in any range online. Set a min, max and count, pick unique values, and copy the results. Secure and runs in your browser.
Diceware Passphrase Generator
Generate a memorable, strong diceware passphrase from random common words. Pick word count, separator, capitals and a number, see the entropy, then copy.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
ASCII Table
Full ASCII table for all 128 codes with decimal, hex, octal and binary values, character names and descriptions. Search by code, hex or character.
Aspect Ratio Box Generator
Generate CSS for a responsive aspect-ratio container. Use the modern aspect-ratio property or the padding-top fallback, then copy the ready code.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.