UUID Generator
Generate cryptographically secure UUIDs (v4, random) in your browser. Bulk-generate up to 1000 at once. Uses crypto.randomUUID under the hood.
How it works
UUIDs are 128-bit identifiers written as 32 lowercase hex characters in five groups separated by hyphens: `xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx`. The `M` nibble encodes the version (4 for random), and `N` encodes the variant (the first bits are `10` for RFC 4122). Everything else is random.
This generator uses the browser's `crypto.randomUUID()`, which delegates to the platform's cryptographically secure random number generator. The collision probability for v4 UUIDs is so small that you would need to generate roughly 2^61 of them to have a 50% chance of seeing one collision — in practice, you will never see one.
When should you pick something other than v4? If your UUIDs become primary keys in a write-heavy SQL table, the fully random values scatter across B-tree pages and hurt insert performance. UUIDv7 or ULID embed a timestamp prefix so inserts stay roughly sequential. If you are handing IDs out publicly, v4 is fine — random means attackers cannot guess the next one.
Frequently asked questions
- Are these UUIDs cryptographically random?
- Yes. We use window.crypto.randomUUID, which is backed by a CSPRNG in every modern browser.
- What version of UUID is generated?
- Version 4 — 122 bits of randomness plus 6 version/variant bits. Collision risk is negligible for all practical uses.
- Can I generate v1 or v7 (time-ordered) UUIDs?
- Not yet. v4 covers 99% of use cases. If your database indexes on the UUID, consider ULIDs or the official v7 spec for better locality.
Related tools
- JSON to YAML ConverterConvert JSON to clean, human-readable YAML instantly. Runs fully in your browser — no upload, no tracking.
- YAML to JSON ConverterConvert YAML to JSON (pretty-printed, 2-space indent) in your browser. Handles anchors, multi-doc files, and nested structures.
- JSON to CSV ConverterConvert a JSON array of objects to CSV online. Auto-detects columns, escapes quotes, supports nested fields via dot notation.
- CSV to JSON ConverterConvert CSV to JSON online. Auto-detects delimiters, parses headers into object keys, and coerces numbers and booleans.