UUID Generator

Bulk-generate cryptographically random version-4 UUIDs — perfect for database keys, API tokens, and test fixtures.

How it works

A UUID (universally unique identifier) is a 128-bit value written as 32 hexadecimal digits in five groups, like 550e8400-e29b-41d4-a716-446655440000. This tool generates version-4 UUIDs, meaning all 122 random bits come from your browser's cryptographic random number generator (crypto.getRandomValues) — the same source of randomness used for TLS encryption keys. Two bits are fixed by the standard: the version nibble is set to 4 and the variant bits to 10, which is how other software recognizes the format. With 2¹²² possible values, collisions are so unlikely you can safely use UUIDs as primary keys across distributed databases without a central counter.

How to use

  1. Set how many UUIDs you need, from 1 to 100.
  2. Click "Generate UUIDs" — each one is freshly random.
  3. Click "Copy all" to grab the whole list at once for pasting into code, configs, or test data.

Frequently asked questions

What does a UUID look like?

Thirty-two hexadecimal digits in five groups: 550e8400-e29b-41d4-a716-446655440000. The 8-4-4-4-12 grouping is just for readability; the value is 128 bits.

What does "version 4" mean?

Of the 128 bits, 122 are random and a few fixed bits mark it as version 4. This tool draws those bits from your browser's cryptographic random number generator — not from Math.random() and not from any predictable sequence.

Could two UUIDs ever collide?

With 2^122 possible values, the odds of a random collision are so small they are ignored in practice. You would need to generate billions per second for centuries to have a realistic chance of a repeat.

When should I use a UUID?

Database primary keys, API tokens, idempotency keys, distributed systems, and test fixtures — anywhere you need a unique identifier without asking a central server for the next number.

Are UUIDs sortable or sequential?

No — version 4 UUIDs are random, so sorting them is meaningless and they reveal nothing about creation order. If you need time-ordered IDs, look at UUID version 7, which embeds a timestamp prefix. For database keys where insert order matters for index performance, sequential IDs or v7 beat v4.

Can I generate UUIDs offline?

Yes — generation uses your browser's built-in cryptographic random number generator, so no network or server is involved. Airplane mode changes nothing; the UUIDs are just as random.