UUID v3 Generator
Name-based UUID using MD5 hashing
Enter values above and click Generate
About
UUID Version 3 is generated by hashing a namespace identifier and a name using MD5. The same namespace and name will always produce the same UUID, making it deterministic. This version is useful when you need to generate consistent UUIDs from the same input across different systems. However, MD5 is considered cryptographically weak and vulnerable to collision attacks, so v5 (SHA-1) is strongly preferred for new applications.
Use Cases
- •Generating consistent IDs from URLs or domain names
- •Creating deterministic UUIDs from user input
- •Mapping names to UUIDs in a predictable way
- •Legacy systems using MD5-based UUIDs
How to Generate
Library
uuid
NPM Package
npm install uuidCode Example
import { v3 as uuidv3 } from 'uuid';
const namespace = uuidv3.DNS; // or uuidv3.URL, uuidv3.OID, uuidv3.X500
const name = 'example.com';
const id = uuidv3(name, namespace);
console.log(id); // Always the same for same name/namespaceWarning: MD5 is cryptographically weak. Use UUID v5 (SHA-1) for new applications requiring name-based UUIDs.