UUID generator
Generate one or a thousand UUID v4 identifiers with the browser's crypto source, ready to copy as text, JSON or SQL.
The code for this tool is fetched only when you open it.
What uuid generator does
UUID generator produces RFC 9562 version 4 identifiers, singly or in bulk, with formatting options for braces, uppercase and hyphens. It is for database keys, request IDs and the fixture data that needs a plausible unique value.
How it works
crypto.getRandomValues fills 16 bytes, the version and variant nibbles are set per the RFC, and the result is formatted as the canonical 8-4-4-4-12 string.
The file never leaves this tab. It is decoded by the browser, worked on in memory and encoded again — no request carries it, and there is no server-side copy to delete afterwards because none is made.
Formats and limits
| Limits | Any count, generated instantly. Version 4 has 122 random bits, so collision risk is not a practical concern at any real volume. |
|---|---|
| Price | Free, unlimited, no account |
Worth knowing
- The version and variant bits are set correctly, which matters: a random hex string that is not a valid v4 UUID gets rejected by strict validators and by some databases.
- These are v4 (random), not v7 (time-ordered). Sequential inserts benefit from v7, but v4 is the right default for anything that must not leak creation order.
Questions about uuid generator
Are these UUIDs cryptographically random?
Yes. They come from crypto.getRandomValues, not Math.random, so they are suitable as identifiers where unpredictability matters.
What is the difference between v4 and v7?
v4 is entirely random. v7 embeds a millisecond timestamp at the front, which makes them sort in creation order and index better in a B-tree — at the cost of revealing when each ID was made.
Are these real v4 UUIDs?
Yes. They set the version and variant bits correctly and use crypto.getRandomValues for the rest.
Can two ever repeat?
Statistically no: 122 random bits per ID puts the chance far below a hardware failure.
Is my file uploaded anywhere?
No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.
Will it run on a plane?
Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.
Do I have to sign up?
Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.