UUID v5 and v3 generator

Turn a name into a UUID that never changes: the same namespace and name always give the same v5 UUID. Type one name per line to make many at once.

runs in your browser · nothing uploaded

loading tool…

How to use it

  1. Choose a namespace: DNS for domain names, URL for URLs, or paste your own namespace UUID.
  2. Type the names, one per line. Each gets its own UUID straight away.
  3. Switch to v3 only if an existing system expects it. Copy or download the results.

When a deterministic UUID helps

A v5 UUID is a hash of a namespace UUID and a name, formatted as a UUID. Two systems that never talk to each other get the same ID for "www.example.com", so you can create records idempotently, deduplicate imports, or derive a stable ID from an email address or a URL.

Check it yourself: in the DNS namespace, "www.example.com" is always 2ed6657d-e927-568b-95e1-2665a8aea6a2 as v5 and 5df41881-3aed-3515-88a7-2f4a814cf09e as v3. Python's uuid module gives the same values; our run is in examples/generators.

v5 or v3?

v5 uses SHA-1 and v3 uses MD5. RFC 9562 recommends v5 over v3. Neither is secret: anyone who knows the name can compute the UUID, so don't use name-based UUIDs as tokens or to hide data.

Questions

Which namespace should I use?

Use one of the four standard ones if your names are domain names, URLs, OIDs or X.500 names. Otherwise generate one random v4 UUID, keep it as your application's namespace, and use it for all your names.

Are names case-sensitive?

Yes. The name is hashed as UTF-8 bytes, so "Example.com" and "example.com" give different UUIDs. Normalise names first if they should match.

Is anything sent to a server?

No. The hashing runs in your browser.