Developer UUID tools
UUID v5 Generator
Generate deterministic UUID v5 values from a namespace and name. The same inputs always produce the same UUID.
UUID v5 generator
Generate deterministic name-based UUID v5 values from a namespace UUID and name string. The same namespace and name produce the same UUID.
2ed6657d-e927-568b-95e1-2665a8aea6a2
What is UUID v5?
UUID v5 is name based. It hashes a namespace UUID and a name string to produce a deterministic UUID.
Use UUID v5 when the same logical name should always map to the same UUID without storing a lookup table.
Namespace examples
Common namespaces include DNS and URL. A custom namespace UUID can be used when your application owns the naming system.
For example, DNS plus example.com always produces the same UUID v5 for that namespace/name pair.
UUID v5 vs UUID v4
UUID v4 is random. UUID v5 is deterministic. Use v4 when you need a new random ID, and v5 when the ID should be repeatable from a name.
FAQ
Is UUID v5 random?+
No. UUID v5 is deterministic and based on a namespace plus name.
What namespace should I use for UUID v5?+
Use DNS or URL for those naming systems, or create a custom namespace UUID for your application.
Can UUID v5 be used for database IDs?+
Yes when a stable name-based ID is needed. Use UUID v4 or v7 when each new record should get a fresh generated ID.