UUID Generator
Generate one or hundreds of UUIDs at once. Choose random version 4 or time-ordered version 7, with or without hyphens, in upper or lower case.
How to use the uuid generator
- Choose the version and how many you need.
- Pick uppercase or no hyphens if your system needs it.
- Copy all, or download a text file.
Version 4 UUIDs are completely random. Version 7 UUIDs start with the current time, so they sort in the order they were created, which makes database indexes faster. Both come from your browser's secure random number generator, and the chance of two being equal is practically zero.
Frequently asked questions
Which version should I use for a database key?
Version 7 usually, because it keeps new rows close together in an index. Use version 4 when you do not want the creation time to be visible.
Can two UUIDs collide?
In theory yes, in practice no: the probability is so small that it is ignored in real systems.
Are they stored anywhere?
No. They are created in your browser and disappear when you close the page.
