UUID generator — version 4 random UUIDs
Generate random UUIDs (version 4) for test rows, temp filenames, request IDs, or database keys. Batch copy when you need many at once. UUIDs are not magical global uniqueness forever, but collision risk is negligible for everyday development.
A UUID is 128 bits, usually shown as eight groups with hyphens. v4 means mostly random — no embedded MAC or timestamp.
Treat UUIDs as public identifiers, not secret tokens. They show up in URLs and logs; use proper secrets for auth.
Need short or ordered IDs? UUID may be the wrong tool — consider snowflake IDs or similar.
How to generate
- Set how many you need
- Click generate
- Copy the list
What the generator gives you
- Correct format without writing code.
- Bulk output for seeding test databases.
- Uniform shape reduces typos vs. hand-typing.
Scenarios
- Fill `id` in Postman examples
- Mock data primary keys locally
- Unique export filenames
Tips
- Need no hyphens? Strip `-` after copy.
- UUID primary keys affect index size — plan accordingly.
- Security tokens deserve dedicated crypto random APIs.
Shape
| Input | Output | Note |
|---|---|---|
| Generate 1 | xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx | v4 layout |
| Generate many | One per line | Easy paste into sheets |
UUID FAQ
- Can two UUIDs collide?
- Theoretically yes, practically vanishingly rare. Still enforce uniqueness in the database.
- v1 or v4?
- This page produces random v4.
- Namespace UUIDs (v3/v5)?
- Those hash a name with a namespace — not what this generator does.