UUID Generator

Generate cryptographically random UUIDs (v4) in your browser. Bulk-generate, copy one, or copy all. Nothing leaves your device.

Runs in your browser — nothing uploaded
0 UUIDs
Click Generate to start
UUIDs are generated with crypto.randomUUID() — RFC 4122 version 4, cryptographically random, 122 bits of entropy each.

Use this free UUID generator to create cryptographically random version-4 UUIDs in your browser. Generate one at a time or up to a hundred in bulk, choose your preferred format, and copy with a click.

Private by design — your data never leaves your device

How to use it

No account, no upload — it all happens on your device.

1
Set how many UUIDs you want — between 1 and 100.
2
Pick a format: lowercase (default), uppercase, no hyphens, or wrapped in braces.
3
Click Generate to refresh the list with new random UUIDs.
4
Copy a single UUID with its copy button, or Copy all to grab the whole list.

UUID versions, in plain terms

There are several formats — here's when each makes sense.

VersionHow it's madeUse for
v1MAC address + timestampLegacy systems. Leaks creation time and machine identity.
v3MD5 hash of a name in a namespaceReproducible IDs (same input → same UUID). Rare.
v4122 random bitsDefault. What this tool generates. Use unless you need ordering.
v5SHA-1 hash of a name in a namespaceLike v3 but with a stronger hash. Still niche.
v7Timestamp prefix + random tailModern choice when you want database-friendly ordering and uniqueness. Newer; not all libraries support it yet.

For 99% of use cases — primary keys, request IDs, idempotency tokens, file names — UUID v4 is the right answer.

Where UUIDs work and where they don't

Strengths and trade-offs.

  • Great for distributed systems. Two services generating UUIDs at the same time will not collide. No coordination needed.
  • Great for idempotency. Client generates a UUID for each request; the server uses it as a dedup key so retries are safe.
  • Bad as primary keys in big tables. Random UUIDs scatter writes across the B-tree, slowing inserts. Solutions: ULID, UUID v7, or a sequential ID + a separate UUID column.
  • Not great for URLs you read aloud. 36 characters is too long to dictate. For human-facing identifiers, use a short slug.
  • Don't leak them. They look opaque, but v1 UUIDs encode the MAC and timestamp of the issuing machine. v4 has no such leak; this tool generates only v4.

Collision math, for the curious

122 random bits means 2¹²² possible UUIDs ≈ 5.3 × 10³⁶. To hit a 50% chance of a duplicate, you'd need to generate about 2.7 × 10¹⁸ of them — roughly one for every grain of sand on Earth. For practical applications, treat collisions as impossible and don't bother checking.

Frequently asked

What kind of UUID does this generate?
RFC 4122 version 4 UUIDs — 16 random bytes (122 bits of entropy) with the version/variant bits set. They are generated by your browser's built-in crypto.randomUUID() function.
Are they really unique?
Practically yes. With 122 random bits, the chance of a collision is vanishingly small even at internet scale — you would need to generate billions of UUIDs before any pair had a meaningful chance of matching.
Are the UUIDs sent anywhere?
No. Generation happens entirely in your browser using your device's cryptographic random source. Nothing is uploaded or logged.

Related tools

JSON Formatter & BeautifierFormat, beautify, and validate JSON instantly in your browser. Your data never leaves your device.JWT Decoder & VerifierDecode and verify JSON Web Tokens (JWT) in your browser. HS256, RS256, ES256 supported. Tokens and keys never leave your device.Base64 Encoder & DecoderEncode text to Base64 or decode Base64 back to text instantly in your browser. Unicode-safe. Nothing is uploaded.