UUID Generator

Random v4 or time-ordered v7 UUIDs, up to 1,000 at a time.

0 UUIDs

Sorted by creation time
Runs on this device. Nothing is uploaded.Made with your browser’s cryptographic random generator.

About the UUID Generator

Generate UUIDs with your browser's cryptographic random generator: random version 4, or version 7, which starts with a timestamp so new IDs sort after old ones, which makes database indexes faster. Make one or a thousand, in upper or lower case, with or without hyphens or braces.

How to use it

  1. Choose a version and how many.
  2. Click Generate (a fresh batch is made on every click).
  3. Copy or download the list.

Example

Input
Version 7, 2 IDs
Result
019a6e3c-5f2a-7c41-9b1e-3f6d2a8c0e14 019a6e3c-5f2a-7c42-a07d-61c9e4b2f5a8

Questions

Which version should I use?

Use v7 for database primary keys: they sort by creation time, which keeps B-tree indexes compact. Use v4 when an ID must reveal nothing, not even when it was created.

Can two UUIDs collide?

A v4 UUID has 122 random bits. You would need to generate about a billion per second for 85 years to have a 50% chance of one collision.

Are these generated on a server?

No. They come from crypto.randomUUID and crypto.getRandomValues in your browser, and no list is stored anywhere.

Related tools