UUID/GUID Generator & Validator
Generate RFC 9562 UUIDs — random version 4 or time-ordered version 7 — one at a time or up to 1,000 at once, and check whether any UUID or GUID you paste is valid. A UUID (universally unique identifier) is a 128-bit value usually written as 36 characters, such as 550e8400-e29b-41d4-a716-446655440000; GUID is Microsoft's name for the same thing. Random bits come from your browser's Web Crypto generator, and nothing leaves your browser.
- Free to use
- No account required
- Generated in your browser
UUID/GUID Generator & Validator
Was this tool helpful?
Good to know
- Useful for
- Database primary keys, test data, message and request IDs, file names and configuration values — and checking IDs from logs, APIs or other systems.
- Accepts
- A version (4 or 7), a quantity from 1 to 1,000, a format and the uppercase option; or one UUID/GUID to validate
- Produces
- UUIDs in the order generated, to copy (one per line) or download as uuids.txt or uuids.csv; or a validation result with the normalized lowercase UUID
Privacy
UUIDs are generated and validated in your browser. Generated IDs and anything you paste into the validator aren't uploaded, logged, sent to analytics or an AI service, or saved in browser storage, cookies or the page address, and they disappear when you reload the page.
Limitations
- UUIDv4 has 122 random bits and UUIDv7 has 74, so duplicates are extremely unlikely, but no UUID is mathematically guaranteed to be unique.
- UUIDv7 uses the plain random layout from RFC 9562 without a counter: IDs from different milliseconds sort by time, but IDs created in the same millisecond can sort in any order, and a clock that moves backwards affects ordering.
- A UUIDv7 reveals roughly when it was generated. Use v4 if that timing should stay private.
- UUIDs are identifiers, not secrets: don't use them as passwords, encryption keys, API secrets or login tokens.
- The validator accepts the four text formats shown; other encodings, such as Base64 or the byte order Windows uses when storing a GUID in binary, aren't parsed.
Tips
- Prefer v7 for database keys when you want new rows to cluster by time; prefer v4 when IDs shouldn't reveal anything.
- The compact and URN formats contain exactly the same 128 bits as the canonical form — only the text changes.
- Need random numbers rather than identifiers? Use the Random Number Generator (/calculator/random-number-generator).
How to generate or validate a UUID
- Choose v4 (random) or v7 (time-ordered).
- Enter how many UUIDs you need, from 1 to 1,000.
- Pick a format — canonical, compact, braces or URN — and tick Uppercase if you need capital A–F.
- Press Generate UUIDs, then copy them or download them as TXT or CSV.
- To check an existing ID, paste it into Validate a UUID or GUID and press Validate to see its version, variant and, for v7, its encoded time.
Frequently asked questions
What is a UUID generator?
A UUID generator creates universally unique identifiers: 128-bit values written as 32 hexadecimal digits in five hyphen-separated groups, such as 550e8400-e29b-41d4-a716-446655440000. This one creates RFC 9562 version 4 and version 7 UUIDs in your browser, from 1 to 1,000 at a time, using the Web Crypto random number generator rather than Math.random.
What is the difference between a UUID and a GUID?
In practice they're the same thing. GUID (globally unique identifier) is the name Microsoft uses, and GUIDs are usually written in the same 8-4-4-4-12 format, sometimes in braces like {550e8400-e29b-41d4-a716-446655440000}. The one real difference is how Windows stores some fields in binary (a different byte order); the text form is identical.
What is the difference between UUID v4 and UUID v7?
A version 4 UUID is random: apart from 6 fixed version and variant bits, all 122 bits are random, so it reveals nothing. A version 7 UUID starts with the current Unix time in milliseconds (48 bits), followed by the version, variant and 74 random bits, so newer IDs sort after older ones. That helps database indexes, but anyone can read the creation time from a v7 UUID.
Can I generate multiple UUIDs at once?
Yes. Enter any quantity from 1 to 1,000 and press Generate UUIDs. They appear numbered in the order they were generated, and you can copy them all (one per line) or download them as uuids.txt or uuids.csv, which has a uuid header. Duplicates aren't removed or re-drawn, because a valid generator doesn't need to.
How can I validate a UUID or GUID?
Paste it into Validate a UUID or GUID and press Validate. The whole input must be one UUID in canonical form, 32 digits without hyphens, in braces or with a urn:uuid: prefix; upper or lower case is fine. You'll see the normalized lowercase form, the version and variant, whether it's the special Nil or Max UUID, and for version 7 the encoded time in UTC.
Does UUID v7 contain a timestamp?
Yes. Its first 48 bits are a Unix timestamp in milliseconds, which the validator shows as a UTC date and time. Treat it as what the UUID claims rather than proof of when it was made: anyone can construct a UUIDv7 with any timestamp. Because the time is readable, choose v4 when creation times should stay private.
Are UUIDs guaranteed to be unique?
No, but collisions are extremely unlikely when UUIDs are generated correctly. A v4 UUID has 122 random bits and a v7 UUID has 74 random bits within each millisecond, so the chance of two matching is negligible for practical purposes, but not zero. UUIDs also aren't secrets: they're identifiers, not passwords or access tokens.
Are the generated UUIDs stored or uploaded?
No. UUIDs are generated in your browser with Web Crypto, and anything you paste into the validator is checked in your browser too. Nothing is uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address. Reloading the page clears everything.
Related text and writing tools
Related guides
- 8 min readUUID v4 vs. v7: Which Should You Use?Use UUID v7 for database keys that should sort by creation time and v4 when an ID mustn't reveal when it was made. Neither is a secret. Tested with 20 of each.
- 8 min readHow to Fix "Invalid JSON" ErrorsFind the mistake from a JSON error's line and column, then fix trailing commas, single or curly quotes, comments, NaN, leading zeros, a BOM or a missing brace.
- 8 min readBase64 Is Not Encryption: How to Encode, Decode and Check Base64Base64 turns bytes into 64 safe characters, about a third bigger, and anyone can decode it. See tested UTF-8 and file examples, and why decoding fails with line breaks, data: or padding.

