UUID generator

Random v4 and time-ordered v7 UUIDs.

UUID generator

Version

Runs in your browser. Nothing uploaded.

How to generate UUIDs

  1. Pick a version: v4 for fully random IDs, v7 for IDs that sort by creation time.
  2. Set how many you need, up to 1,000, and the format.
  3. Copy or download them. Click “Generate again” for a fresh batch.

What is a UUID?

A UUID (universally unique identifier) is a 128-bit ID written as 32 hexadecimal digits, like 3f6c2a1e-8b4d-4c7a-9e21-5d0f7b3a9c18. Because they are practically unique, any system can create them independently without checking a central database, so they suit database keys, file names and request IDs.

v4 or v7?

  • Version 4 UUIDs are almost entirely random, which makes them a good default when you just need unique IDs.
  • Version 7 UUIDs start with a timestamp, so they sort in the order they were made. That suits database keys, where sorted IDs keep indexes fast, and logs, where the order matters.

Both are 128 bits, written as 32 hexadecimal digits, usually in five groups split by hyphens. The chance of two random UUIDs colliding is so small that it can be ignored for any practical purpose.