UUID Generator
Generate random UUID v4 or time-ordered UUID v7 in one click.
DeveloperResult
Enter your values and calculate; the result will show up here.
How does it work?
The UUID Generator creates unique identifiers using two different standards. v4 consists of 122 fully random bits, aside from its version and variant bits — every byte comes from a cryptographic random number generator. v7 is built so its first 48 bits are a millisecond-precision timestamp, with the rest random; that means UUIDs generated one after another with v7 sort by creation time and perform better in database indexes than v4. You can format the output with uppercase and with or without hyphens. Example: a UUID generated with v4 looks like '247e2aec-0a28-4a88-af4d-2f9256434dd2' — the first character of the third group, '4', marks it as v4 (every generation is random, so the output changes every time). Choosing v7 gives you the same structure but with the third group starting with '7', and the first two groups encoding the current timestamp — for example '01a213f6-9cf0-7e7f-9930-b99baac8e42f'. Use this tool to generate unique identifiers for a database table's primary key, create test data, add a unique tracing ID to an API request, or avoid filename collisions.
Similar Tools
Toolbox Get your Toolbox ready.
Star the tools you use most and, with an account, they follow you to every device.
Frequently asked questions
How unique is a UUID?
A v4 UUID has 122 random bits, so generating the same one twice is practically impossible.
What's the difference between v4 and v7?
v4 is fully random. The first 48 bits of v7 are a millisecond timestamp, so it sorts by creation time.
What do the characters in the middle of a UUID mean?
The first character of the third group marks the version (4 or 7), and the first character of the fourth group is the RFC 4122 variant bit; every other character is fully random in v4, or partly derived from the timestamp in v7.
Does uppercase or no-hyphens change what the UUID means?
No, those are display options only; the same UUID represents the same value regardless of case or hyphens.
How many UUIDs can I generate at once?
Up to 100 at a time; run the tool again if you need more.