How to use the UUID Generator
- Choose the version: v4 for fully random ids, v7 for ids that sort by creation time.
- Enter how many you need (1 to 1000) and adjust the format: uppercase, no hyphens or wrapped in braces.
- Press Generate, then "Copy all". The list is one UUID per line.
- To check an existing id, paste it into the validator. It reports the version and, for v7, the embedded timestamp.
What a UUID is
A UUID is a 128-bit identifier written as 32 hex digits in the pattern 8-4-4-4-12. It is designed so that ids can be created independently on many machines without a central authority and still be unique in practice. RFC 9562 (2024) is the current specification and replaces RFC 4122.
The first digit of the third group is the version and the first digit of the fourth group encodes the variant. In a v4 UUID the version digit is always 4, and for standard UUIDs the fourth group starts with 8, 9, a or b.
v4 versus v7
A v4 UUID has 122 random bits. It reveals nothing about when or where it was created, which is good for opaque identifiers. The downside is that random values scatter across a database index, which can slow inserts into large tables.
A v7 UUID starts with a 48-bit Unix timestamp in milliseconds, so newer ids sort after older ones. That keeps index writes mostly sequential while the remaining bits stay unique. The timestamp is visible in the id, so avoid v7 where creation time must stay private. The generator here increases a counter inside the same millisecond so ids created in one batch stay in order.
Frequently asked questions
Can two generated UUIDs be the same?
In theory yes, in practice no. A v4 UUID has 122 random bits, so the chance of a collision is negligible for any realistic number of ids when the random generator is good, and this tool uses the browser's cryptographically secure generator.
Should I use a UUID as a secret token?
It is better to use a dedicated token generator. UUID v4 is unpredictable, but the format is meant for identification, not for authorization, and v7 contains a timestamp. For API keys and session tokens use a long random value from a security library.
What is the difference between a UUID and a GUID?
They are the same thing. GUID is the name Microsoft uses, and it is usually written in uppercase and sometimes in braces, which the format options here can produce.
Is my UUID list stored or sent anywhere?
No. Ids are generated in your browser and are not stored or transmitted.
What is the all-zero UUID?
The nil UUID, 00000000-0000-0000-0000-000000000000, is defined by the standard as a special value meaning "no UUID". The validator accepts it.