UUID Generator
Generate RFC 4122 UUIDs in v4, v7, v1, or NIL format. Batch up to 1,000 at once — JSON, CSV, SQL, or plain text output.
How to use the UUID Generator
Four steps to generate unique identifiers instantly in your browser.
- 1
Pick a UUID version
Choose v4 (random, default), v7 (time-sortable), v1 (timestamp-based), or NIL (all zeros).
- 2
Set count and format options
Generate 1–1000 UUIDs. Toggle uppercase, remove hyphens, quotes, or trailing commas as needed.
- 3
Choose output format
Plain lines, JSON array, CSV, or SQL VALUES — ready to paste into code or queries.
- 4
Copy or download
Click Generate for a fresh batch, then copy to your clipboard or download as a .txt file.
What is a UUID?
A UUID (Universally Unique Identifier) — also called a GUID (Globally Unique Identifier) in Microsoft ecosystems — is a 128-bit value typically shown as 32 hexadecimal characters in five groups: 8-4-4-4-12. Example: 550e8400-e29b-41d4-a716-446655440000. UUIDs let distributed systems assign identifiers independently without a central coordinator — databases, microservices, and mobile apps can all mint IDs locally and trust collisions are astronomically unlikely.
Why not use auto-increment integers? Sequential IDs require a single source of truth, leak business metrics (competitors can estimate your user count), and perform poorly when merging data from multiple shards. A random UUID (v4) has no ordering semantics but maximizes unpredictability. A UUID v7 embeds a Unix millisecond timestamp in the leading bits so IDs sort by creation time — a modern best practice for indexed columns in PostgreSQL, SQLite, and other databases where random v4 keys cause B-tree fragmentation.
UUID versions at a glance
- v1: Timestamp + clock sequence + node (MAC-like). Sortable by time but reveals when and roughly where generated.
- v3 / v5: Name-based hashes (MD5 / SHA-1). Deterministic — same namespace + name always yields the same UUID.
- v4: Pure random. The most common choice for primary keys, session tokens, and request IDs.
- v6: Reordered v1 for better lexical sorting. Rare in the wild.
- v7: Unix timestamp + random bits. Sortable, RFC-standardized in 2024, ideal for new time-ordered records.
- NIL: All zeros — useful as a sentinel or placeholder default.
Collision probability
For UUID v4, you would need roughly 5.3 × 1036 IDs before reaching a 50% collision probability — more UUIDs than atoms on Earth. In practice, duplicate v4 UUIDs never happen in application lifetimes. v1 and v7 include time components, further reducing practical collision risk when generated correctly.
Common use cases
- Database primary keys — especially in distributed or multi-tenant systems
- File and upload IDs — S3 keys, attachment references, media asset names
- Request tracing — correlate logs across microservices with a shared trace ID
- Idempotency keys — payment APIs (Stripe, etc.) deduplicate retries by key
- Session and cookie identifiers — opaque, unguessable tokens
Why use an online UUID generator?
Developers usually generate UUIDs in code (crypto.randomUUID(), uuid npm package, database functions). A browser-based uuid generator is faster for quick tasks: seed a test database, fill a JSON fixture, craft a SQL INSERT, or verify v4 vs v7 formatting. SuperTextTools generates up to 1,000 RFC 4122-compliant IDs locally using crypto.getRandomValues() — no upload, no account. Export as plain text, JSON array, CSV, or SQL VALUES and paste straight into your workflow.
Frequently asked questions
What's the difference between UUID and GUID?
Can UUIDs collide?
Why use v7 instead of v4?
Are these UUIDs cryptographically secure?
crypto.getRandomValues() API and crypto.randomUUID() when available — both are cryptographically secure. We never use Math.random(), which would be predictable.Can I use these UUIDs in production?
Related tools
More free tools — all run in your browser.
Password Generator
Generate strong, secure passwords instantly.
JSON Formatter
Format, validate, and minify JSON instantly.
Slug Generator
Generate URL-friendly slugs from any text.
Find & Replace
Find and replace text with support for regex and case sensitivity.
Remove Duplicates
Remove duplicate lines from text instantly.
Lorem Ipsum
Generate Lorem Ipsum placeholder text in any length.