UUID Generator

Generate v1, v3, v4, v5, v6, v7, v8, ULID, NanoID, and CUID2 — all in-browser with crypto.getRandomValues()

Version

Count

5
150

Format

Convert all hex chars to uppercase

Include - separators in UUID

Wrap in curly braces {uuid}

Preview

550e8400-e29b-41d4-a716-446655440000

UUID v4

RFC 4122 §4.4

Randomly generated UUID. 122 bits of cryptographic randomness.

Use case: General-purpose unique identifiers. The most widely used UUID version.

Random122 bits entropy

Collision @ 1M IDs

< 10⁻³⁰

Collision @ 1B IDs

< 10⁻³⁰

Generated (5)

10daae6f-5146-46ca-ae90-d3eac6997edc

36 chars

00007a40-c4f4-42d5-935f-3fe8e4974e5a

36 chars

e20c9a87-2c08-49f7-a288-60d83356a7b6

36 chars

dc35c26f-1ca9-44ae-bbe6-d880ee596ec6

36 chars

21d1281b-199e-451e-bf48-895ba503063e

36 chars

Version Comparison

General purpose

Most compatible, fully random

Database primary keys

Time-sortable, index-friendly

Stable resource IDs

Deterministic from name+namespace

Short tokens / URLs

Compact, URL-safe, configurable

Distributed DBs

Collision-resistant, starts A-Z

Legacy / debugging

Time-ordered but privacy risk

All IDs generated using crypto.getRandomValues() — fully in your browser, nothing sent to any server.