ULID generator

Generate sortable ULIDs, or decode a ULID’s timestamp.

Runs in your browser. Your input is not uploaded.

Decode a ULID

What it does

A ULID is a 128-bit ID written as 26 Crockford Base32 characters. The first 10 characters are a millisecond timestamp and the rest are random, so ULIDs sort by creation time as plain strings.

Paste a ULID to read the time inside it.

How to use it

  1. Choose how many and generate.
  2. Copy the IDs.
  3. Or paste a ULID to decode its timestamp.

Things to watch for

  • Like UUID v7, a ULID reveals its creation time.
  • ULIDs created in the same millisecond here are not guaranteed to be in order. The spec’s monotonic mode is not implemented.

Questions

ULID or UUID v7?
They carry the same information. UUID v7 fits UUID columns and libraries; ULID is shorter as text and case-insensitive.
Which characters does a ULID use?
Crockford Base32: digits and upper-case letters without I, L, O and U.
Can I store a ULID in a UUID column?
Yes, both are 128 bits, but you need to convert it. Most code stores ULIDs as CHAR(26).
Are these secure?
The random part comes from the browser’s secure random source, but an ID is not a secret.