MAC Address Generator

Network Client-side mac address generator random oui network

This tool runs entirely client-side, in your browser: your data is never sent anywhere.

What it does

Generates one or more random MAC addresses. You can optionally provide an OUI prefix (the first 3 bytes, e.g. 00:1A:2B) to keep a specific vendor identity, and choose whether the generated address should be "locally administered" (a bit flag that marks a MAC as manually assigned rather than burned-in by a manufacturer).

Try it

Result will appear here.

How it works

  1. If you provide an OUI prefix, its 3 bytes are kept fixed; otherwise all 6 bytes are random.
  2. The remaining bytes are filled with cryptographically random values using crypto.getRandomValues.
  3. The first byte's bits can optionally be adjusted:

This is handy for lab environments, testing OUI-based MAC lookups (see the MAC OUI Resolver), or generating placeholder device identifiers. Nothing is sent anywhere — everything happens in your browser.