Dev Tools
  1. All dev tools
  2. UUID generator

UUID generator

Generate random v4 UUIDs or time-ordered v7 UUIDs, one at a time or in bulk, with your browser's cryptographically secure random generator.

How to use the uUID generator

  1. Choose v4 (random) or v7 (sorted by time).
  2. Pick how many and the format.
  3. Select Generate and copy them.

Questions

v4 or v7?

v4 is fully random and the most widely supported. v7 starts with the creation time, so new IDs sort after old ones, which keeps database indexes efficient. Use v7 for primary keys if your database supports it.

Can two UUIDs collide?

In practice, no. 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 a single duplicate.

Is my data sent anywhere?

No. Everything runs in your browser with JavaScript. What you paste is never sent to a server, and the site's security policy stops the page from connecting to any other website. That matters for tokens, keys and customer data, which people paste into tools like this every day.