Generate Random UUID

Generate UUID values with `crypto.randomUUID()` when available, inspect the version and variant fields, and create multiple IDs at once.

Generate between 1 and 16 UUIDs per run.

Result
c5cf665c-127d-43c2-8f4f-b3241ccebc88

Generated with crypto.randomUUID().

Version
4
Variant Nibble
8
Count
3
UUID 1
c5cf665c-127d-43c2-8f4f-b3241ccebc88
UUID 2
672e7487-91e5-41d2-81e7-6f3eaf2b3715
UUID 3
15e057f3-af2d-4550-b244-8515e7f13fb8

How The Generator Works

The primary path uses `crypto.randomUUID()` to create version 4 UUID values directly in the browser.

If that API is unavailable, the tool falls back to random bytes, sets the version and variant bits manually, and formats the result in canonical UUID form.

Quick Examples

Single UUID output is useful when you just need one new identifier quickly.
Batch UUID generation is useful for fixture data, seeded tables, and mock API records.
Version 4 UUIDs are random-based identifiers rather than time-based ones.
The canonical UUID format uses 8-4-4-4-12 hexadecimal group lengths.

Frequently Asked Questions

What kind of UUID is this?

This tool produces version 4 UUIDs, which are randomly generated identifiers.

Why show the version and variant?

Those bits confirm the UUID follows the expected structure and help you inspect the generated format.

Is this suitable for identifiers in apps?

For many browser-based workflows, yes. Full production suitability still depends on how your broader system manages identity and collisions.

What can I use random UUIDs for?

They are useful for fixtures, object IDs, mock API data, database keys, and distributed identifiers.

Useful Notes

UUIDs are designed to be unique enough for many distributed and offline generation workflows.

Version 4 UUIDs encode randomness rather than timestamps or hardware addresses.

Using the built-in Web Crypto API is preferable when the browser provides it.

Related Tools