#!

UUID Generator

Generate UUID v1, v4, v5, v7, or NIL UUIDs — including time-ordered v7. Bulk generation with copy and export options.

UUID generatorGUID generatorunique IDrandom UUIDUUID v7uuidv7time-ordered UUIDtimestamp UUIDRFC 9562
Configuration

Why UUID Generator?

Test data should look like production data. This generator produces standard UUIDs in v1, v4, v5, and v7 - including the new time-ordered v7 format - in bulk, with the dashes kept or stripped, exactly the shapes APIs and databases expect.

  • Generate a batch of 100 when seeding a test database - the bulk export makes it a one-paste job.
  • If your schema uses v7 (PostgreSQL 18 ships uuidv7()), generate those here too - the embedded timestamp shows right on each row, so you can eyeball sort order.
  • Stripped (no-dash) UUIDs are what many ORMs store internally; use the option if your schema does that.

What is UUID Generator?

UUID Generator creates universally unique identifiers (UUIDs) — 128-bit values used as identifiers in databases, distributed systems, and APIs. It generates v1 (timestamp + MAC address), v4 (fully random), v5 (SHA-1 hash of a namespace + name), and v7 (time-ordered, RFC 9562: a 48-bit millisecond timestamp followed by random bits) UUIDs, plus the NIL UUID. v7 values sort chronologically, so they are the modern choice for database keys.

Common Use Cases

Database Primary Keys

Generate unique identifiers for database records without central coordination — v7 keeps them roughly time-ordered, which improves B-tree index locality under insert-heavy workloads.

Time-Ordered Keys (Postgres & friends)

UUID v7 is the recommended replacement for auto-increment and v4 keys in new schemas: PostgreSQL 18 ships a built-in uuidv7() function, and other databases are following. Generate fixtures that behave like production keys.

Event Sourcing & Log Correlation

Use v7 UUIDs as event or log IDs — because the timestamp is embedded in the value, ordering by ID equals ordering by time, with no extra timestamp column.

API Tokens

Create unique tokens for API authentication and session management.

Distributed Systems

Generate IDs that are unique across multiple servers without synchronization.

File Naming

Create unique filenames to prevent collisions in storage systems.

How to Use This Tool

  1. Select the UUID version (v1, v4, v5, v7, or NIL)
  2. For v5, enter the name to hash — the same name always produces the same UUID
  3. Choose the number of UUIDs to generate
  4. Click "Generate" to create new UUIDs — v7 rows show the UTC timestamp embedded in the value
  5. Copy individual UUIDs or all at once

Related Tools

Learn More