UUID Generator
Generate v4, v7, v1 or NIL UUIDs in bulk, or inspect one you already have.
Nothing generated yet — pick a version and a count, then hit Generate.
Inspect a UUID
Paste one you already have and see which version it is and what it encodes.
About this tool
Generate universally unique identifiers in bulk — v4 (random), v7 (time-ordered), v1 (timestamp and MAC based), or the all-zero NIL UUID — or paste one you already have to see its version and what's encoded inside it.
Which version should I use?
v4 is the default choice for most applications: 122 bits of randomness with no ordering guarantees, good for general-purpose unique IDs. v7 is worth choosing specifically for new database primary keys — it embeds a millisecond timestamp in its leading bits, so IDs generated later sort after ones generated earlier, which keeps database indexes more efficient than fully random v4 keys at scale. v1 encodes a timestamp and the generating machine's MAC address, which makes it traceable back to when and where it was created — rarely the right choice unless you specifically need that.
How unique is unique?
A v4 UUID isn't mathematically guaranteed unique, but with 122 random bits, the odds of two colliding are low enough that virtually every real-world system treats them as unique — you'd need to generate billions of UUIDs before the probability of a single collision becomes meaningfully non-zero.
Inspecting an existing UUID
Paste any UUID into inspect mode to see its version and variant, and — for version 1 or 7 — the timestamp encoded inside it, decoded back into a readable date.
Frequently asked questions
What's the difference between v4 and v7?
v4 is fully random. v7 embeds a millisecond timestamp, so UUIDs sort roughly by creation order — useful for database indexes, which perform better with sequential-ish keys than fully random ones.
Are UUIDs really guaranteed unique?
Not mathematically guaranteed, but the collision probability for v4 is astronomically low — low enough to treat as unique in essentially every practical system.
Can I generate many at once?
Yes — set the count and generate them in bulk, ready to copy as a list.