UUID Generator
Generate v4 UUIDs individually or in bulk.
Generate unique v4 (random) or v7 (time-ordered) UUIDs
How to use it
- 1Set how many UUIDs you need and choose v4 (random) or v7 (time-ordered).
- 2Toggle hyphens and uppercase formatting as needed.
- 3Click Generate, pick an export format (lines, CSV, JSON, or SQL), then copy one or all of them.
Supported formats & limits
Works with standard syntax — no file size limit, since everything runs in your browser.
Example
A generated UUID v4 looks like 3fa85f64-5717-4562-b3fc-2c963f66afa6 — 32 hexadecimal digits grouped into five sections. Switch to v7 and generate a batch, and the UUIDs sort in creation order, since the first 48 bits are a timestamp rather than random.
How it works
V4 UUIDs are generated with crypto.randomUUID() — 122 random bits plus a few fixed version/variant bits. The odds of two random v4 UUIDs ever colliding are effectively zero, which is why they're widely used as unique database and object identifiers. V7 UUIDs instead lead with a 48-bit millisecond timestamp followed by random bits, so newly generated IDs sort chronologically and cluster together in a database index — a property increasingly preferred for primary keys over v4's fully random layout.