UUID v4 generator
Generate up to 100 random version-4 UUIDs with browser cryptographic randomness.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
A UUID (universally unique identifier) is a 128-bit ID written as 36 characters, such as 9af69896-65a4-45b8-a7e6-a276069700fd. Version 4 UUIDs are random, so they can be created anywhere without coordination with near-zero risk of collision. Developers use them as database primary keys, request IDs, file names and test fixtures.
This generator creates between 1 and 100 version-4 UUIDs in your browser using the Web Crypto random generator. Nothing is sent or stored.
How to use it
- Enter how many UUIDs you need, from 1 to 100.
- Run the generator.
- Copy the list, one UUID per line, or download it.
- Run it again whenever you need fresh IDs; every run produces new values.
How the calculation works
Each UUID comes from crypto.randomUUID(), which sets the version nibble to 4 and the variant bits to RFC 4122/9562, with 122 random bits.
crypto.randomUUID()Worked example
Seeding a test database with three customers, you generate 3 UUIDs such as 9af69896-65a4-45b8-a7e6-a276069700fd. The "4" at the start of the third group marks the version, and the first character of the fourth group is 8, 9, a or b, marking the variant.
Sample input and result
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
Limitations
- Version 4 only.
- Up to 100 per run.
- Lowercase hexadecimal output.
Last updated:
Frequently asked questions
Can two UUIDs ever be the same?
In theory yes, in practice the chance is negligible: you would need to generate billions per second for many years to expect a duplicate.
Are they suitable as secret tokens?
They are unpredictable, but dedicated tokens with more randomness, such as from the password generator, are better for secrets.
What about time-ordered UUIDs (v7)?
This tool generates v4 only. Version 7 UUIDs embed a timestamp and sort by creation time.
Troubleshooting
My database rejects them.
Some systems expect uppercase or no hyphens. Convert with the case converter or remove hyphens with find and replace.
Generation fails in an old browser.
crypto.randomUUID needs a modern browser served over HTTPS.
I need the same IDs again.
They are random each time; save the list you generated.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
JSON formatter & validator
Validate, pretty-print or minify JSON locally. Invalid data is never sent to a server.
Developer & SEOCSV to JSON converter
Convert CSV headers and records to JSON, supporting quoted delimiters and line breaks.
Developer & SEOJSON to CSV converter
Convert a flat array of objects to CSV. Formula-like strings receive a protective prefix for spreadsheet imports.
Developer & SEO