UUID Generator
Generate UUID v4 instantly. Create several at once.
What is UUID Generator
A UUID generator creates 128-bit unique identifiers. Version 4 uses cryptographically secure random numbers and is widely used for database keys and session IDs.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Version 4 means random, and that is the whole guarantee
A v4 UUID is 122 random bits plus 6 fixed bits that mark the version and variant, rendered as 32 hex digits in five groups. This page calls crypto.randomUUID where available, falls back to getRandomValues with the RFC 4122 bit-fixing done by hand, and only degrades to Math.random if neither exists — a chain worth knowing, because the last fallback is not cryptographically strong.
The 122 bits are the reason collisions are not a practical concern: you would need to generate about 2.7×10^18 of them before a one-in-a-billion chance of a duplicate. That is why v4 is accepted for database keys and request IDs without coordination.
What v4 does not give you
It carries no timestamp, no machine identity and no ordering. Two UUIDs generated microseconds apart sort arbitrarily, which matters the moment someone uses the primary key as a sort key and gets a table in random order. If ordering is needed, use UUIDv7 or a ULID — both put a timestamp in the high bits.
It also leaks nothing, which is usually good: the older v1 format embedded a timestamp and a MAC address, and that was a real privacy problem when UUIDs appeared in URLs. Anyone planning to use v1 should know it can expose when and where a record was created.
Storage and formatting
The canonical form is 36 characters with hyphens; the same value without hyphens is 32 characters and stores in half the space of a CHAR(36) column. PostgreSQL has a native uuid type at 16 bytes, and MySQL's BINARY(16) with a conversion is the compact option.
Case does not matter under the specification — uppercase and lowercase are the same UUID — but string comparison in most databases does. Normalise to lowercase on write, or two records for the same id will never match.
How to use it
- 1.Pick a version
- 2.Set how many to generate
- 3.Click Run
How UUID Generator works under the hood
Generators here produce values locally with the browser's cryptographic random source. The output is generated on your device, not issued by a server, so there is no record of what was generated.
- 1
Seed from the platform CSPRNG
Values come from crypto.getRandomValues, not Math.random, so they are suitable for passwords and tokens.
- 2
Map to the requested alphabet
Random bytes are mapped to the chosen character set while rejecting values that would bias the distribution.
- 3
Render on the page
The result is shown and can be copied; it is not stored or sent.
Processing pipeline
Strength comes from length and source
A 20-character password from a 90-symbol alphabet has far more entropy than a 12-character one, and both are only as good as the random source. This site uses the platform CSPRNG, so the remaining risk is reuse, not generation.
Nothing is logged
Generated values are never transmitted, so there is no server log, no history and no recovery. Save what you need before closing the tab.
Verify it yourself
Generation is local. Reload the page and the values are gone.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
What is a UUID?
A 128-bit universally unique identifier, shown as 32 hex digits separated by hyphens.
Is it secure?
Yes. It uses the browser's cryptographic random number generator.
More in Generators
On this page
- What is UUID Generator
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →