UUID / GUID Generator
Generate random version 4 UUIDs in bulk, with formatting options.
Generators Runs in your browser
What is a UUID?
A version 4 UUID is 128 bits with a fixed layout: 4 bits mark the version, 2 mark the variant, and the remaining 122 are random. NMSnabbit fills them via crypto.randomUUID(), so the odds of two generated IDs colliding are about 1 in 2^122. Generate a batch in one click, then format as uppercase, brace-wrapped or hyphen-free to match your codebase.
How to use the UUID Generator
- 1 Set the count field to the number of UUIDs you want.
- 2 Toggle uppercase, braces or hyphen removal to suit.
- 3 Press Generate; each ID comes from crypto.randomUUID().
- 4 Copy a single UUID or the whole batch.
What you can use it for
- Creating primary keys for database rows.
- Assigning unique IDs to API objects or events.
- Seeding test fixtures.
- Tagging log entries with correlation IDs.
Frequently asked questions
What UUID version is generated?
Version 4, the random kind. You can spot it in the output: the third group always starts with 4, and the fourth starts with 8, 9, a or b.
Can UUIDs collide?
In theory; in practice, no. With 122 random bits you would need to generate around 2^61 UUIDs before a duplicate becomes likely, which is billions of IDs per second for decades.
Can I generate many at once?
Yes, raise the count and one click fills the list. Bulk output copies as one UUID per line, ready for a seed script or spreadsheet column.
Which format should I pick?
Match the consumer. C# and SQL Server tooling often wants braces or uppercase; most JSON APIs expect lowercase with hyphens; some databases store the 32-character hyphen-free form.
Related tools
More Generators
More tools like this:
All Generators