Skip to content

UUID v5 Generator

Generate deterministic UUIDs from a namespace and a name.

For anything that is not literally a DNS name or a URL, generate one random v4 UUID, keep it, and use it as your own namespace forever.

Quick Tool Overview

The UUID v5 Generator derives a deterministic identifier from a namespace and a name using SHA-1, so the same pair always produces the same UUID — on any machine, in any language.

What it does
Generates deterministic name-based UUIDs
You give it
A namespace and a name
You get back
A stable UUID v5
Best for
Stable ids for things that already have a natural key
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the UUID v5 Generator

A version 5 UUID is not random. It is a SHA-1 hash of a namespace and a name, folded into the UUID format, which means the same pair always produces the same identifier — on any machine, in any language, forever.

That determinism is the whole point. It lets two systems derive the same id for the same thing without coordinating, which is how you give stable identifiers to entities that already have a natural key: a domain name, a URL, a file path, a product code. The four standard namespaces from RFC 4122 are built in, and you can supply your own namespace UUID for a private scheme — which is what you should do rather than overloading the DNS namespace.

Key features of the UUID v5 Generator

Genuinely deterministic

The output matches Python’s uuid5, PHP’s ramsey/uuid and every other correct implementation, which is what makes it useful across systems.

All four standard namespaces

DNS, URL, OID and X.500 are built in, and you can supply your own namespace UUID for a private scheme.

Bulk generation

Paste a list of names to get one UUID per line, which is how you backfill ids for existing records.

Verified against the RFC

The implementation reproduces the worked example in RFC 4122, so there is no doubt it agrees with everyone else.

Warns about guessability

Anyone who knows the namespace and name can compute the id, so it must never be used as a secret token.

How to use the UUID v5 Generator

  1. 1

    Choose a namespace

    DNS, URL, OID or X.500, or paste your own namespace UUID.

  2. 2

    Enter the name

    The value being identified — a domain, a URL, a path or any string.

  3. 3

    Confirm it is stable

    The same namespace and name always produce the same UUID, on any implementation.

  4. 4

    Generate in bulk

    Paste a list of names to get one UUID per line.

Frequently asked questions

Version 3 uses MD5 and version 5 uses SHA-1. Both are deterministic and neither is used for security, so v5 is preferred simply because MD5 has no reason to be chosen for anything new.

Reviews of the UUID v5 Generator

What people who use the UUID v5 Generator think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the UUID v5 Generator. It takes half a minute and no account.

Write the first review

More developer tools