UUID Generator

Generate v4 UUIDs in bulk, with copy-all support.

Generate one or many version-4 UUIDs (random universally unique identifiers). UUIDs come from your browser's cryptographic random source, suitable for use as primary keys and request IDs.

Common use cases

  • Create primary keys for database records that need to be globally unique
  • Generate request IDs for distributed tracing and log correlation
  • Seed test data with realistic-looking unique identifiers
  • Issue idempotency keys for API requests to prevent duplicate operations

Frequently asked questions

Are these UUIDs cryptographically random?▾
Yes. They use crypto.randomUUID() (or crypto.getRandomValues()), the same source used for cryptographic keys.
What's the difference between v4 and v7 UUIDs?▾
v4 is fully random. v7 prefixes a millisecond timestamp so they sort by creation time — useful for database primary keys with B-tree indexes. We currently generate v4 only.
How likely are collisions?▾
Negligible — 122 bits of entropy gives a 50% collision chance only after generating roughly 2.7 quintillion UUIDs. Treat them as effectively unique forever.

Related tools