ULID Generator

Generate ULIDs: 26-character IDs made of a millisecond timestamp and 80 random bits in Crockford Base32. Create up to 10,000 at once, in increasing order. ULIDs sort by creation time as plain strings and fit in the same 128 bits as a UUID.

About this tool

What is a ULID?

ULID stands for Universally Unique Lexicographically Sortable Identifier. Like a UUID it is 128 bits long, but it is written as 26 characters in Crockford's Base32 instead of 36 hex characters with hyphens. The first 48 bits are a Unix timestamp in milliseconds and the remaining 80 bits are random, so ULIDs sorted as text are also sorted by the time they were created.

How to use

  1. Enter a number from 1 to 10,000 in Number of ULIDs.
  2. Click Generate.
  3. Copy the ULIDs, download them as ulid.txt, or view them full screen with the buttons in the corner.

Features

  • 1 to 10,000 ULIDs per click
  • Monotonic generation: ULIDs created in the same millisecond still increase, because the random part is incremented by one
  • Cryptographically secure random part (via the ulid library)
  • Copy or download as plain text, one ULID per line
  • The last list is kept in this browser

Format

 01KDVDNA00      HQ9SFE6DP2TZQMCK
|----------|    |----------------|
 Timestamp          Randomness
  10 chars           16 chars
  48 bits            80 bits

The timestamp 01KDVDNA00 above is 2026-01-01 00:00:00 UTC. Three ULIDs generated in the same millisecond look like this:

01M40TQZ01HQ9SFE6DP2TZQMCK
01M40TQZ01HQ9SFE6DP2TZQMCM
01M40TQZ01HQ9SFE6DP2TZQMCN

Crockford's Base32 uses the digits 0-9 and the letters A-Z except I, L, O and U, which avoids characters that are easy to confuse. ULIDs are output in uppercase.

FAQ

ULID or UUID v7?

Both combine a millisecond timestamp with random bits and sort by time. Choose ULID if you want a shorter, URL-friendly string; choose UUID v7 if your database, API or tooling expects the standard UUID format.

Can I store a ULID in a UUID column?

Yes. Both are 128 bits, so a ULID can be converted to the 16-byte binary form and stored as a UUID. This tool outputs the Base32 text form only; it does not convert between the two.

How far into the future do ULID timestamps work?

The 48-bit timestamp lasts until the year 10889.

Are the ULIDs created on a server?

No. They are generated in your browser and never uploaded.

πŸ†” UUID v1 Generator
Generate up to 10,000 time-based UUID v1 values at once from the current timestamp, a clock sequence and a random node ID. Copy them or download a .txt file.
πŸ†” UUID v3 Generator
Create a name-based UUID v3 by hashing a namespace and a name with MD5. Pick the DNS, URL, OID or X.500 namespace or paste your own; same input, same UUID.
πŸ†” UUID v4 Generator
Generate random UUID v4 values (GUIDs) in bulk, up to 10,000 at once, using your browser's cryptographically secure random generator. Copy or download as text.
πŸ†” UUID v5 Generator
Turn a name into a stable UUID v5 by hashing it with a namespace using SHA-1. Use the DNS, URL, OID or X.500 namespace or your own; same name, same ID.
πŸ†” UUID v7 Generator
Generate time-ordered UUID v7 values, up to 10,000 at once. Each starts with a Unix timestamp in milliseconds, so they sort by creation time as database keys.
πŸ†” Pairwise Test Generator
Generate pairwise (all-pairs) and n-wise test cases in your browser. Enter factors and values in a grid and exclude combinations with PICT constraints.