Skip to content
toolbox
All tools

UUID generator

Every UUID version, generated in your browser. Paste one to see its version and, for time-based ones, when it was made.

Version
Format

    Read a UUID

    Which version should I use?

    VersionWhat's insideSorts by timeWhen to use
    122 random bits.NoThe default when you just need a unique ID. Reveals nothing about when or where it was made.
    Unix time in milliseconds (48 bits) + 74 random bits.Yes, by creation timeDatabase primary keys and anything listed by date: sorted IDs keep indexes compact. Reveals the creation time.
    Time in 100 ns steps since 1582, stored out of order, + clock sequence + node (originally the MAC address).No (time bits are shuffled)Only for compatibility with old systems. Prefer v7 (or v6 if you need v1's fields).
    The same fields as v1, with the time from most to least significant.Yes, by creation timeMigrating from v1 while gaining time order. For new systems, prefer v7.
    MD5 of a namespace UUID and a name.NoA stable ID for a name (the same input always gives the same UUID). Prefer v5.
    SHA-1 of a namespace UUID and a name.NoA stable ID for a name: URLs, domains, file paths. The same namespace + name always gives the same UUID.
    Anything: only the version and variant bits are fixed. Here, random.Depends on the layoutVendor-specific layouts. Only when you control both the format and its readers.
    128 zero bits.—“No value”, like null, where a UUID is required.
    128 one bits.—An upper bound or a sentinel value.
    Good to know
    • Everything follows RFC 9562 (2024), which replaced RFC 4122 and added v6, v7 and v8.
    • Random bits come from the browser's secure generator (crypto.getRandomValues).
    • v7 lists generated at once are in order: within the same millisecond a counter keeps them sorted.
    • v1 and v6 here use a random node with the multicast bit set, so they never expose a real MAC address.
    • Don't use UUIDs as secrets (session tokens, passwords): v1, v6 and v7 reveal when they were made, and none is designed to be unguessable.
    Esc