How to use the UUID Generator
- 1 Choose UUID version 4 (random) or version 7 (time-ordered).
- 2 Set how many you need and the format options.
- 3 Click Generate and copy or download the list.
What is a UUID?
A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit identifier written as 32 hexadecimal digits in five groups: 550e8400-e29b-41d4-a716-446655440000. UUIDs can be generated anywhere, by anyone, without a central registry, and the chance of two being the same is negligible.
v4 or v7?
- UUID v4 is fully random (122 random bits). It reveals nothing about when or where it was created and is the classic choice for IDs, tokens and file names.
- UUID v7 starts with a millisecond timestamp followed by random bits, as defined in RFC 9562. UUIDs created later sort after earlier ones, which keeps database indexes compact and fast. It is the recommended choice for new primary keys.
Generated securely
UUIDs are generated in your browser with the Web Crypto API, a cryptographically secure random number generator, and are never sent to our servers.
Formatting options
Some systems expect uppercase UUIDs, or the 32-character form without hyphens. Toggle the options and the list updates on the next generation.
Frequently asked questions
Can two UUIDs ever be the same?
In theory yes, in practice no. With 122 random bits you would need to generate about a billion UUIDs per second for around 85 years to reach a 50% chance of a single duplicate.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft’s name for the same 128-bit identifier format.
Should I use UUID v7 for database keys?
Usually yes. Because v7 values increase over time, inserts land at the end of the index, which is much faster than inserting random v4 values in large tables.
Last updated: