How to use
Pick a version and a count
Choose a version, then type a number from 1 to 10,000 in How many. For v3 or v5, choose a namespace and enter names, one per line, instead of a count.
Generate and format
Click Generate. Tick UPPERCASE, Hyphens, {Braces} or urn:uuid:, choose quotes for SQL or JSON, and pick a separator. The list changes format without generating new IDs.
Copy, download or decode
Use Copy all or a single Copy button, or download .txt, .csv or .json. Paste any UUID into Validate and decode to see its version, variant and embedded time.
Why UUID Generator
- Versions 1, 3, 4, 5, 6 and 7, plus nil and max UUIDs.
- Up to 10,000 per click, with GUID, SQL and JSON formatting.
- A validator that reads the version, variant and timestamp.
- Uses the Web Crypto API, and nothing is logged or sent to a server.
UUID versions compared
All UUIDs share the same 36-character layout, but the version decides how the bits are filled. This tool generates every version below, plus v3 (like v5 but with MD5) and the nil and max values. For v1 and v6 it fills the node part with random bits instead of your network card's MAC address.
A quick rule: use v4 when you just need a unique, unguessable ID, v7 when the ID will be a database key or needs to sort by creation time, and v5 when the same input must always produce the same ID.
| Version | How it is built | Typical use |
|---|---|---|
| v1 | Timestamp plus a node ID, often the network card's MAC address | Legacy systems; can reveal the machine and time |
| v4 | 122 random bits | General purpose; the most common version |
| v5 | SHA-1 hash of a namespace and a name | Repeatable IDs, such as one ID per URL |
| v6 | The v1 timestamp reordered, most significant bits first | Moving v1 systems to IDs that sort by time |
| v7 | 48-bit Unix time in milliseconds plus random bits | Database keys and anything that should sort by time |