UUID Generator — Create Random UUIDs (v4) Online
This free UUID generator creates random version-4 UUIDs (Universally Unique Identifiers) using the browser's cryptographically secure crypto.randomUUID() API. A UUID is a 128-bit identifier with 122 bits of randomness, so the chance of two colliding is astronomically small — safe to treat as globally unique without any central coordinator. Generate one or bulk-generate up to 100 at once for database keys, session tokens, or filenames. Everything is generated locally in your browser, so the identifiers never leave your device.
How UUIDs are generated
A UUID (Universally Unique Identifier) is a 128-bit identifier formatted as 32 hexadecimal digits in the pattern xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx, where M is the version and N is the variant. This tool generates version 4 UUIDs using the browser's crypto.randomUUID() API, which uses a cryptographically secure pseudorandom number generator (CSPRNG).
UUID v4 has 122 bits of randomness (6 bits are fixed for version and variant markers). The probability of two randomly generated UUIDs colliding is astronomically small: you would need to generate approximately 2.7 × 1018 UUIDs before reaching a 50% chance of a single collision. In practice, UUIDs are safe to treat as globally unique without any central coordination. They are widely used as primary keys in databases, filenames, session tokens, idempotency keys, and anywhere a unique identifier is needed without a central authority to issue sequential IDs.