UUID generator (v4 and v7)

UUID v4/v7 generator. Bulk mode for seed data.

About this tool

Generates random v4 UUIDs, or v7 UUIDs that are time-ordered, one at a time or in bulk. The browser's crypto supplies the randomness.

Good for

  • Seed data and test fixtures
  • Idempotency keys and request IDs when you're testing an API by hand
  • Primary keys where v7's time ordering keeps your B-tree indexes happy

Not for

  • Secrets: a UUID is an identifier, not a session token, API key, or password-reset token
  • Anything where the creation time is sensitive, because a v7 UUID carries a millisecond timestamp anyone can read

Further reading on mikepreston.org