-
Batch generator
UUID inspector
UUID Generator
Need a primary key, idempotency token or trace ID? This page mints an instant UUID on load and batches up to 100 more — v4 for pure randomness or v7 when you want k-sortable IDs that embed a millisecond timestamp. Format with uppercase, hyphens or {braces} to match your stack, then inspect any pasted UUID to reveal its version, variant and (for v7) embedded creation time.
UUID versions at a glance
| Version | Order | Entropy | Best for |
|---|---|---|---|
| v1 | Time + node | Low–med | Legacy systems |
| v4 | None (random) | 122 bits | Opaque IDs, tokens |
| v6 | Time (reordered) | Low–med | v1 compat, sortable |
| v7 | Time-ordered ms | 74 bits | DB keys, k-sortable IDs |
| v8 | Custom | Varies | Vendor-specific schemes |
| nil | All zeros | None | Placeholder / unset |
Frequently Asked Questions
What is a UUID v7?
RFC 9562's time-ordered UUID: the first 48 bits are a Unix-millisecond timestamp followed by random bits — giving sortable IDs that index better than v4 in databases.
Which should I pick — v4 or v7?
v4 for fully random, opaque IDs. v7 when you want chronological ordering (log streams, DB primary keys) — the inspector even reveals a v7's creation time.
Are these UUIDs cryptographically random?
Yes — all random bits come from crypto.getRandomValues with correct version/variant bit fields per RFC 9562.
What does the {braces} format do?
It wraps each UUID like {018f3a20-…} — the style some Microsoft/Windows APIs and C# Guid literals expect.