LikeApp

🆔 UUID Generator

Free UUID generator supporting v4 (crypto-random) and v7 (time-ordered, RFC 9562). Generate 1–100 at once, uppercase and no-hyphen options, copy one or all. Runs 100% in your browser.

Last updated: 2026-08-21

Click Generate to create UUIDs. Everything runs locally using your browser’s crypto.getRandomValues.

UUID v4 vs v7 — which should you use?

UUID v4UUID v7
How it is generated122 cryptographically random bits48-bit millisecond timestamp + random bits
SortabilityRandom — no relation to creation orderTime-ordered — lexicographic sort = creation order
DB index behaviorRandom inserts can fragment B-tree indexesNear-sequential inserts, index-friendly
Best forGeneral IDs where unpredictability mattersDatabase primary keys, event logs, new systems

v7 was standardized in RFC 9562 (2024). Note that a v7 UUID embeds its creation time (in ms) in the first 48 bits — if the creation time must stay private, use v4 instead.

How to Generate UUIDs

  1. Choose UUID v4 (random) or v7 (time-ordered)
  2. Set the count (1–100) and uppercase / no-hyphen options
  3. Click Generate to create them all at once
  4. Copy a single UUID or all of them with one click

💡 Common Examples

ScenarioInputResult
Generate v4v4, count 1e.g. 550e8400-e29b-41d4-a716-446655440000
Generate v7 (time-ordered)v7, count 3Start with 01a0..., sort = creation order
Bulk, no hyphensv4, count 100, no hyphens100 lines of 32-char hex → copy all

UUID v4 vs v7: Which One Should You Use?

A UUID (Universally Unique Identifier) is a 128-bit identifier that can be generated anywhere, by anyone, with no central authority — and still be globally unique. Developers use them for database primary keys, request IDs in distributed systems, file names, and API key prefixes. This tool generates both the ubiquitous v4 and the newer v7 defined in RFC 9562 (2024).

A v4 UUID is 122 bits of pure randomness. This tool uses crypto.getRandomValues — the browser's cryptographically secure random source — rather than Math.random, so the output is genuinely unpredictable. A v7 UUID instead leads with a 48-bit Unix millisecond timestamp followed by random bits, which means plain string sorting equals creation-time sorting.

Why does v7 matter? Using v4 as a primary key in MySQL or PostgreSQL scatters inserts across the whole index, causing frequent B-tree page splits and degraded write performance. v7 values increase almost monotonically, giving you near auto-increment index efficiency while still being safely generatable across distributed nodes. The trade-off: a v7 UUID reveals its creation time, so choose v4 when that timing must stay private.

Generate 1–100 UUIDs at once, toggle uppercase, or strip hyphens for a 32-character hex form. Copy them one at a time or all together — perfect for seeding test data, writing migration scripts, or filling API test payloads. Everything runs locally in your browser. You might also like our password generator for random secrets and hash generator for checksums.

FAQ

Related Tools

Tools You Might Also Like