AG UUID

ULID ulid · Base32

A short, time-sortable identifier written as 26 characters of Crockford Base32.

Overview

It encodes a 48-bit timestamp plus 80 random bits into 26 characters. Lexicographic order matches chronological order, and it is safe for URLs and file names.

Structure

Bit length128
Character length26
FormatCrockford Base32
SortableYes
Random-basedYes

When to use

Use it as an alternative to UUID when you need a sortable, short public ID. Because it is case-insensitive Base32, it is also easy for people to read.

Example

ULID
01ARZ3NDEKTSV4RRFFQ69G5FAV

Generate this format

View per-language code →