UUID Generator
Generate random UUIDs in bulk.
โ No signup ยท โ Free forever ยท โ Files never leave your device
๐ UUID Generator
Generate random UUID v4 identifiers. Click to copy.
Generate cryptographically random version 4 UUIDs one at a time or in bulk, in upper or lower case, with or without hyphens.
How to use the UUID Generator
- Choose how many UUIDs you need.
- Pick upper or lower case, and whether to keep the hyphens.
- Click Generate and copy the list.
Why people use it
- Values come from the browser's cryptographic random number generator rather than Math.random, so they are suitable as real identifiers.
- Bulk mode produces hundreds at once for seeding a database or building a test fixture.
- Formatting options mean you do not have to post-process the list.
Frequently asked questions
Will two UUIDs ever collide?
Version 4 UUIDs carry 122 random bits, so you would need to generate on the order of 10^18 of them before a collision became likely. In practice they are safe as unique identifiers.
What is the difference between UUID v1, v4 and v7?
v1 embeds a timestamp and a MAC address, which leaks information. v4 is fully random. v7 is time-ordered, which makes it friendlier to database indexes. This tool generates v4.
Can I use a UUID as a primary key?
Yes, but fully random keys fragment B-tree indexes. If write performance matters at scale, a time-ordered UUIDv7 or a ULID is a better fit.