首页
Tom Utilities

ULID 生成器

开发者实用工具

生成可排序的 ULID,并从任意现有 ULID 解码时间戳。

使用方法

Generate ULIDs

Set how many identifiers you need and copy the list. Each ULID is 26 characters of Crockford base32.

  1. Set the number of ULIDs.
  2. Copy the generated list.
  3. Paste a ULID below to decode its timestamp.

Why ULID?

ULIDs sort by creation time, unlike random UUIDs, and use a compact base32 alphabet that avoids ambiguous letters.

常见问题

What is inside a ULID?

The first 10 characters encode a 48-bit millisecond timestamp and the remaining 16 characters are random.

Are ULIDs unique?

The 80 random bits make collisions extremely unlikely, especially when combined with the timestamp.