UUID generator
Create unique identifiers for databases, APIs and test data. Generate up to 1,000 UUIDs at once, either random version 4 or version 7, which starts with a timestamp so new IDs sort in creation order and keep database indexes fast. Format them in upper case, without hyphens or with braces as Microsoft-style GUIDs, then copy or download them. The inspector reads any UUID and shows its version, variant and, for time-based UUIDs, when it was created.
Version
Inspect a UUID
How to use the UUID Generator
- 1
Pick a version
Choose v4 for fully random IDs or v7 for IDs that sort by creation time.
- 2
Set how many
Enter a number from 1 to 1,000 and press Generate.
- 3
Choose a format
Tick upper case, remove hyphens or add braces to match your system.
- 4
Copy or download
Copy the list or save it as a text file, one UUID per line.
How UUIDs are built
A UUID is 128 bits written as 32 hex digits (RFC 9562). Version 4 fills 122 bits with cryptographically secure random data from your browser; the chance of two ever colliding is negligible.
Version 7 stores the Unix time in milliseconds in the first 48 bits and fills the rest with random bits. The version digit (the 13th hex digit) and the variant bits tell software how to read the rest.
- v4: xxxxxxxx-xxxx-4xxx-[89ab]xxx-xxxxxxxxxxxx
- v7: [48-bit ms timestamp]-7xxx-[89ab]xxx-…
When to use it
- Create primary keys for database rows or records in a spreadsheet.
- Generate IDs for test data, API requests or configuration files.
- Find out when a v1 or v7 UUID in your logs was created.
Limits
- Up to 1,000 UUIDs per batch.
- UUIDs are unique, not secret: don't use them as passwords or security tokens.
Privacy
UUIDs are generated in your browser with the Web Crypto API. Nothing is sent to or stored on a server.
Frequently asked questions
Should I use UUID v4 or v7?
Use v7 for database keys: it sorts by time, which keeps indexes compact. Use v4 when you don't want the creation time to be visible.
Can two UUIDs ever be the same?
In practice, no. Version 4 has 122 random bits; you would need billions of IDs per second for many years before a collision became likely.
What is the difference between a UUID and a GUID?
They are the same thing. GUID is Microsoft's name, often written in upper case with braces.
Does a v7 UUID reveal when it was created?
Yes, to the millisecond. The inspector shows it. Use v4 if that matters.
Are these UUIDs random enough for security?
They use a secure random generator, but UUIDs are designed as identifiers. For secret tokens, use a password or key generator.
What is the nil UUID?
00000000-0000-0000-0000-000000000000, a special value meaning 'no UUID'. The max UUID (all f) is its counterpart.
Related tools
People also use
- JWT Generator & SignerCreate and sign JSON Web Tokens with HMAC, RSA or ECDSA keys, entirely in your browser.
- Base64 Encoder & DecoderEncode and decode Base64 and Base64url, text or files.
- URL Encoder & DecoderPercent-encode or decode URLs and see their query parameters.
- CSV to JSON ConverterConvert CSV ⇄ JSON with correct quoting, types and nested data.
Last updated November 19, 2026 · How we build and test our tools