Generators
Generate random v4 UUIDs or name-based v5 UUIDs. Copy in standard, URN, or hex format.
Version 4 (Random) tab, click Generate to create a new random v4 UUID — one is also generated for you when the page loads.Copy next to the UUID, or the Copy buttons under URN format and Hex format (no dashes).Version 5 (Name-Based) tab and pick a namespace from the dropdown.Name field and click Generate v5 — the same namespace + name always produces the same UUID.Custom UUID in the namespace dropdown to supply your own namespace UUID instead of the built-in DNS, URL, OID, or X.500 values.Generation History, which keeps your last five UUIDs.v4 UUIDs carry 122 bits of randomness, so collisions are effectively impossible. Great for database primary keys, object IDs, and session tokens.
v5 UUIDs are deterministic — the same namespace + name always yields the same UUID, so you can derive a stable ID from a known string.
Copy the standard dashed form, an RFC 4122 urn:uuid: URN, or raw 32-digit hex without dashes — whatever your code or schema needs.
Built-in DNS, URL, OID, and X.500 namespaces follow RFC 4122, so name-based UUIDs are interoperable across languages and platforms.
Quickly produce realistic UUIDs for mocks, seed data, and API testing without writing a helper script.
Everything runs in your browser. Nothing you type is uploaded, logged, or sent to a server.
Version 4 is fully random — 122 bits of randomness with the version and variant bits set. Version 5 is name-based and deterministic: it hashes a namespace UUID plus a name with SHA-1 and keeps the first 128 bits.
It's generated with crypto.getRandomValues, the browser's cryptographically secure random source. With 122 random bits, the chance of a collision is negligible even across billions of IDs.
v5 UUIDs are computed deterministically: SHA-1 is applied to the namespace UUID bytes followed by the name, then the version and variant bits are set. Identical inputs always produce an identical output.
It depends on what the name represents. Use DNS for domain names, URL for URLs, OID for object identifiers, X.500 for distinguished names, or Custom UUID to supply your own.
The URN format prefixes the UUID as urn:uuid:…. The hex format is the same UUID with all dashes removed, giving a raw 32-character hexadecimal string. Both represent the identical identifier.
Not mathematically guaranteed, but a v4 UUID's collision probability is effectively zero in practice. v5 UUIDs are unique per namespace + name pair by construction.
Never. All generation happens locally in JavaScript. Your names and UUIDs are not sent to, stored on, or logged by any server.