UUID Generator — create a random UUID v4 instantly
Generate RFC 4122 version 4 UUIDs (GUIDs) with true cryptographic randomness — never predictable Math.random. Make one or a hundred at once, format them your way, copy or download the list, and validate any UUID. Nothing is uploaded, logged or stored.
Generate 1–100 UUIDs at once
Generated UUIDs
Copy them one by one, or grab the whole list.
Validate a UUID
Paste any UUID to check its structure and see which version and variant it encodes.
Start from a preset
One click sets the quantity and format, then generates a fresh batch in that style.
Your session
Generations from this visit, kept only in this tab's memory — step back and forth, or pin a batch you want to keep handy. Nothing here is stored or sent anywhere.
Recent generations
No generations yet this session.
Pinned batches
No pinned batches yet — generate a batch, then use “Pin this batch”.
Your tools
Tools you have actually opened this session, plus any you pin as favorites. The lists live in this browser session only.
Recently used
No other tools opened yet this session — tools you visit will appear here.
Favorite tools
No favorites yet — pin a tool below.
All generator tools
How to generate a UUID
- A fresh UUID v4 is waiting above as soon as the page loads — click Generate for a new one.
- Set the quantity (1–100) and the format: uppercase, hyphens on or off, optional braces.
- Copy a single UUID, copy the whole list, or download it as a .txt file.
Anatomy of a UUID v4
Every UUID is 128 bits shown as five groups of hexadecimal digits — 8-4-4-4-12 — for 36 characters including hyphens. Two positions are fixed by the standard, and they are how the validator above reads a UUID:
The version digit is always the first character of the third group, and the variant digit is the first character of the fourth group. Everything else is random — which is why a v4 UUID reveals nothing about the machine or moment that created it.
UUID versions at a glance
| Version | How it's built | Typical use |
|---|---|---|
| 1 | Timestamp + MAC address | Legacy systems; leaks creation time and hardware address |
| 3 | MD5 hash of a namespace + name | Deterministic IDs from names (rare today) |
| 4 | 122 bits of randomness | Database keys, API resources, sessions — what this tool generates |
| 5 | SHA-1 hash of a namespace + name | Deterministic IDs from names, modern replacement for v3 |
Where UUIDs are used
- Database primary keys — generate IDs on the client or app server without a round-trip to a central counter, and merge data from many sources without key clashes.
- APIs and distributed systems — idempotency keys, request IDs and resource identifiers that any service can mint independently.
- Files and uploads — rename user uploads to a UUID so filenames never collide or expose the original name.
- Sessions and tokens — unguessable identifiers where predictability would be a security problem (pair with proper session management).
Where a UUID usually goes next
A generated UUID rarely stays on this page. The most common next steps: encode it for transport with the Base64 Encoder/Decoder, drop it into a payload you are shaping in the JSON Formatter, turn it into a scannable code with the QR Code Generator, or pair it with a secret from the Password Generator and test records from the Fake Data Generator. The “Send output to…” bar above the validator carries the current value into each of those tools for you.
Frequently asked questions
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit identifier written as 32 hexadecimal digits in five groups separated by hyphens: 8-4-4-4-12, for 36 characters in total. UUIDs identify records, files, sessions and transactions without a central registry, because the chance of two random UUIDs colliding is astronomically small.
What is the difference between a UUID and a GUID?
They are the same thing in practice. GUID (Globally Unique Identifier) is Microsoft's name for its implementation of the UUID standard. A GUID generated in .NET, SQL Server or Windows tooling follows the same format and rules as a UUID, so values from this generator work anywhere a GUID is expected.
Why version 4?
Version 4 UUIDs are generated from random data, so they need no timestamp, MAC address or namespace and leak no information about when or where they were created. Of the 128 bits, 122 are random; 6 bits are fixed to mark the version (4) and the RFC 4122 variant. This generator produces version 4 UUIDs, the most widely used kind for database keys, API resources and session IDs.
Can two generated UUIDs ever be identical?
In theory yes, in practice no. With 122 random bits there are about 5.3 × 1036 possible version 4 UUIDs. You would need to generate roughly 2.7 quintillion of them before the odds of a single collision reached 50% — at a billion UUIDs per second that would take about 85 years. For real systems, random UUID v4 collisions are treated as impossible.
How does this generator create randomness?
It fills 16 bytes using crypto.getRandomValues, the browser's cryptographically secure random number generator, then sets the version and variant bits required by RFC 4122. It never uses Math.random, which is predictable and unsuitable for identifiers that must be unguessable.
Are my UUIDs stored or sent anywhere?
No. UUIDs are generated entirely in your browser. Nothing is uploaded, logged or stored on a server, and the list on this page disappears when you close or reload the tab.
Should I use uppercase or remove the hyphens?
The standard form is lowercase with hyphens, and most systems accept it as-is. Uppercase is common in some Microsoft and legacy tooling. Removing the hyphens gives a compact 32-character hex string that some APIs and file-naming schemes prefer. All three forms represent the same 128-bit value — pick the format your system expects.
How do I check whether a UUID is valid?
Paste it into the validator on this page. It checks the 8-4-4-4-12 structure, confirms every character is hexadecimal, and reports the version and variant encoded in the value, so you can tell a genuine random v4 UUID from a time-based v1 or a malformed string.
Related generator tools
About this tool
The UUID Generator is one of 33 free utilities in the Online Utilities Suite at dev.conversiontools.online. Every tool runs entirely in your browser — nothing is uploaded, stored or tracked — so generation is instant and private.
Privacy
This page generates UUIDs locally with your browser's secure random generator: no account, no uploads, and nothing you generate is stored or sent to a server. Advertising on this site is served by Google AdSense, which may use cookies to personalize ads; you can opt out of personalized advertising in your Google ad settings.