MAC Address Generator
Generate random MAC addresses with optional vendor prefix.
Create one or many random MAC addresses, optionally prefixed with a known vendor's OUI (Apple, Cisco, VMware, VirtualBox, Raspberry Pi, …). Choose colon, dash or no separator, upper or lower case, and copy individually or all at once.
Common use cases
- Generate test MACs for unit tests or fixture data
- Get a VMware-shaped MAC for a custom VM template
- Bulk-generate MACs for a lab simulation
- Avoid collisions by using locally-administered random MACs
Frequently asked questions
Are the addresses guaranteed unique?▾
Within one batch, no — they're random. Collisions across 2^46 random bits are astronomically unlikely in practice.
Why is the second hex digit often 2, 6, A or E?▾
When no vendor prefix is selected, we set the locally-administered bit so the address won't collide with any real vendor's space.
Can I use these in production?▾
Random locally-administered MACs are safe for VMs, test environments and short-lived devices. For shipping hardware you should obtain a real OUI from the IEEE.
Related tools
{}
JSON Formatter & Validator
Beautify, validate and minify JSON instantly in your browser.
↔
JSON ↔ CSV Converter
Convert JSON arrays to CSV and CSV back to JSON.
B64
Base64 Encoder & Decoder
Encode and decode Base64 strings, including UTF-8 and binary.
%
URL Encoder & Decoder
Percent-encode and decode URL components safely.