UUID Generator Online: v4, v7 & GUID in Bulk
Generate UUID v4, v7, v1, v3, v5 or v6 in your browser, up to 100 at a time, and copy them in one click. Works as a GUID in .NET and SQL Server.
Updated November 2026
Reviewed by Rafael Duarte
v7 embeds Unix ms timestamp as a prefix — UUIDs sort by creation time. No separate sequence column needed for DB insert performance.
Use Ctrl+G to regenerate instantly. · Shift+Enter to copy.
Ready for production use
Click "Generate New" to create a UUID
How to generate a UUID
Any version, in bulk, instantly
1. Pick a version
v7 is the recommended default. Use v4 for pure randomness, or v3/v5 for deterministic IDs.
2. Set the quantity
Generate 1 to 100 at once (v3/v5 always produce a single UUID, since they're deterministic).
3. Generate and copy
Click Generate New (or press Ctrl+G, which works even inside a field). A single UUID copies when you click it; in a batch, use the copy icon on each line or Copy All. Shift+Enter also copies, as long as the cursor isn't in a text field.
What this UUID generator does
RFC 4122 and RFC 9562, every version
v1, v3, v4, v5, v6 and v7 in one place
Random, name-based or time-ordered, with no switching tools. v7 is the default.
Bulk generation
Up to 100 UUIDs at once, each copyable individually or as a block.
Browser crypto, not Math.random()
v4 comes from crypto.randomUUID(); the random bits of v1, v6 and v7 come from crypto.getRandomValues(). Both use the browser's cryptographically secure generator.
Works as a GUID generator too
Microsoft's GUID is the same RFC 4122 format. Output is lowercase with hyphens and no braces, which .NET and SQL Server accept as is.
Anatomy of a UUID
Every UUID follows xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
550e8400-e29b-41d4-a716-4466554400000191d2a0-1234-7a3f-9c2d-4f8e1b5a6c3d6ba7b810-9dad-11d1-80b4-00c04fd430c8When you'll reach for a UUID generator
The most common scenarios people use this for
Primary keys in new systems
UUID v7 — B-tree index locality without a separate sequence column.
Session tokens and request IDs
v4 or v7 for unguessable identifiers with full randomness.
Idempotency keys for payments
Send one UUID per request so the backend can recognize and reject a retried duplicate, a common pattern in payment APIs.
Deterministic IDs from known data
v5 (SHA-1) for the same UUID every time, given a namespace + name — like a URL or an email address.
Filenames for uploads
Replace the original filename with a UUID before saving to S3 or GCS.
Correlation IDs for distributed tracing
Attach one to every log entry and propagate it across services to reconstruct a request's path.
Common mistakes
Using v4 when v7 would perform better
v4 scrambles insertion order in the index, causing page splits on high-volume SQL databases.
Assuming v1/v6 don't leak information
Both embed a creation timestamp — avoid them when the timing itself needs to stay private.
Expecting v3/v5 to be random
They're deterministic by design: the same namespace + name always produces the same UUID.
Why UUID v7 is the modern default
v7 encodes a 48-bit Unix millisecond timestamp in the most significant bits. That keeps new rows inserted near the end of a B-tree index instead of scattered across it, removing the usual need for a separate BIGSERIAL column just for ordering.
With random v4 keys, each insert lands on an arbitrary index page, so large tables suffer more page splits and a less cache-friendly index. v7 keeps the uniqueness and the 36-character format while avoiding most of that cost. The trade-off: anyone holding a v7 ID can read when it was created. For a deeper comparison, see UUID v4 vs UUID v7.
UUID version comparison
Which one to use, and when
Frequently asked questions
Yes — GUID is Microsoft's term for the same format defined by RFC 4122. They're fully interchangeable, and the values this generator produces parse fine in .NET (Guid.Parse) and SQL Server. One difference in style: the output is lowercase and without braces, while the Windows registry and many COM/.reg files write GUIDs as {UPPERCASE}, so convert the case and add braces yourself if you need that look.
For new systems, yes. It gives you global uniqueness without cross-shard coordination, chronological ordering, and good insert performance — the best of both worlds.
When you need maximum randomness and don't care about insertion order — session tokens, API keys, or anywhere v7's embedded timestamp would be a privacy concern.
Use v5 (SHA-1) for a deterministic UUID generated from a known input, like a URL or an email address. Use v3 (MD5) only to interoperate with legacy systems that already rely on it.
Yes. This tool uses crypto.randomUUID() and crypto.getRandomValues(), which draw from the operating system's CSPRNG. Generation happens entirely locally — nothing is sent to a server.
Extremely: 122 random bits, meaning you'd need roughly 2.71 quintillion UUID v4s generated before a 50% chance of a single collision. In practice, collisions aren't a real-world concern.
It's how many bits of each UUID are random. v4 has 122 random bits. v7 has about 74 random bits plus a millisecond timestamp, and v1/v6 about 61 random bits plus a timestamp. Fewer random bits are fine because the timestamp already separates IDs created at different moments. v3 and v5 have no randomness at all: they're a hash of the namespace and name.
References
The updated specification defining UUID versions 6, 7 and 8.
The original specification defining versions 1 through 5.
History, versions, and adoption across databases and distributed systems.
Our plain-language guide to the format, the versions and when to use each one.
Random versus time-ordered IDs, and what changes for database primary keys.
Related Tools
- ASCII Table Generator: Plain-Text & Markdown Tables Developer Turn CSV or typed data into a plain-text table: MySQL, Unicode box, rounded, double-line, Markdown, RST or minimal style. Copy it or download as .txt.
- Base64 Decode Online — Free Base64 to Text Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 Encoder: Encode Text, PDF & Files Online Developer Encode UTF-8 text or any file (PDF, DOCX, XLSX, ZIP up to 50 MB) to Base64 or Base64URL. Runs in your browser, nothing is uploaded. Free, no sign-up.
- Base64 to Image Online: Preview and Save PNG, JPG, GIF Developer Paste raw Base64 or a data:image URL to preview the image with its type, dimensions and size, then save the original file. No upload, runs in your browser.
- Bcrypt Generator & Checker: Hash and Verify Passwords Developer Generate a bcrypt hash with cost 4 to 18 or check whether a password matches a $2a$, $2b$ or $2y$ hash. Runs in your browser; nothing is uploaded.