UUID Generator
Generate cryptographically secure UUID v4 in bulk.
Generate cryptographically secure UUID v4 in bulk
UUID v4 is a 128-bit identifier with 122 random bits — collision
probability is so low (about 1 in 2.71 × 1018) that you can
treat them as globally unique without coordination. This generator
uses crypto.randomUUID() when available and falls back to
crypto.getRandomValues with the proper version/variant
bits set, so the output is suitable for production use as primary
keys, idempotency keys, request IDs, or session tokens.
v4 vs v7 vs ULID
v4 is fully random. v7 (the new draft RFC) embeds a millisecond timestamp prefix so IDs sort chronologically — better for database index locality. ULIDs are similar to v7 but use Crockford Base32. For most apps, v4 is fine; for high-write databases, look into v7 or ULID.
Output options
- Uppercase — for systems that expect canonical uppercase form.
- No dashes — 32 hex characters, useful for compact storage or URLs.
Privacy
UUIDs are generated with the Web Crypto API in your browser. Nothing is sent to a server.