About the UUID Generator
A UUID (Universally Unique Identifier, also called a GUID) is a 128-bit value used to identify records, files, sessions and objects without a central authority. Version 4 UUIDs are completely random. Version 7 UUIDs start with a timestamp, so they sort in creation order, which makes them a good choice for database primary keys. This generator uses your browser's cryptographically secure random number generator.
How to use it
- Choose version 4 (random) or version 7 (time-ordered).
- Enter how many UUIDs you need, up to 1,000 at a time.
- Optionally switch to uppercase or remove the hyphens.
- Click “Generate” for a new batch, then copy or download the list.
Frequently asked questions
Can two generated UUIDs be the same?
In practice, no. A version 4 UUID has 122 random bits; you would need to generate billions of UUIDs per second for many years before a collision became likely.
Should I use UUID v4 or v7?
Use v7 when IDs are stored in a database index, because they are ordered by time and keep inserts efficient. Use v4 when the ID should reveal nothing, including when it was created.
What is the difference between a UUID and a GUID?
They are the same thing. GUID is the name Microsoft uses for UUIDs.