How to use the UUID generator
- Choose how many UUIDs you need and which version.
- Click Generate. New UUIDs appear each time.
- Click Copy, or download the list as a text file.
What is a UUID?
A UUID (universally unique identifier) is a 128-bit label written as 32 hexadecimal characters in five groups, like 3f2b8c1e-9d4a-4c7b-a1e6-5f0d2b9c8a71. Microsoft calls the same thing a GUID. Its purpose is to give something an ID that will never clash with any other, without asking a central server for the next number.
Version 4 or version 7?
| Version | How it is made | Best for |
|---|---|---|
| Version 4 | 122 random bits | General use: session IDs, file names, keys, test data |
| Version 7 | The current time followed by random bits | Database primary keys, because new IDs sort after older ones and keep indexes fast |
If you are unsure, use version 4. It is the most widely supported.
Can two UUIDs ever be the same?
In theory yes, in practice no. There are about 5.3 undecillion possible version 4 UUIDs (a 5 followed by 36 zeros). You would need to generate a billion every second for around 85 years to have an even chance of a single repeat.
How these are generated
The UUIDs are made on your own device using your browser's cryptographically secure random number generator. They are not created on a server, logged or sent anywhere, so nobody else has seen them.
Need other random values? Try the password generator or the random number generator.
Frequently asked questions
How do I generate a UUID?
Open the page and a set of UUIDs is already there. Click Generate for new ones, then Copy.
What is the difference between a UUID and a GUID?
None in practice. GUID is Microsoft’s name for a UUID.
Are these UUIDs unique?
Yes, for all practical purposes. The chance of two random UUIDs matching is vanishingly small.
Can I generate UUIDs in bulk?
Yes. Enter any number up to 5,000 and download the list as a text file.