All tools

ULID Generator

Generate sortable Universally Unique Lexicographic IDs.

01KR5BWYJC5TS2GJ6BD1D4XYE6
01KR5BWYJCTK3RSMP3RJ9ZRE6C
01KR5BWYJCJ3C3T4EC9H15QK05
01KR5BWYJCWKWSFM3CPDKMRRM2
01KR5BWYJCWNEJVB3A8ZPP9SZK

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.