UUID Generator
Generate random v4 or time-ordered v7 UUIDs, one or hundreds at a time.
How to use the UUID Generator
- Choose the versionVersion 4 is fully random. Version 7 starts with a timestamp, so new IDs sort in order.
- Set how manyGenerate from 1 to 1,000 at a time, and pick a format.
- Copy or downloadCopy all IDs, or download them as a .txt file.
Example
Version 4: 3b241101-e2bb-4255-8caf-4136c566a962 (the 4 after the second hyphen marks the version)
Version 7: 01a148ab-16c7-7368-b21c-c1d2e053f681 (the first 12 hex digits are the time in milliseconds)
Frequently asked questions
What is a UUID?
A UUID (universally unique identifier), also called a GUID, is a 128-bit ID written as 32 hex digits in five groups. It can be created anywhere without a central server and still be unique.
Can two UUIDs ever be the same?
In practice, no. A version 4 UUID has 122 random bits. You would need to create billions every second for many years before a duplicate became likely.
Should I use version 4 or version 7?
Use version 7 for database primary keys, because new IDs sort by time and keep indexes fast. Use version 4 when the ID should reveal nothing about when it was made.
Are they created securely?
Yes. They use your browser’s cryptographic random number generator and are never sent anywhere.