UUID Generator — Random v4 & v7 UUIDs
- This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.
0 UUIDs
Inspect a UUID
About this tool
UUIDs (also called GUIDs) are 128-bit identifiers that are practically guaranteed to be unique without any central coordination. Version 4 is fully random; version 7 starts with a millisecond timestamp, so IDs sort by creation time and index better in databases.
IDs are generated with your browser’s cryptographically secure random number generator. Choose how many you need (1 to 1,000), the format, and copy them individually, copy them all or download them as a .txt file. Format options are uppercase, with or without hyphens, and with {braces}; so a v4 UUID can be written as 5e3336fd-4118-4696-88e8-c6cdcb23f756, 5E3336FD4118469688E8C6CDCB23F756 or {5E3336FD-…}. Press Generate for a fresh batch.
Paste any UUID into the inspector to see its version — and for v7, the moment it was created in your local time. For instance, a v7 UUID beginning 019bc186-de00 was made on 15 January 2026, since the first 48 bits hold the millisecond timestamp. A v4 UUID reveals only its version, because it carries no time.
Note that the random part of each v7 ID is not a counter. IDs created in different milliseconds sort in creation order, but two made in the same millisecond may not. If you need strict ordering within a millisecond, add a sequence column in your database. And since v7 reveals when a record was created, avoid it for identifiers that must not leak timing, such as public tokens.
Frequently asked questions
Should I use v4 or v7?
Use v7 for database primary keys because time-ordered IDs keep indexes compact. Use v4 when you don’t want the creation time to be visible.
Can two generated UUIDs collide?
In practice, no. A v4 UUID has 122 random bits; you would need to generate billions per second for many years before a collision became likely.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft’s name for the same 128-bit format; the braces option produces the {…} style common in Windows tooling.
Are these safe to use as secret tokens?
They come from a secure random generator, but a UUID is meant to be an identifier, not a password. Use the Password Generator for secrets.
Why is the limit 1,000?
To keep the page responsive. Generate again, or download the list as a text file and combine batches, if you need more.