Generate UUIDs in versions 1, 3, 4, 5, 6 and 7, one at a time or in bulk. Pick a version, set how many you need, and regenerate with one click. Name-based versions take a namespace and a name, and the result copies as a plain list.
Everything runs locally in your browser. Your data never leaves your device.
122 random bits. The default choice for identifiers.
Result
0 UUIDs
Next steps
Send this tool's output straight into another tool.
This tool generates UUIDs in every version you are likely to meet: the random version 4, the sortable version 7, the time-based versions 1 and 6, the name-based versions 3 and 5, and the special nil and max values.
Random and time-based versions come one at a time or in bulk, up to 500 per click. The name-based versions take a namespace and a name instead, and always return the same UUID for the same input.
What you can do
Generate a random version 4 UUID, or hundreds at once.
Generate sortable version 7 UUIDs for database keys.
Derive a version 3 or 5 UUID from a namespace and a name.
Generate time-based version 1 and 6 UUIDs.
Copy a single UUID, or copy and download a whole list.
Switch the output to uppercase.
How to use the UUID Generator
1Pick the version. Version 4 is the safe default, version 7 if the ids should sort by creation time.
2Set how many you need and click Regenerate for a fresh batch.
3For version 3 or 5, choose a namespace and type the name to hash.
4Copy the result, or download the list as a text file.
Which version to pick
Version 4 is pure randomness and the right answer for most identifiers. Version 7 puts a Unix timestamp in front of the randomness, so ids created later sort later, which keeps database indexes happy. Versions 1 and 6 encode a Gregorian timestamp plus a node id, with 6 being the modern layout that sorts naturally. Versions 3 and 5 hash a namespace and a name, so the same input always maps to the same UUID, useful when two systems must independently agree on an id. Version 5 (SHA-1) is preferred over 3 (MD5).
To look inside any of these, paste one into the UUID Decoder.