UUID Generator

Generate one or up to 100 random UUIDs (v4) at once, validate any UUID, and copy or download the list. Free, no sign-up.

    Random UUIDs, one or a hundred at a time

    Generate version 4 UUIDs instantly for database keys, test fixtures, filenames, API identifiers and anywhere else you need a value that will never clash with another. The generator uses your browser’s secure random source, so every UUID is genuinely random, and nothing is sent to a server.

    How to use the UUID generator

    • Generate in bulk: choose how many you need, from 1 to 100, and press Generate. The full list appears below, ready to copy or download as a text file.
    • Copy one or all: each UUID has its own copy button, and Copy all grabs the whole list in one click for pasting into a spreadsheet, seed file or test script.
    • Validate an existing UUID: paste any value into the validator to check its format and read its version and variant. This is handy when debugging data imported from another system.

    Where UUIDs show up

    • Database primary keys: unlike auto-incrementing numbers, UUIDs can be generated on any server or device without coordination, which is why distributed systems prefer them.
    • File and object names: uploads, exports and cached files get UUID names so two users’ files never overwrite each other.
    • API and event identifiers: requests, jobs and webhook deliveries carry UUIDs so retries and duplicates can be detected safely.
    • Test data: seed scripts generate fresh UUIDs per run instead of reusing fixed examples that might collide with real data.

    UUID format, decoded

    A UUID has five groups of 8, 4, 4, 4 and 12 hex digits, separated by hyphens. The first digit of the third group is the version: 4 for random. The first digit of the fourth group encodes the variant and is 8, 9, a or b for the standard layout used today. The well-known nil UUID is all zeroes, and it means "no value" rather than a real identifier. The validator below reads these positions for you, so you do not have to count characters yourself.

    Frequently asked questions

    What is a UUID?

    A UUID is a 128-bit identifier written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. It is designed to be unique without a central registry: any system can generate one and be confident no other system generated the same value.

    What does version 4 mean?

    The version digit is the first digit of the third group. Version 4 means the identifier was generated from random data, which is the most common kind. Other versions encode a timestamp, a namespace and a name, or a MAC address. This generator produces version 4 UUIDs using your browser’s cryptographically secure random source.

    Can two UUIDs ever collide?

    In theory yes, in practice no. With 122 random bits, you would need to generate about a billion UUIDs per second for roughly a century before a collision became likely. For database keys, filenames, session tokens and API identifiers, version 4 UUIDs are treated as unique.

    How do I check whether a UUID is valid?

    Paste it into the validator below. It checks the 8-4-4-4-12 grouping, the hexadecimal characters, and reads the version digit and the variant bits, so you can tell at a glance whether a value is a version 4 UUID or something else entirely.