UUID Generator
Generate version 4 and version 7 UUIDs in bulk, and validate or decode any UUID.
Inspect a UUID
A UUID (universally unique identifier, also called a GUID) is a 128-bit ID like 8f14e45f-ceea-467f-a0e6-9b5d6c5f2a1b that can be created anywhere, by anyone, without coordination - and still never collide in practice. This generator makes them in your browser using its cryptographically secure random number generator.
Version 4 or version 7?
- Version 4 is 122 bits of pure randomness. It reveals nothing about when or where it was made, which makes it the safe default for public IDs and tokens.
- Version 7 starts with the current time in milliseconds, so UUIDs sort in the order they were created. Databases love this: new rows land at the end of the index instead of scattered through it, keeping inserts fast. The trade-off is that anyone can read the creation time from the ID.
A batch of version 7 UUIDs generated together is guaranteed to stay in order, even within the same millisecond, thanks to a built-in counter (as described in RFC 9562).
Formats
- Standard:
8f14e45f-ceea-467f-a0e6-9b5d6c5f2a1b - No hyphens:
8f14e45fceea467fa0e69b5d6c5f2a1b - Braces:
{8f14e45f-ceea-467f-a0e6-9b5d6c5f2a1b} - URN:
urn:uuid:8f14e45f-ceea-467f-a0e6-9b5d6c5f2a1b
Frequently asked questions
Can two UUIDs ever be the same?
In theory, yes; in practice, no. You would need to generate about a billion version 4 UUIDs every second for 85 years to reach even a 50% chance of a single duplicate.
Is a UUID the same as a GUID?
Yes - GUID is Microsoft's name for the same thing. Some Microsoft tools show them in braces and uppercase, which the Format options can match.
Are these UUIDs safe to use as secrets?
Version 4 UUIDs from this tool are cryptographically random, but a UUID is an identifier, not a password. For secrets, use a dedicated password generator with more entropy.
Is anything sent to a server?
No - UUIDs are generated and inspected entirely in your browser.
Related tools
Also try the Hash Generator, the Password Generator, or browse all Developer tools.
Runs entirely in your browser - nothing you enter or upload is sent to a server.
Need it to do something else? Request a tool