UUID v5 Generator

Generate stable UUIDs from a namespace and one or more names. Your entries stay in this browser.

Generate from

Format

How UUID v5 works

A UUID v5 uses SHA-1 to combine a namespace UUID and the bytes of a name. The same namespace and name produce the same UUID every time. Changing spaces, capitalization or the namespace changes the input. Match the exact format used by your system when reproducing an existing ID.

Use the DNS namespace for domain names, the URL namespace for URLs, OID for object identifiers, X.500 for distinguished names or an existing namespace UUID for your own data. The RFC example uses DNS and www.example.com to produce 2ed6657d-e927-568b-95e1-2665a8aea6a2.

Batch CSV downloads include the original input line and its UUID. The name stays out of the download. Repeated names keep their own rows and share the same UUID.

Generate random or sortable UUIDsCheck UUIDs for duplicatesRFC 9562 test vector

Reproduce a batch of UUID v5 IDs in Python

Choose Batch of names, then Load custom namespace example and Generate batch. The first and third IDs match because both rows use the same name. Run this Python example to check the IDs from the tool.

from uuid import UUID, uuid5

namespace = UUID("1b671a64-40d5-491e-99b0-da01ff1f3341")
names = ["inventory:601","inventory:602","inventory:601"]

for name in names:
    print(uuid5(namespace, name))

For your own imports, save the same namespace UUID with the app or job that generates the IDs. Keep the original names in the same format so the job can regenerate the same IDs on a retry.

Python uuid5 documentation