All tools

ULID Generator

Generate sortable Universally Unique Lexicographic IDs.

01M0TKZCCH7PZSXSCD2FSYFA89
01M0TKZCCH3J1CP1EN5EX27908
01M0TKZCCH6WCNWYFDX2643JMZ
01M0TKZCCH34YHFP3JTQ3HF1TS
01M0TKZCCHD3NBWNEXK116628Z

Each ULID is 26 characters: 10 chars of timestamp followed by 16 chars of randomness. Sortable by creation time.

About

ULIDs are 26 characters, lexicographically sortable, and case-insensitive. They encode a millisecond timestamp followed by random bits, so newer IDs sort after older ones. Better than UUIDs for database keys.

How to use

  1. Hit generate.
  2. Pick how many to generate at once.
  3. Copy the IDs.

FAQ

Why use ULID over UUID?+

Two reasons. They sort by creation time, which makes database indexes happy. And the 26-character format is shorter than UUID's 36.