Generate v4 (random) or v7 (time-ordered) UUIDs in one click. Up to 100 at once, with uppercase and no-hyphen options.
No sign-up, no fees.
Generate a UUID: v4 (random) or v7 (time-ordered).
Up to 100 at a time.
Uppercase and no-hyphen options.
With a secure random number generator.
What you type is processed, but never shared with anyone.
How to use the UUID Generator
Need a unique ID? Four steps:
Pick the version.v4 or v7. A short description is written under it: "Completely random." or "Starts with a timestamp, sorted by generation order."
Type the count. Type a number between 1 and 100 in the Count box.
Pick the format. You can make it Uppercase; if you untick Hyphens, the plain 32-character form comes out.
Copy or regenerate.Copy copies them all one under another. Regenerate makes a new set.
What is a UUID?
A UUID (universally unique identifier) is a 36-character ID like 3f2b8c1e-9a4d-4e7b-8c2a-1d5f6e7a8b9c. Without a central counter, it's unique enough not to collide even when generated at the same time on different computers. It's used for database records, API requests, file names, session IDs and test data. In the Microsoft world the same thing is called a GUID; generating a GUID and generating a UUID are the same job.
v4 or v7?
UUID v4 is completely random. It's enough for most jobs and is the most common.
UUID v7 contains a timestamp first, then random numbers. IDs line up in the order they were generated. If used as a primary key in a database, it helps keep records in insertion order and uses indexes more efficiently.
A v7 ID gives away when it was generated: the first 48 bits are time in milliseconds. If you need to hide the generation time, use v4.
Is it secure, can it collide?
The randomness comes from the browser's secure random number generator (crypto.getRandomValues). v4 has 122 bits of randomness; the chance of two IDs colliding is negligibly small in practice.
Tips for using random IDs
A UUID is not a password or a secret key. Its format is known and some versions carry guessable information. If you need an unguessable key, make a long random string with the Password generator.
In a database, v7 if ordered insertion matters, v4 for IDs that are distributed and must stay hidden.
When comparing, store them all in the same format (lowercase, hyphenated).