Skip to content
Sealpaste

Delete all recent work?

This removes the 0 items saved in this browser. Your settings stay.

Stop saving recent work?

New work won't be saved in this browser. The 0 items already saved can stay or go.

ULID Generator

IDs
Ready
Runs in your browser. Nothing you paste is uploaded unless you share it.

Inspect an ID

Generate ULIDs in bulk and decode the timestamp of any ULID

Generate ULIDs: 26-character, sortable, URL-safe identifiers. Paste a ULID to read when it was created.

How to use it

  1. Choose how many ULIDs you need and click Generate.
  2. Copy them; they sort by creation time as plain strings.
  3. Paste an existing ULID into "Inspect an ID" to see its timestamp.

Example

ULID structure

Input
01JA2X3Y4Z5ABCDEFGHJKMNPQR
Result
Time (first 10 chars): 01JA2X3Y4Z → creation millisecond
Random (last 16 chars): 5ABCDEFGHJKMNPQR

Why ULIDs

A ULID is built like a UUID v7 (a millisecond timestamp plus random bits) but written in 26 characters of Crockford Base32: shorter, without dashes, and read the same in upper or lower case. That alphabet leaves out I, L, O and U.

Because the time comes first, sorting ULIDs as strings sorts them by creation time, which keeps database indexes and log listings in order.

ULID vs UUID v7

ULIDUUID v7
Text26 characters, Crockford Base3236 characters, hex with 4 dashes
Time48-bit Unix milliseconds48-bit Unix milliseconds
Random bits8074 (6 bits name the version and variant)
Defined byThe ULID spec (community)RFC 9562 (IETF, 2024)
Database typeText, or 16 bytes re-encodedNative uuid / Guid columns

Sources: ULID spec, RFC 9562: UUID version 7

Monotonic ULIDs

Two ULIDs made in the same millisecond have random endings, so they can sort in either order. The spec’s monotonic mode fixes that: inside one millisecond, each new ULID is the one before plus one in its random part. Every batch here is made that way, so a list sorts in the order it was generated.

Decoding shows only the millisecond: ids from one batch share it and differ in the last characters.

Questions

Are these IDs secure and unique?
They use your browser’s cryptographic random generator (crypto.getRandomValues). A v4 UUID has 122 random bits, a ULID 80 and a v7 UUID 74 for every millisecond, so a collision is not a practical concern. The IDs are made on your device and aren’t sent anywhere.
Can I convert a ULID to a UUID?
Both are 128 bits, so a ULID can be stored in a UUID column by re-encoding the bytes. The text forms differ; the timestamps match.
Are ULIDs case-sensitive?
No. Crockford Base32 reads the same in capitals and small letters, and its alphabet leaves out I, L, O and U. ULIDs are usually written in capitals; Inspect an ID reads either.

Related tools