All tools

ULID Generator

Generate sortable Universally Unique Lexicographic IDs.

01KSG54FE86AZS8S7HV8BYBV8S
01KSG54FE87JZAXH9XDDCZDYX8
01KSG54FE895EDADC2WBH15FYB
01KSG54FE8TV953188R2D7MRC9
01KSG54FE813YKCJXZ8VS3V57Y

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.