ULID Generator & Inspector
Generate sortable ULIDs and decode their timestamps
Options
1 to 1,000 per batch.
ULIDs in the same millisecond increment by one, so the batch stays sorted.
Output
Choose options, then select Generate ULIDs.
Randomness comes from crypto.getRandomValues in your browser. ULIDs reveal when they were created, so never use them as secrets or access tokens. Need RFC 9562 UUIDs? Open the UUID Generator
How to use
- 1.Choose Generate, set how many ULIDs you need and whether the timestamp is now or a custom date-time.
- 2.Turn on Monotonic when the batch must stay sorted inside one millisecond.
- 3.Select Generate ULIDs, then copy single values, copy all, or download them as text, JSON, CSV, SQL or code.
- 4.Choose Inspect and paste one ULID per line to validate them and read their timestamps.
What is a ULID?
A ULID (Universally Unique Lexicographically Sortable Identifier) is a 128-bit identifier written as 26 Crockford Base32 characters. The first 10 characters encode a 48-bit Unix timestamp in milliseconds and the last 16 characters hold 80 random bits, so ULIDs sort by creation time as plain strings while staying practically collision-free.
ULID or UUID?
Both are 128-bit identifiers. A ULID is shorter as text (26 characters instead of 36), sorts by creation time, and uses an alphabet without ambiguous letters. A random UUID v4 reveals nothing about when it was made. If your database column expects UUIDs, the inspector shows each ULID in UUID layout; UUID v7 is the standardized time-ordered alternative.
Validation rules and limits
A valid ULID has exactly 26 characters from 0-9 and A-Z without I, L, O and U, and its first character is 0-7 so the timestamp fits in 48 bits. Input is case-insensitive and normalized to uppercase; I, L and O are rejected rather than read as 1 and 0. Generation uses crypto.getRandomValues and runs only in your browser; nothing is stored or sent. The timestamp is visible to anyone who sees a ULID, so do not use ULIDs where creation time must stay private or as unguessable tokens.
Frequently asked questions
- What is the difference between a ULID and a UUID?
- Both are 128-bit identifiers. A ULID starts with a 48-bit millisecond timestamp, so ULIDs sort by creation time as plain text, and it is written as 26 Crockford Base32 characters instead of 36 hexadecimal characters with hyphens. A random UUID v4 does not reveal when it was created; UUID v7 is the standardized time-ordered UUID.
- What does monotonic mode do?
- When several ULIDs share the same millisecond, monotonic mode keeps the timestamp and adds one to the 80-bit random part for each new ULID, so the batch stays strictly increasing. If the random part would pass its maximum value, generation stops with an overflow error instead of wrapping around.
- Are my ULIDs sent to a server?
- No. ULIDs are generated with crypto.getRandomValues in your browser, and pasted ULIDs are validated and decoded locally. Nothing is stored or uploaded.
