UUID Generator
Random v4 or time-ordered v7 UUIDs, up to 1000 at once, plus a checker that reads the version and time of any UUID.
How it works
Choose version 4 (fully random) or version 7 (starts with the current time, so new ones sort after old ones). Pick how many, a format (plain, UPPERCASE, no hyphens, braces for .NET, or a SQL-ready quoted list) and copy or download them.
Paste any UUID in the checker to see its version, its variant and, for versions 1 and 7, the time hidden inside.
The formula
v7 = 48-bit unix time in ms + version + counter + random bits
Worked example
A v4 UUID looks like 3f2b8c1e-9a4d-4e7b-8c21-5d6a9b0e1f34. The 4 at the start of the third group is the version. A v7 starts with a timestamp: 018f... (hex of the milliseconds since 1970).
Good to know
- Use v7 for database primary keys. Because ids arrive in order, the index stays tidy and inserts are faster than with random v4.
- A UUID is not a secret. Do not use one as a password or token, use the Secret Generator.
- Within the same millisecond the v7 ones from this tool count up, so a batch is always in sorted order.
Common questions
- Can two UUIDs ever collide?
- For v4 the chance is so small that it does not matter in practice (122 random bits).
- What is the difference between a UUID and a GUID?
- None in practice. GUID is the Microsoft name.
- Does v7 leak when something was created?
- Yes, the time is readable. Use v4 if that matters.
- Where does v7 come from?
- It is defined in RFC 9562 (2024).
More in Developer.
See the ASCII code of every character in decimal, hex, binary and octal, or turn codes back into text.
OPEN →Axios Request GeneratorFill in a method, URL, headers and body and get a ready Axios Request snippet to copy.
OPEN →Base32 Encoder and DecoderEncode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.
OPEN →