UUID Generator
Developer Tools ยท Added 14 July 2026
Generate version 4 UUIDs using the browser's cryptographically secure random number generator. Produce one or a thousand, switch to uppercase, strip the hyphens or wrap them in braces, then copy the lot.
How to use the uuid generator
- 1Set how many UUIDs you need.
- 2Choose your formatting: uppercase, hyphens, braces.
- 3Press Generate.
- 4Copy the whole list, or a single value with the button beside it.
Examples
Standard v4
- Input
- 1 UUID, default format
- Result
- 3f2a8c1e-9b4d-4f7a-a2c5-6e8d1b0f4a93
Bulk seed data
- Input
- 500 UUIDs, uppercase, no hyphens
- Result
- 500 32-character identifiers, one per line
About the uuid generator
Why UUIDs exist
A database auto-increment requires a single authority to hand out the next number. That works until you have several databases, or a mobile client that must create records offline, or a distributed system where round-tripping to a central sequence is too slow.
A UUID solves that by making collisions statistically impossible rather than structurally impossible. Any node can mint an identifier independently and the values will not clash.
Reading the format
The canonical form is 8-4-4-4-12 hexadecimal digits. The first digit of the third group gives the version โ a 4 here means version 4 โ and the first digit of the fourth group encodes the variant, which is why it is always 8, 9, a or b in the values above.
Those two fields are why a v4 UUID has 122 random bits rather than 128. It is also a quick way to identify what generated an identifier you have found in a log file.
Frequently asked questions
Are these UUIDs really unique?
What do version 1 and version 7 do differently?
Should I use a UUID as a primary key?
Can I generate these offline?
Related tools
Timestamp Converter
Developer Tools
Convert Unix timestamps to human dates and back, in local time and UTC.
Base64 Encoder / Decoder
Developer Tools
Encode text to Base64 and decode it back, with full Unicode and URL-safe support.
JSON Formatter
Developer Tools
Pretty-print, minify and inspect JSON with precise error positions.