ULID 生成器 — Uttir
Skip to main content

ULID 生成器

生成 ULID——内置时间戳、可排序、URL 安全的 26 位标识符。免费、密码学安全随机、浏览器内生成。

ULID 生成器 — A ULID (Universally Unique Lexicographically Sortable Identifier) is a 26-character identifier with two parts: a 10-character timestamp (milliseconds since the Unix epoch) and a 16-character random part. Compare that to a UUID, which is 36 characters and has no time component.

IDs are generated locally using your browser's secure random number generator. Nothing is sent to a server.

Was ULID 生成器 useful?

ULID 生成器是什么?

A ULID (Universally Unique Lexicographically Sortable Identifier) is a 26-character identifier with two parts: a 10-character timestamp (milliseconds since the Unix epoch) and a 16-character random part. Compare that to a UUID, which is 36 characters and has no time component.

Because the timestamp is at the front, ULIDs sort in the same order as the events that created them. If you insert two rows into a database and look at the IDs, the lower ID was created first — no separate created_at column needed. The random part is 80 bits of cryptographic randomness, the same collision resistance as a UUIDv4.

使用方法

  1. Set quantity

    Pick how many ULIDs to generate, from 1 to 1000.

  2. Generate

    Click the button. Each ID is 26 characters, URL-safe, and case-insensitive.

  3. Copy or download

    Use Copy to grab the IDs, or Download to save as a .txt file (one per line).

示例

A single ULID

A typical ULID with the current timestamp prefix.

结果: 01HZX8K3M7QFYR2X5VJ8N4P6WA

A batch of 5

Five ULIDs generated in one call. They will sort in the order they were created.

结果: 01HZX8K3M7QFYR2X5VJ8N4P6WA 01HZX8K3M7QFYR2X5VJ8N4P6WB 01HZX8K3M7QFYR2X5VJ8N4P6WC 01HZX8K3M7QFYR2X5VJ8N4P6WD 01HZX8K3M7QFYR2X5VJ8N4P6WE

常见问题

相关工具

Last reviewed: 2026-11-21