UUID generator
Generate unique IDs for databases, APIs, test data and file names. Make up to 1,000 UUIDs at once: version 4 (fully random) or version 7 (time-ordered, which keeps database indexes fast). Choose capital letters, no hyphens or braces for Microsoft-style GUIDs, then copy or download them. Paste any UUID into the checker to see whether it's valid, which version it is and, for v1 and v7, when it was created.
Check a UUID
How to use the UUID generator
- Choose v4 (random) or v7 (time-ordered).
- Enter how many you need, and pick a format.
- Click Generate, then Copy all or Download.
- To check a UUID, paste it into Check a UUID.
How it works
A UUID (universally unique identifier), also called a GUID, is a 128-bit number written as 32 hexadecimal digits in five groups: 8-4-4-4-12. For example:
550e8400-e29b-41d4-a716-446655440000
The first digit of the third group is the version, and the first digit of the fourth group shows the variant (8, 9, a or b for standard UUIDs).
Version 4 is made of 122 random bits, from your browser's secure random generator (crypto.getRandomValues). There are about 5.3 × 10³⁶ possible v4 UUIDs, so the chance of making the same one twice is practically zero.
Version 7 (defined in RFC 9562, 2024) starts with the current time in milliseconds, followed by random bits. New v7 UUIDs sort in the order they were made, which is faster for database primary keys than random v4 UUIDs. They do reveal roughly when they were created.
All UUIDs are generated in your browser, and none are stored or sent anywhere.
Example
A v4 UUID looks like 3f1c2b8e-9d4a-4e6f-b2a1-7c5d8e9f0a1b: the 4 at the start of the third group marks version 4.
A v7 UUID made on 1 January 2026 at midnight UTC starts with 019b76da-a800-7…: the first 12 digits are the time, 1767225600000 ms, in hexadecimal.
Frequently asked questions
Are UUIDs really unique?
Not guaranteed, but practically yes. With 122 random bits in a v4 UUID, you would need to make about 2.7 quintillion of them for a 50% chance of a single repeat.
What is the difference between UUID and GUID?
They are the same thing. GUID is Microsoft's name for a UUID. Microsoft tools often show GUIDs in capital letters inside braces, which you can choose here.
Should I use UUID v4 or v7?
Use v7 for database primary keys, because new IDs sort in time order and keep indexes efficient. Use v4 when the ID shouldn't reveal when it was made.
Are these UUIDs safe to use as secret tokens?
v4 UUIDs come from a secure random source, but they are not designed as secrets. For passwords and security tokens, use a dedicated generator such as the password generator.
Last updated: 29 October 2026