MAC address generator
Generate a random, valid MAC address locally in your browser, with the locally-administered bit set so it won't clash with real hardware. Pick your format.
How to use the mac address generator
- Choose a separator format (colon or hyphen).
- Press Generate.
- Copy the locally-administered, unicast MAC address.
About this MAC address
A MAC address is the 48-bit hardware identifier for a network interface. The addresses here have the locally-administered bit set and the unicast bit cleared, so they're valid custom addresses that won't collide with a manufacturer's range. Randomizing your MAC is a privacy measure: phones do it per Wi-Fi network to stop venues tracking your device. Your MAC never leaves your local network, so a website can't see it and a VPN doesn't need to hide it. It's generated in your browser and never sent anywhere.
Code & API examples
Use this from the command line or your code.
printf '02:%02x:%02x:%02x:%02x:%02x\n' $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256))
See all endpoints at /api/tools/.
Frequently asked questions
vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.
Step up to the tee for free