UUID Generator
Generate v4 and v7 UUIDs in bulk, cryptographically random.
What does UUID Generator do?
Generate RFC 9562 UUIDs — random version 4, or time-ordered version 7 which sorts chronologically and makes a far better database key. Produce one or thousands at a time in whichever format your system expects.
How to Use UUID Generator
- 1Pick a versionv4 for pure randomness, v7 for sortable keys.
- 2Set the quantityOne, or up to a thousand.
- 3Choose the formatMatch whatever your system expects.
- 4Copy or downloadAll values at once.
Key Features
- Version 4 (random) and version 7 (time-ordered) UUIDs
- Generate up to 1,000 at once
- Standard, uppercase, braced {…}, URN and no-hyphen formats
- Cryptographically secure randomness, never Math.random
- Copy all or download as a text file
Frequently Asked Questions
Should I use UUID v4 or v7?
v7 for anything stored in a database. Its leading timestamp means new rows insert at the end of the index instead of scattering across it, which avoids the page-split churn that v4 causes. Use v4 where the value must reveal nothing about when it was created.
Can two UUIDs collide?
In practice, no. A v4 UUID has 122 random bits — roughly 5.3 × 10³⁶ possibilities. You would need to generate a billion a second for 85 years to reach a one-in-a-billion collision chance.
Is a UUID the same as a GUID?
Yes, functionally. GUID is Microsoft’s name for the same 128-bit identifier, usually written in braces. The braced format option produces exactly that.
Does a v7 UUID leak information?
It embeds the creation time to millisecond precision, which is visible to anyone holding the value. That is usually harmless, but use v4 if the timing itself is sensitive.
Values come from crypto.getRandomValues, your browser’s cryptographically secure random source, and are never transmitted or logged. Copy anything you need before closing the tab — it cannot be recovered.
Related Tools
UUID Validator
Check whether a UUID is valid and identify its version.
Random String Generator
Generate random strings, IDs and codes in bulk.
Password Generator
Create strong random passwords and memorable passphrases.
Random Token Generator
Generate API tokens, session keys and CSRF tokens.