Tool guide
About this tool.
A 48-bit MAC address identifies an interface at the link layer. Its six bytes are often displayed as colon-separated hexadecimal pairs.
This generator sets the local-administration bit and clears the multicast bit in the first byte. The other 46 bits come from secure runtime randomness.
The output is a candidate address, not a vendor-assigned identity or a change to your device. Generation does not inspect or configure an interface.
- Create fixtures for MAC-address parsers and configuration forms.
- Prepare virtual-interface candidates after checking the target network for conflicts.
- Compare colon, hyphen, dotted and plain representations of a 48-bit address.
Choose a count from 1–100 and the representation expected by your application, or apply a sample.
Run explicitly to generate a batch. Changing options does not silently replace a previously generated set.
Review the candidates and keep a chosen address stable if assigned. Regeneration does not update an interface using an older address.
Copy or save mac-addresses.txt. Check conflicts and follow the device’s configuration procedure separately.
- 02:34:56:78:9a:bc is a local unicast example, not a vendor OUI.
- Hyphen style: 02-34-56-78-9a-bc.
- Dotted style: 0234.5678.9abc.
- Plain style: 023456789abc.
- The first octet’s last digit is 2, 6, a or e because local/unicast bits are fixed.
- Count 5 produces five newline-separated candidates; every explicit run draws fresh bytes.
- Addresses are lowercase, 48-bit, locally administered and unicast. EUI-64 and multicast generation are not supported.
- Local administration means leading bytes must not be treated as an assigned manufacturer OUI.
- Collisions are unlikely, not impossible. No registry or network is checked; uniqueness is not guaranteed.
- Secure crypto.getRandomValues is required. Without it, generation fails instead of falling back to Math.random.
- Count must be an integer from 1–100. Text input and deterministic seeds are not used.
- Formats change separators, not semantics. New runs generate new values; samples specify settings rather than fixed addresses.
- Generation does not change your MAC address, promise anonymity or bypass network access rules.