UUID Generator
Generate random version 4 UUIDs or time-ordered version 7 UUIDs — one at a time or up to 500 in bulk — formatted in lowercase, uppercase, without hyphens or wrapped in braces for C#/.NET. Every ID comes from your browser’s cryptographic random generator.
0 UUIDs · version 4 · 122 random bits
Share:
Anatomy of a UUID
v4: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx (x = random hex, y = 8/9/a/b)
v7: tttttttt-tttt-7xxx-yxxx-xxxxxxxxxxxx (t = Unix time in ms, 48 bits)
Other versions exist: v1 embeds a timestamp and the machine’s MAC address (avoid — it leaks hardware identity), v3 and v5 are deterministic hashes of a name (MD5 / SHA-1) that always give the same UUID for the same input, and v6 is v1 with the timestamp bytes reordered. In practice new code needs only v4 and v7.
Generate in code: JavaScript crypto.randomUUID(), Python uuid.uuid4(), Go uuid.New(), PostgreSQL gen_random_uuid() (v7 arrives in PostgreSQL 18), .NET Guid.NewGuid() and Guid.CreateVersion7().
Frequently asked questions
Related tools
Base64 Encode & Decode OnlineFree Base64 encoder and decoder: convert text to Base64 and Base64 back to text (UTF-8 safe), URL-safe…HTML Encoder & DecoderFree HTML encoder and decoder: escape < > & " ' as HTML entities so code shows as text, optionally encode…JSON Formatter, Validator & Minifier OnlineFree JSON formatter: pretty-print JSON with 2 or 4 spaces or tabs, validate it with the exact error line and…URL Encoder & DecoderFree URL encoder and decoder: percent-encode text for query strings (encodeURIComponent) or whole URLs…Ad Revenue CalculatorEstimate website ad income with AdSense, Ezoic, Mediavine and Raptive.BPM CounterFree BPM counter: tap the button (or your spacebar) to the beat and get the tempo in BPM i
More in Developer Tools · All tools & games