UUID v5 Generator

Deterministic UUIDs derived from a namespace and a name using SHA-1 — reproducible IDs without any central registry.

What is UUID v5?

UUID v5 hashes a namespace UUID and a name with SHA-1 and formats 128 bits of the digest as a UUID. It is the recommended name-based version: deterministic, collision-resistant for identifier purposes, and reproducible across systems.

When is a deterministic UUID useful?

Whenever the same logical entity must map to the same ID everywhere: deriving stable IDs from URLs or file paths, idempotency keys, merging datasets from independent sources, or content-addressable references — all without a shared database.

Example

Using the DNS namespace with the name example.com always produces cfbff0d1-9375-5685-968c-48ce8b15ae17 — on any machine, in any language, forever.

Need a different version? Try the full UUID generator supporting v1, v3, v4, v5 and v7.