Developer ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Developer Tools

ULID Generator

Generate up to 1,000 ULIDs at once: 26-character, time-sortable IDs with a millisecond timestamp and 80 random bits. Monotonic mode, custom time and lower case.

View all tools
ResultUpdates as you type

The result appears here as soon as the page has loaded.

How to use ULID Generator

Choose how many ULIDs you need and, optionally, a fixed time for back-filling records. Monotonic mode is on by default, so IDs created in the same millisecond still sort in order; a new batch appears whenever you change a setting.

  1. Set how manyEnter a count from 1 to 1,000; the list appears straight away, one ULID per line.
  2. Fix the time if neededLeave Time blank for now, or pick a date and time to embed in every ID, for example for test data.
  3. Choose ordering and caseKeep Monotonic on for strict ordering, tick Lower-case output if your system prefers it, then copy.

How a ULID is built

A ULID is 128 bits written as 26 Crockford Base32 characters, an alphabet without I, L, O or U to avoid misreading. The first 10 characters encode the creation time in milliseconds and the last 16 hold 80 random bits, so sorting ULIDs as plain strings sorts them by time. That makes them friendlier than UUID v4 for database indexes and time-range queries. Every ULID created at 2026-01-01 00:00 UTC, for example, begins 01KDVDNA00. The note under the list shows the timestamp that was used.

Monotonic versus random ordering

When you generate many IDs at once, several share the same millisecond. In monotonic mode, the approach the ULID specification recommends, each later ID in that millisecond takes the previous random part plus one, so string order matches creation order exactly, giving endings such as …VVPA, …VVPB, …VVPC. Turn it off and every ID gets fresh random bits, so IDs from the same millisecond sort randomly. A custom time must fall between 1970 and the year 10889, the range a 48-bit millisecond timestamp can hold.

Accuracy and data handling

Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Can ULIDs be converted to UUIDs?

Yes. Both are 128-bit values, so every ULID has an exact UUID form. Paste one into the ULID decoder to see it, or to turn a UUID back into a ULID.

Why set a custom time?

It lets you back-fill IDs for historical records, or build test data whose IDs match the record dates, while the random part is still generated fresh for each ID.

Are lower-case ULIDs valid?

Yes. ULIDs are case-insensitive. Upper case is the canonical form, but decoders accept lower case, so choose whichever your system or style guide prefers.

More Developer Tools

Related tools