UUID Generator

Generate cryptographically random v4 UUIDs, one at a time or in bulk.

About v4 UUIDs

  • Each UUID is 128 bits, 122 random, 6 reserved for version and variant.
  • Collisions are mathematically possible but practically vanishing, you'd need to generate billions per second for decades to realistically hit one.
  • Generated here via crypto.getRandomValues, cryptographically strong randomness.

Frequently asked questions

What kind of UUIDs are generated?

Version 4 UUIDs, which are 128 bits of mostly random data. Six bits are reserved to mark the version and variant; the other 122 are random.

Are these UUIDs unique enough for production?

Yes. The collision probability is so small that generating 1 billion UUIDs per second for 85 years would produce only a 50% chance of one duplicate.

Is the randomness cryptographically secure?

Yes. We use crypto.getRandomValues rather than Math.random(), so the output is suitable for security-sensitive identifiers.

Can I generate UUID v1 or v7?

Not currently. The tool focuses on v4 because it is the most common choice for distributed IDs. Time-based UUIDs are on our roadmap.

Advertisement