Fun Generators
Login

Random UUID (version 5) Generator

Fun Generators
Toggle sidebar

Random UUID (version 5) Generator

Generate Random version 5 UUID. Version 5 is a name based UUID. Name-based UUIDs aren’t random at all, actually they’re deterministic. For any given identical namespace and name, you will always generate the same UUID. v3 and v5 are essentially same except for the hashing algorithm they use.

Random v5 UUID

4cbd9ab5-a536-5036-9a10-81848dd74036

Generate another UUID again

About the UUID Version 5 Generator

The UUID Version 5 Generator creates a name-based UUID from a namespace and a name you provide. Like Version 3, Version 5 UUIDs aren't random — they're deterministic, meaning the same namespace and name will always produce the exact same UUID.

Version 5 generates its identifier by hashing the namespace and name together using the SHA-1 algorithm, making it functionally identical to Version 3 except for the stronger hash function.

Developers use Version 5 whenever they need a consistent, repeatable identifier derived from a known input, with a more modern hash than Version 3's MD5.

Why Version 5 Is Preferred Over Version 3

MD5, the hash function behind Version 3 UUIDs, has known cryptographic weaknesses that make it unsuitable for security-sensitive applications, even though those weaknesses rarely matter for the simple task of generating a stable identifier. SHA-1, used by Version 5, is considered a stronger hash function, which is why most modern implementations and standards recommend Version 5 over Version 3 when a choice is available.

Aside from the hashing algorithm, the two versions behave identically — same namespace and name concept, same deterministic output.

How to Use the UUID Version 5 Generator

  • Deduplication: Generate a consistent ID for the same input to detect duplicates.
  • Content-addressable storage: Derive a stable identifier from a resource's name.
  • Cross-system consistency: Produce the same ID independently on different servers.
  • URL or DNS namespacing: Generate UUIDs tied to a specific domain or URL namespace.
  • Modern deterministic IDs: Prefer Version 5 over Version 3 for a stronger hash function.

Version 5 UUID Facts

Deterministic
Same input, same output

Not random — the same namespace and name always match.

SHA-1 Based
Stronger hashing algorithm

Uses SHA-1, considered stronger than Version 3's MD5.

Preferred Choice
Recommended over v3

Most standards recommend Version 5 over Version 3 today.

Related UUID Versions

Version 3 (MD5 name-based) Version 4 (random) Version 6 (sortable time) Version 7 (Unix epoch time)

Frequently Asked Questions

How is Version 5 different from Version 3? +
They work the same way, except Version 5 uses SHA-1 hashing while Version 3 uses MD5 hashing.
Is the UUID Version 5 Generator free to use? +
Yes — completely free, no account or signup required.
Is a Version 5 UUID random? +
No — Version 5 UUIDs are deterministic. The same namespace and name will always produce the exact same UUID.
Why is Version 5 generally preferred over Version 3? +
SHA-1 is considered a stronger hash function than MD5, so most modern standards recommend Version 5 when a choice is available.
Is there an API for generating UUIDs? +
Yes. FunGenerators provides a REST API so you can generate UUIDs programmatically for your own app or project.
What inputs does Version 5 require? +
A namespace (such as a URL or DNS domain) and a name, which are hashed together using SHA-1 to produce the UUID.