UUID v5 Generator for Namespace & Name
Generate a repeatable UUID v5 from a namespace UUID and name using SHA-1.
How to use
With the DNS namespace from the example, www.example.com produces 2ed6657d-e927-568b-95e1-2665a8aea6a2.
FAQ
Is my UUID v5 name sent to a server?
The namespace UUID and exact name are combined and hashed with SHA-1 in the browser. You can generate repeatable IDs without sending the name off-device.
What is supported?
The same namespace and exact name yield the same UUID. Names are case-sensitive and keep their whitespace.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Compare the DNS namespace/name example with the fixed UUIDv5 vector.
- Comparison reference
- RFC 9562 DNS namespace, www.example.com; fixed vector reproduced by Python stdlib uuid.
- Verification scope
- Covers one fixed DNS namespace and name pair.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- uuid-v5: DNS namespace vector matches RFC9562
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.