Generator · Free
UUID generator
UUIDs are unique IDs used in databases, API requests, log entries, and anywhere you need a guaranteed-unique reference. Generate one or many — v4 random or v7 time-ordered — in your browser. No signup, no data sent anywhere.
v4 is purely random — best when you don’t want order leaking from the ID.
Click Generate to create UUIDs.
About this UUID generator
A UUID (Universally Unique Identifier) is a 128-bit value used as a unique reference for a database row, an API request, a log entry, a file upload, or anywhere else you need an identifier that won't collide with anyone else's. Pick version 4 if you want pure randomness; pick version 7 if you want the same uniqueness but with a timestamp baked in so sorting by ID also sorts by creation time (huge win for database performance and log debugging).
This generator uses your browser's native crypto.randomUUID() for v4 and a minimal in-browser implementation of RFC 9562 for v7. Nothing gets sent to a server. Generate 1 or up to 50 at a time, pick a format (hyphens, no hyphens, braces, or URN), copy with one click. No signup, no rate limit, no logs.
Common questions
- When should I use UUID v4 vs v7?
- Use v4 when you just need uniqueness and don't care about order — most cases. Use v7 when the IDs will be used as database primary keys or log entries you want to sort by creation time; v7 is sortable as a string and pages better in B-tree indexes than v4.
- Is it really cryptographically random?
- Yes — v4 uses crypto.randomUUID() which all modern browsers back with a CSPRNG (cryptographically secure pseudo-random number generator). v7 uses crypto.getRandomValues() for the random portion, with the same CSPRNG quality.
- Can two UUIDs ever collide?
- Mathematically yes, practically no. v4 has 122 bits of randomness — the chance of two collisions in a billion-row table is around 1 in a billion billion. You will never see a collision in any real-world workload.
- What format should I pick?
- Default (hyphens) is the standard and what most systems expect. No-hyphens is sometimes used in URLs or filenames where the hyphen is awkward. Braces ({...}) are a Microsoft convention (GUIDs in .NET/Windows). URN format (urn:uuid:...) is for namespacing in distributed systems and APIs that follow RFC 4122.
- Why are some tools paid and this one is free?
- Because there's nothing to host — this runs entirely in your browser. The Moonshot tools that need a backend (saved sessions, cross-sheet operations, file conversions over the size cap) are paid because they cost us money to run. UUID generation costs us nothing.
Tools that support the system
The tool is the starting point. Moonshot is where you carry the work forward.
The tool is the starting point. Moonshot is the software that keeps the issue, next move, and follow-through visible over time.