UUIDv5 Generator

Generate repeatable UUIDv5 identifiers from a namespace and name with SHA-1.

Spaces and capitalization affect the result.

Your UUID will appear here.

Bulk generation
Enter one name per line. Repeated names are kept.

UUID details

Your UUID will appear here.

What this tool does

UUIDv5 hashes the 16 namespace bytes in network order followed by the UTF-8 name, takes the first 16 digest bytes and sets the version and variant.

How to use the tool

  1. Choose a standard or custom namespace. For a migration table, enter one name per line under Bulk generation and download CSV to keep the input beside each UUID.
  2. The preview shows up to 1,000 UUIDs. Copy all UUIDs or download TXT for the complete batch in generation order. The single UUID updates when the required inputs are valid. In bulk mode, TXT contains UUIDs and CSV pairs each result with its input.

Useful applications

  • With DNS and the exact name www.example.com, the RFC 9562 example is 2ed6657d-e927-568b-95e1-2665a8aea6a2.
  • Give a stable external identifier the same UUID on every import when the namespace and text representation stay the same.

Notes and limitations

  • SHA-1 has known collision weaknesses. Avoid using this mapping as a security check, and define a stable name representation when integrating systems.
  • Spaces and case affect the result. Use up to 16,384 UTF-16 code units. Line breaks in the name field are encoded as LF.
  • The browser processes inputs, results and export files locally. Closing or reloading the page ends the generator session.
  • 122 bits come from the truncated SHA-1 digest. The same namespace and exact name give the same result.
  • References and further reading RFC 9562.

Frequently asked questions

What if a list contains the same name twice?

The mapping is deterministic. Both rows are preserved and produce the same UUID when they use the same namespace.

How do I test a custom namespace?

Run both systems with the same namespace UUID and exact UTF-8 input. Compare the outputs using a test name that includes spaces or non-ASCII characters.

Can I recover a name from the UUID?

The UUID stores a truncated digest with reserved bits. It does not store the name or namespace, and a predictable name can still be tested by recomputing the UUID.