UUID Generator

Generate UUID v1, v4 and v7 identifiers.

Options

Version
UUIDs are generated from the browser\u2019s crypto API — cryptographically secure, not Math.random().

Result

 

Which UUID version?

  • v4 — 122 bits of pure randomness. The most common choice for general identifiers.
  • v7 — Unix-timestamp + random. Time-ordered, so database indexes stay friendly (recommended for new systems).
  • v1 — timestamp + MAC-derived node. Only choose it if you specifically need time-based sortability with the classic layout.

Frequently asked questions

Is the UUID random quality safe for IDs?
Yes. UUIDs are generated from the Web Crypto API’s cryptographically secure random source (or the system clock + random node for v1), not Math.random().
What is UUID v7?
v7 (RFC 9562) combines a Unix timestamp with random bits, producing time-ordered UUIDs that sort chronologically — great for database keys.
Are UUIDs unique?
Effectively yes. The random space is astronomically large; duplicates are theoretically possible but practically impossible.