How to use the UUID Generator
- 1
Pick a version. v4 is the right default; choose v7 for database keys, v1 for legacy systems, or v5 and v3 to derive the same UUID from a name every time.
- 2
Set how many you need, from 1 to 10,000, or use the quick buttons for 1, 10, 100 or 1,000.
- 3
Choose the format: uppercase, no hyphens, braces, quotes or the urn:uuid: prefix, and lay the list out one per line, comma separated or as a JSON array.
- 4
For v5 and v3, pick a namespace (DNS, URL, OID, X.500 or your own UUID) and type the name to hash.
- 5
Copy the list or download it as a text file. Paste any UUID into the inspector to see its version, variant and embedded timestamp.
Features
- Generates v4, v7, v1, v5 and v3 UUIDs following RFC 9562, plus the nil and max UUIDs
- Up to 10,000 UUIDs at once using the browser's cryptographic random source
- v7 UUIDs are strictly increasing even within the same millisecond
- Name-based v5 and v3 with the standard DNS, URL, OID and X.500 namespaces or a custom one
- Uppercase, hyphen-free, braces, quotes and URN formats, as lines, comma lists or JSON arrays
- Inspector shows the version, variant and the timestamp hidden inside v1, v6 and v7 UUIDs
- Validates pasted UUIDs and explains exactly what is wrong with malformed ones
- Runs entirely in your browser; nothing is uploaded or logged
What a UUID is
A universally unique identifier is a 128-bit number written as 32 hex digits in five groups, such as 2ed6657d-e927-568b-95e1-2665a8aea6a2. Any system can create one without asking a central server and be confident nobody else will create the same value. That property makes UUIDs the standard choice for database keys in distributed systems, request and trace IDs, file names, and identifiers created on the client before a record is saved.
Four bits of every UUID give its version and two or three give its variant. The inspector on this page reads those bits, and for time-based versions it also recovers the moment the UUID was created.
Choosing v4 or v7
Version 4 is pure randomness and the safe default. Version 7, standardised in RFC 9562 in 2024, puts a 48-bit Unix millisecond timestamp in front of the random bits. The result sorts by creation time, which databases reward with smaller, faster indexes, and you can read the creation time back from the key itself. This generator keeps a counter inside each millisecond, so a batch of v7 UUIDs is strictly increasing even when thousands are created at once.
Name-based versions are different in kind: they are not random at all. A v5 UUID for the DNS namespace and www.example.com is the same on every machine, forever, which is exactly what you want when mapping an existing identifier to a UUID.
Related tasks
To fingerprint data rather than identify it, use the Hash Generator. UUIDs often appear as the jti or sub claim in tokens, which the JWT Decoder explains.
Frequently asked questions
Which UUID version should I use?
Are these UUIDs really unique?
Why is v7 better than v4 for database keys?
How do v5 and v3 UUIDs work?
Does a v1 UUID reveal my MAC address?
Are the UUIDs sent to a server?
Last updated .