Skip to main content

UUIDv5 Generator — Namespace + Name via SHA-1

Namespace UUID from a name via SHA-1 — deterministic, RFC 4122, browser-only

  • Runs locally
  • Category Developer & DevOps
  • Best for Formatting, validating, shrinking, or inspecting code-adjacent text.
A UUIDv5 is the SHA-1 hash of a namespace plus a name, stamped with version 5 and the RFC variant bits. It is fully deterministic: the same inputs always produce the same UUID, on any machine, so v5 is for IDs you need to reproduce — not random ones.
Namespace

Namespace in use: 6ba7b810-9dad-11d1-80b4-00c04fd430c8

Name

Any string. The same namespace + name always yields the same UUIDv5.

UUIDv5
Enter a name above to see its deterministic UUIDv5.

What this tool does

Free UUIDv5 generator that turns a namespace plus a name into a deterministic UUID using SHA-1, exactly as RFC 4122 and RFC 9562 describe. Pick one of the four standard namespaces (DNS, URL, OID, X.500) or paste any UUID as your own namespace, type a name such as example.com, and read the resulting version 5 UUID. The same namespace and name always produce the same UUID, on any machine and in any language, which is the whole point of v5: stable IDs derived from data you already have, instead of the random IDs that v4 mints. Under the hood the 16 raw namespace bytes are concatenated with the UTF-8 name, hashed with SHA-1, truncated to 16 bytes, then stamped with the version 5 nibble and the RFC variant bits. Everything runs in your browser with the native Web Crypto API, with one-click copy and a shareable link that reproduces your exact namespace and name. 100% client-side, nothing uploaded.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Developer & DevOps · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How UUIDv5 Generator fits into your work

Use it in the small gaps between coding, reviewing, debugging, and shipping.

Developer jobs

  • Formatting, validating, shrinking, or inspecting code-adjacent text.
  • Preparing snippets for documentation, tickets, commits, or handoff.
  • Checking a small payload quickly without switching tools.

Developer checks

  • Run irreversible transforms like minify or obfuscate on a copy.
  • Keep secrets out of pasted snippets unless the tool explicitly stays local.
  • Use your normal tests or linter before shipping transformed code.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 JWT Decoder Decode JWT header / payload / signature — verify structure, check exp, copy claims — browser-only Open
  2. 2 File Hash Calculator Compute SHA-1, SHA-256, SHA-384, or SHA-512 hashes for uploaded files entirely in the browser. Open
  3. 3 UUID Generator Generate v4 random, v7 time-ordered, NIL, and Short UUIDs instantly — entirely in your browser. Open

Real-world use cases

  • Give a config entity a stable ID without a database

    You have a list of integrations keyed by their domain and you want an ID column that never drifts. Hash each domain in the DNS namespace and use the v5 UUID as the primary key. Re-import the same config a year later and every row keeps its original ID, because the ID is a pure function of the domain, not a counter or a random value handed out at insert time.

  • Deduplicate records that arrive from two sources

    A user shows up in your CRM export and again in a billing feed, keyed only by email. Compute uuidV5(email, your-namespace) on both sides and the two rows collapse to one ID, so a join or an upsert merges them with no fuzzy matching. The namespace keeps these IDs from colliding with v5 IDs you derive from, say, order numbers.

  • Build content-addressed keys for a cache or CDN path

    Instead of storing a random key next to each cached document, derive the key from the document's canonical URL with the URL namespace. The cache path becomes reproducible: any service that knows the URL can recompute the exact same v5 UUID and find the entry, with no shared lookup table and no coordination between workers.

  • Generate deterministic test fixtures across a team

    Two engineers writing the same integration test need fixtures with identical IDs so assertions line up in CI and on each laptop. Derive every fixture ID with v5 from a fixed namespace plus a readable name like user/alice. The IDs are stable forever, readable in diffs, and you can paste this tool's shareable link into the PR so a reviewer reproduces them instantly.

Common pitfalls

  • Hashing the name without a namespace. Skipping the namespace, or reusing one namespace for unrelated kinds of names, lets a DNS host and an order code that happen to share a string collide into the same UUID. Always pair each family of names with its own fixed namespace so the IDs stay disjoint.

  • Expecting v5 to be unguessable like v4. Because v5 is a plain hash of public inputs, anyone who knows your namespace and naming scheme can recompute every ID. That is a feature for reproducibility but a trap if you treat the UUID as a secret. For tokens that must be unpredictable, use v4 instead.

  • Mismatching the name encoding. v5 hashes the UTF-8 bytes of the name, so a name encoded as UTF-16 or with stray whitespace produces a different UUID than the one your other system computed. Normalize and trim the name to exactly the same bytes everywhere, or the IDs silently stop matching.

Privacy

Every UUIDv5 is computed in your browser tab with the native Web Crypto SHA-1, the same engine the platform uses for hashing, and neither the namespace nor the name is ever sent anywhere. There is no logging of what you hash. The one caveat: the shareable link encodes your namespace and name in the query string, so a link pasted into chat will record those values in the recipient server's access log. If a name is sensitive, use the copy button on the result rather than sharing the URL.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13