Generate ULIDs and decode their timestamps.
The ULID Generator creates ULIDs, which are 26-character identifiers that sort by creation time, and decodes existing ULIDs back to their timestamp. You can make up to 1000 at a time, and keep them in order within the same millisecond with the monotonic option.
ULID stands for Universally Unique Lexicographically Sortable Identifier. It is 128 bits written as 26 characters in Crockford Base32, which uses the digits and letters except I, L, O and U. The first 10 characters encode a 48-bit timestamp in milliseconds since the Unix epoch, and the last 16 characters encode 80 bits of randomness. Because the timestamp comes first and the alphabet is in ascending order, sorting ULIDs as strings sorts them by creation time. This makes them friendly as database keys, since new rows land near each other, unlike fully random UUID v4 values. When several ULIDs are created in the same millisecond, the monotonic mode increments the random part by one to keep them strictly ordered.
A UUID v4 is random with no ordering. A ULID begins with a timestamp, so it sorts by time, and it is written in 26 characters instead of 36.
With 80 random bits per millisecond, collisions are extremely unlikely, and monotonic mode avoids collisions within one batch.
No. The canonical form is uppercase, and decoding accepts lowercase.
Both are 128 bits, so they can be converted. This tool does not offer that conversion.
Yes. The first 10 characters are the creation time in milliseconds, which anyone can decode.
Yes. They are made in the page from the browser random source and your clock, and are not sent anywhere.