What the UUID Generator does
The UUID Generator creates universally unique identifiers: 128-bit IDs written as 36 characters, such as 3f2b8c1e-9a4d-4f6b-8e2a-1c7d5e9b0a34. Choose version 4, which is fully random, or version 7, which starts with the current time so IDs sort in the order they were made. Make one or up to 1,000 at a time.
How to use it
- Choose Version 4 or Version 7.
- Set how many you need, from 1 to 1,000. A fresh set appears straight away.
- Change the format: uppercase, with or without hyphens, or wrapped in braces.
- Copy one UUID, copy them all, or download them as a text file. Press Generate for a new set.
Example
You are seeding a test database with 200 customer records and need an ID for each. Choose version 7, set the count to 200 and download the list. Because version 7 IDs begin with a timestamp, rows inserted in that order stay close together in the database index, which keeps inserts fast.
Version 4 or version 7?
Version 4 uses 122 random bits, so two IDs will practically never collide and nothing about when or where they were made can be read from them. Version 7 puts the creation time, in milliseconds, in the first 48 bits and fills the rest with random bits. That makes it a good choice for database primary keys, while version 4 suits public IDs where hiding the creation time matters.
Both are made with your browser’s secure random number generator, the same source used for encryption keys.
Questions people ask
Can two generated UUIDs ever be the same?
In practice, no. With 122 random bits you would need to make billions every second for many years before a repeat became likely.
Are these UUIDs stored anywhere?
No. They are made in your browser and never sent or saved.
Is a GUID the same as a UUID?
Yes. GUID is another name for the same format. Use the braces option for the style some Windows tools expect.
Can I see when a version 7 UUID was made?
Yes. The first 12 hex digits are the Unix time in milliseconds. Convert them from hex with the Timestamp Converter.