toolqik

16 · Random Values

Random MAC Address Generator

Random MAC addresses in any notation, safe local or with your vendor prefix.

Runs in your browser
Type
Notation
Options
MAC addresses

    About this tool

    A MAC address identifies a network interface: six bytes, usually written as 00:1A:2B:3C:4D:5E. Virtual machines, containers, network simulators, test fixtures and device inventories all need them. This generator creates valid random MAC addresses in the notation your system expects.

    Locally administered addresses

    The first byte carries two flag bits. Bit 0 marks a multicast address, and bit 1 marks a locally administered one, meaning it was assigned by software rather than burned in by a manufacturer. By default this tool sets the local bit and clears the multicast bit, so every address is a valid unicast address that can never clash with a real vendor’s hardware. You can spot them by the second hex digit: always 2, 6, A or E. Hypervisors such as Hyper-V, VirtualBox and KVM have their own vendor prefixes, while many Linux tools and phones (for Wi-Fi privacy) use locally administered random addresses.

    Using a vendor prefix

    The first three bytes of a factory-assigned MAC are the vendor’s OUI (Organizationally Unique Identifier), registered with the IEEE. Choose With prefix and enter one to three bytes, or up to five, and the rest is random, which is useful when a test needs addresses that look like a particular brand of device.

    Notations

    • 00:1a:2b:3c:4d:5e with colons: Linux, macOS and most network tools.
    • 00-1A-2B-3C-4D-5E with hyphens: Windows (ipconfig /all).
    • 001a.2b3c.4d5e with dots: Cisco devices.
    • 001a2b3c4d5e without separators: databases and APIs.

    FAQ

    How do I generate a random MAC address?

    Click Generate. By default you get locally administered unicast addresses, which are valid and never conflict with real hardware.

    What is a locally administered MAC address?

    One with bit 1 of the first byte set, meaning software assigned it rather than the manufacturer. The second hex digit is 2, 6, A or E.

    Can I generate MAC addresses for a specific vendor?

    Yes. Choose “With prefix” and enter the vendor’s OUI, such as 00:1A:2B. The remaining bytes are random.

    Which format does Windows use?

    Windows shows MAC addresses with hyphens and uppercase letters, like 00-1A-2B-3C-4D-5E. Choose the hyphen notation.

    esc
    ↑↓ navigate↵ open