Skip to main content
HandyWeb

UUID and ULID Generator

Create UUID version 4 and 7 or ULID values, up to 1,000 at a time. Paste a UUID or a ULID to see its version and the time inside it.

Runs on your device.

Type

The random parts come from crypto.getRandomValues of your browser. The time in v7 and ULID comes from the clock of this device.

How to Use It

  1. Choose the type: UUID v4, UUID v7, or ULID.
  2. Choose how many and the format, then copy the output.
  3. To see the version and the time of an ID, paste it into the inspect box.

Questions and Answers

v4 or v7?

v4 is fully random. v7 starts with the time, so newer IDs sort after older ones, which is better for database keys. Both are in RFC 9562.

What is a ULID?

A 26-character ID: the first 10 characters are the time in milliseconds, and the other 16 are 80 random bits. It uses Crockford Base32, which has no I, L, O, or U, so it is not confused with 1 and 0.

Can a UUID repeat?

Not in practice. A v4 UUID has 122 random bits, and the chance of a repeat is tiny even after billions of IDs.

Good to Know

IDs made in the same millisecond are not sorted in the order they were made in v7 and ULID, because their last part is random.

Source code of this toolReport a problem on GitHub