About the UUID Generator
Generate universally unique identifiers for databases, APIs and tests. Choose random version 4 UUIDs or the newer time-ordered version 7, which sort by creation time and make better database keys.
Generate up to 500 at once, with options for uppercase and no hyphens. UUIDs are created with your browser’s secure random number generator.
How to use the UUID Generator
- Choose the version and how many you need.
- Set formatting options.
- Click “Generate”, then copy one or all.
Frequently asked questions
What is the difference between UUID v4 and v7?
v4 is fully random. v7 starts with a millisecond timestamp followed by random bits, so v7 IDs sort in creation order — which keeps database indexes efficient.
Can two UUIDs ever be the same?
In theory yes, but the chance is astronomically small: you would need to generate billions of v4 UUIDs per second for many years to expect a single collision.