🆔 UUID Generator

Generate v1, v4, v5, v7, NIL, and MAX UUIDs — one or in bulk. Cryptographically random via crypto.getRandomValues. Runs entirely in your browser.

Version Count
Format
Namespace UUID
Presets:
Name
Output — empty —
Copied to clipboard

About UUID Generator

UUID Generator is a free browser-based tool for generating universally unique identifiers. Pick a version, hit Generate, and get one — or up to 1,000 — cryptographically secure UUIDs ready to paste into your code, database, or config file.

A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit value formatted as five groups of hex digits separated by hyphens (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). It's the standard way to give things unique IDs across systems without needing a central authority to hand them out.

Our generator supports every practical UUID version — v4 for random IDs (the most common), v7 for time-ordered random IDs (great for database indexes), v1 for classic time+node IDs, v5 for deterministic namespace-based IDs, plus NIL and MAX for special-case values.

100% client-side: UUIDs are generated using your browser's crypto.getRandomValues — the same cryptographically secure random source used by TLS. Nothing is generated on our servers, nothing leaves your browser.

How to use UUID Generator

1

Pick a version

v4 for random (recommended for most cases). v7 for time-ordered inserts. v5 if you need deterministic IDs from a name.

2

Choose count & format

Generate 1–1000 at once. Optionally uppercase, strip hyphens, wrap in braces or quotes.

3

Copy or Download

Hit Generate, then Copy to clipboard or Download as .txt.

Key Features

Every UUID version

v4 (random) — the everyday default. v7 (time-ordered random) — same randomness but sortable by creation time, ideal for database indexes. v1 (time + node) — traditional MAC-address style. v5 (namespace + name) — deterministic SHA-1 hash of a namespace UUID plus a name string. NIL (all zeros) — used as a placeholder. MAX (all F's) — the maximum possible UUID value.

Cryptographically secure random

v4 and v7 use window.crypto.getRandomValues — the browser's cryptographically secure random source, the same one TLS relies on. Not the pseudo-random Math.random.

Bulk generation up to 1,000

Need to seed a database? Generate up to 1,000 UUIDs in one click. Each one is independently random. Download the whole batch as a .txt file for easy import.

v5 namespace presets

One-click presets for the four standard RFC 4122 namespaces: DNS, URL, OID, and X.500. Or paste your own custom namespace UUID.

Flexible formatting

Uppercase, remove hyphens (bare 32-char hex), wrap in braces ({uuid}), or quotes ("uuid"). Combine any of them — perfect for pasting into your favorite language's syntax.

Copy + Download

Copy sends the whole batch to your clipboard with a toast confirmation. Download saves as uuids.txt.

Instant regeneration

Change any option and click Generate again — new UUIDs appear instantly. No round-trip to a server, no wait.

Common Use Cases

  • Primary keys for database rows (v4 for random, v7 for indexed inserts)
  • Correlation IDs to trace a request through multiple services
  • API keys, session tokens, or one-time invitation codes
  • File names when you can't predict the content or need to avoid collisions
  • Deterministic IDs from a URL or domain (v5 with URL/DNS namespace)
  • Idempotency keys for POST requests that must not double-process
  • Seed data for tests — generate 1,000 IDs and paste them into your fixture file
  • NIL UUID as a "null" or placeholder value where a real ID isn't known yet

Security & Privacy

  • 100% client-side: UUIDs generated in your browser via crypto.getRandomValues. Nothing is generated on our servers.
  • Cryptographically secure: v4/v7 use the browser's CSPRNG — 122 bits of randomness make collisions statistically impossible.
  • Deterministic for v5 only: the same namespace + name always produces the same v5 UUID — that's by design (and how the spec works).
  • No logging of generated IDs: we don't see what you generate. There's nothing for us to see.
  • Works offline: once the page loads, disconnect and it still works.
  • No accounts required: fully anonymous, no signup.

Frequently Asked Questions

v4 for almost everything — random, universally supported. v7 if you want the same randomness but IDs that sort by creation time (better database index locality). v5 only when you need deterministic IDs from a name. Avoid v1 unless you specifically need the time+node encoding.
v4 UUIDs use 122 bits of randomness — you'd need to generate ~2.71 quintillion UUIDs to have even a 50% chance of collision. Effectively never in practice.
Yes. We use crypto.getRandomValues, the browser's cryptographic random number generator — the same one TLS uses for session keys. Nothing else is safer for random IDs.
v5 hashes (SHA-1) a namespace UUID + a name string together. Same inputs = same output. Useful for turning URLs, emails, or usernames into a stable UUID form.
No. Everything is generated in your browser using standard web crypto APIs. We never see the UUIDs you create.
Yes. Free for everyone. No signup, no ads.