Illustration of a network interface card generating a random MAC address in hex byte pairs

MAC Address Generator/Validator

Generate random MAC addresses with correct control bits, or paste one to validate it and inspect its multicast/locally-administered flags and OUI. Runs entirely in your browser using the Web Crypto API.

Generate


Validate


💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/mac-address/api/generate -H "Content-Type: application/json" -d '{"separator":":"}'
curl -sS -X POST https://devops.majbase.com/mac-address/api/validate -H "Content-Type: application/json" -d '{"mac":"aa:bb:cc:dd:ee:ff"}'

Generate returns {"result": "..."}. Validate returns {"valid", "normalized", "is_multicast", "is_locally_administered", "oui"} or {"valid": false, "error": "..."}.