How to generate UUIDs
- Choose v4 (random) or v7 (time-ordered).
- Set how many you need — from 1 to 1,000.
- Toggle uppercase or hyphens to match the format your system expects.
- Click Generate for a fresh batch, then copy or download them as a text file.
Example
- v4:
3f1c2a9e-7b4d-4e1a-9c6f-2d8e5b7a1c03 - v7:
0193a5f2-7c1e-7a3b-8f4d-6e2c9b1a5d70
Which version should I use?
- v7 for database primary keys and anything you’ll sort or index — sequential IDs avoid index fragmentation.
- v4 when IDs must reveal nothing, including when they were created.
Format
A UUID is 128 bits written as 32 hexadecimal digits in five groups (8-4-4-4-12). The first digit of the third group is the version (4 or 7); the first digit of the fourth group is the variant (8, 9, a or b).
Frequently asked questions
What's the difference between UUID v4 and v7?
v4 is entirely random. v7 starts with a millisecond timestamp, so IDs sort by creation time — which keeps database indexes compact and fast. Both are defined in RFC 9562.
Are these UUIDs truly unique?
They use your browser's cryptographically secure random number generator. A v4 UUID has 122 random bits, making a collision astronomically unlikely in practice.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft's name for the same 128-bit identifier format.
Are the generated UUIDs stored anywhere?
No. They're generated in your browser and never sent to a server.