UUID Generator
UUID Generator generates cryptographically secure unique identifiers in bulk: UUID v4 (random), v7 (time-ordered), v1 (timestamp), v5/v3 (name-based), nil/max, plus ULID and NanoID. Output can be uppercase, hyphen-less, in braces, as urn:uuid: or Base64, and you can parse an existing UUID to read its version, variant and embedded time.
How it works
- 1Pick the type: v4 is general purpose, v7 is time-ordered and suits database primary keys.
- 2Set the format and count (up to 1000), then press 'Generate'.
- 3Click any identifier to copy it individually, or use 'Copy All' to grab them all.
- 4For v3/v5 enter a namespace and name (the same input always gives the same UUID); use the 'Validate & parse' tab to inspect a UUID.
Frequently asked questions
What is the difference between UUID v4 and v7?−+
v4 is entirely random. v7 starts with a 48-bit millisecond timestamp, so identifiers sort in creation order and fragment database indexes far less than v4.
When should I use v3 and v5?−+
When you want the same input to always produce the same UUID (e.g. a stable ID for a URL or email). v5 uses SHA-1 and v3 uses MD5; prefer v5 for new projects.
Does a v1 UUID leak my MAC address?−+
No, this tool uses a random node ID (with the multicast bit set) instead of a real MAC address.
Does this tool really use secure randomness?−+
Yes, it uses the browser's `crypto.getRandomValues` / `crypto.randomUUID()`, which is far stronger than `Math.random()`.
What are ULID and NanoID?−+
ULID is a time-sortable 26-character identifier; NanoID is a short, URL-friendly random identifier. Neither is UUID-shaped.
Embed on your site
<iframe src="https://toolsqube.com/en/code/uuid-generator/embed" width="480" height="360" style="border:0;border-radius:14px" title="UUID Generator · ToolsQube" loading="lazy"> </iframe>
Want to go deeper on this topic: Developer Tools Guide →