One for a quick identifier, or up to a hundred for a seed file.
2
Set the format
Lowercase with hyphens by default; uppercase, no hyphens and braces are available.
3
Copy or download
One per line, ready for a database seed or a test fixture.
What the version and variant bits mean
A UUID is 128 bits written as 32 hexadecimal digits. Four of those bits are not random: they record the version, and two more record the variant. A version 4 UUID marks itself as randomly generated and is the only kind this page makes.
Version 1 UUIDs are time-based and leak the machine's MAC address in the original scheme; version 7 is time-ordered and better for database keys because it keeps inserts sequential. Neither is offered here, because generating them correctly needs a clock and a node identifier, and a wrong one is worse than none.
Where the randomness comes from
Each UUID comes from the browser's cryptographic random generator, the same source used for keys, and the version and variant bits are set afterwards. It is not Math.random, whose output is predictable enough that collisions and guesses become possible.
A version 4 UUID has 122 random bits. You would need to generate about 2.7 × 1018 of them before a 50% chance of any collision, so for identifiers in an application the probability is not a practical concern. It is still not a substitute for a unique index in the database.
Formatting variants
The canonical form is lowercase, hyphenated, 36 characters. Uppercase is common in SQL Server and in some .NET output; braces appear in Windows registry keys and older COM code; the unhyphenated 32-character form is used in some APIs and in the N format of .NET.
All four are the same value. Pick the form the receiving system expects, and be consistent inside one system, because a database that stores both forms will happily create two rows for one entity. For other random identifiers, use the password generator with a long length.
Frequently asked questions
Are these UUIDs unique?Version 4 UUIDs use 122 random bits, so a collision is not a practical concern. Use a unique database index anyway.Can it generate version 1 or version 7 UUIDs?No. Only version 4, which needs nothing but randomness.Are they cryptographically random?Yes. They come from the browser's cryptographic generator, not Math.random.Why uppercase or braces?Some systems, such as SQL Server and the Windows registry, use those forms. They are the same value.How many can I generate at once?Up to 100 per run. Run it again for more.Is anything uploaded?No. The values are generated in this tab.