Generate UUID v1 to v7, ULID, NanoID, CUID2 and Snowflake IDs in bulk, and inspect any ID to read its version and creation time.
Initializing in your browser…
Make QR codes for links, Wi-Fi, contacts, events and payments as you type, check that each one scans, and download it as PNG or SVG.
Create Code 128, EAN-13, UPC-A, Code 39, ITF-14 and other barcodes with automatic check digits, and download them as PNG or vector SVG.
Generate colour palettes from one base colour, with tints and shades, contrast and colour-blindness checks, and CSS, Tailwind or JSON export.
New database rows need primary keys that are unique everywhere and still arrive in creation order, so you generate UUID v7.
Settings
UUID v7, four IDs made in the same millisecond (09:30:00.000 UTC on 20 October 2026)
Generated, then inspected
01a158a5-71c0-7000-94a0-7874f2607c2b 01a158a5-71c0-7001-92ed-0487e8a9646c 01a158a5-71c0-7002-a657-017c70dcf1c5 01a158a5-71c0-7003-9002-ff6cb628bd7c These sort as strings in the order they were made Inspect: version 7, variant RFC 9562, timestamp 2026-10-20T09:30:00.000Z
The first twelve hex digits, 01a158a5-71c0, are the Unix time in milliseconds, the same for all four because they were made in the same millisecond. The 7 that follows is the version. The next three digits count up, 000 to 003, which keeps IDs made within one millisecond in order. The first digit of the fourth group (9, a, 9, 9) carries the variant bits, and the rest is random. Because the time comes first, sorting the strings sorts the rows by creation time, and pasting any of them into Inspect gives back the exact moment it was made.
Generate UUIDs in every version from v1 to v7, plus ULID, NanoID, CUID2 and Snowflake IDs, one at a time or up to 1,000 at once, and copy or download them. Paste any identifier into Inspect to see its version, its variant and the creation time hidden inside time-based IDs.
A UUID is a 128-bit identifier written as 36 characters, such as 3b241101-e2bb-4255-8caf-4136c566a962, that can be created anywhere without a central counter and still be unique. The versions differ in where the bits come from. Version 4 is fully random apart from six fixed bits, and is the safe default. Version 7 starts with the current Unix time in milliseconds and fills the rest with random bits, so new IDs sort by creation time, which keeps database indexes compact; it is the best choice for primary keys in a new system. Versions 1 and 6 use a clock counting 100-nanosecond steps since 1582 plus a node number; v6 reorders the fields so it sorts. Versions 3 and 5 are not random at all: they are an MD5 or SHA-1 hash of a namespace and a name, so the same input always gives the same UUID, which is useful for turning a URL or an email address into a stable ID. All of these follow RFC 9562, the current UUID standard.
The other formats are popular alternatives. A ULID packs a millisecond timestamp and 80 random bits into 26 characters of Crockford base32, sorts by time and avoids confusable letters. A NanoID is a short, URL-safe random string, 21 characters by default and any length from 4 to 128 here. A CUID2 is a lower-case random string that starts with a letter, so it is safe as an HTML id or a variable name. A Snowflake packs a timestamp, a datacenter and worker number and a sequence counter into a 64-bit number, the layout Twitter introduced and others copied.
All random bits come from the browser's cryptographic random number generator, not Math.random. Time-based IDs made in the same millisecond use a counter so that they still come out in order, and the list says whether the batch sorts in the order it was made. For random formats the tool states the collision odds: for a v4 UUID, 2.71 billion billion IDs are needed before there is an even chance of a single duplicate. An optional chi-square test draws a large sample and checks that every character occurs equally often.
Inspect reads an identifier you paste, with or without hyphens, in braces or with a urn:uuid: prefix, and reports what it is: the UUID version and variant with the creation time decoded from v1, v6 and v7, the timestamp inside a ULID, or the time, datacenter, worker and sequence inside a Snowflake. It also recognises the nil and max UUIDs. NanoID and CUID2 strings carry no version or checksum, so for those it can only say the shape matches.
Options include a prefix and suffix for every ID (user_ or order- for example), upper case and hyphen-free UUIDs, and a count of up to 1,000. Upper case and hyphen removal are offered for UUIDs only, because applying them to a NanoID or CUID2 would change the identifier. Nothing you inspect goes into the address bar, and everything runs in your browser.
Generate UUID v7 keys that sort by creation time, so inserts land at the end of the index instead of scattering across it.
Create a batch of 100 UUIDs or NanoIDs with a prefix such as test_ and download them as a text file.
Use v5 with the URL namespace to give every page of a site an ID that stays the same each time you generate it.
Paste a v7 UUID, ULID or Snowflake from a log or an API response to see exactly when the record was created.
Version 4 for general-purpose random IDs, and version 7 for database keys or anything you want to sort by creation time. Use version 5 when the same name must always map to the same UUID. Versions 1 and 6 exist mainly for compatibility with older systems.
In theory, but not in practice. A v4 UUID has 122 random bits, so you would need to generate about 2.71 billion billion of them before there is a 50 percent chance of even one duplicate.
A v4 made with a cryptographic generator, as here, is very hard to guess, but UUIDs are designed to be unique rather than secret. Time-based versions reveal when they were created. Use a proper random token for passwords, session IDs or reset links.
Both are 128 bits. A ULID is written as 26 base32 characters instead of 36 hex characters with hyphens, and always starts with a timestamp, so it sorts by time. UUID v7 offers the same ordering in the standard UUID format.
Switch to Inspect and paste it. Versions 1, 6 and 7 contain a timestamp, which the tool decodes. Version 4 contains no time at all.
Because the same namespace and name always produce the same UUID, a batch would otherwise be one value repeated. The first row uses the name exactly; each later row adds its row number.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.