What is a ULID?
A ULID (Universally Unique Lexicographically Sortable Identifier) is a 26-character ID. The first 10 characters encode the time in milliseconds, and the last 16 are random. Because time comes first, sorting ULIDs as text puts them in the order they were made.
Each ULID holds 48 bits of time and 80 bits of random data, written in a compact alphabet that avoids confusing letters. Compared with a random UUID, a ULID keeps new database rows together and is shorter as text (26 characters instead of 36). If several are made in the same millisecond, the random part counts up so the order stays correct.
How to use the ULID Generator
- Choose how many IDs to make.
- Pick uppercase or lowercase letters.
- Press the button to generate them.
- Copy or download the list.