ULID Generator
Generate time-sortable ULIDs with timestamps
Settings
Generate
Result
What is ULID Generator?
ULID (Universally Unique Lexicographically Sortable Identifier) is a 26-character unique identifier combining timestamp and randomness. Shorter and more readable than UUIDs, with the ability to be sorted chronologically.
Key Features
- 128-bit format compatible with UUID
- Lexicographically sortable (timestamp-based)
- 26 characters and URL-safe (shorter than UUID's 36 characters)
- Three generation methods: default, time seed, and monotonic
Useful as a UUID alternative for database primary keys, log tracking, distributed system identifiers, and many other scenarios.
How to Use
- Select a generation method
- Enter seed time if needed
- Specify the quantity (1-100)
- Click "Generate ULID" button
- Generated ULIDs will appear in the result area
Differences from UUID
- Shorter: 26 characters (UUID is 36 characters)
- Sortable: Timestamp-based, can be arranged chronologically
- URL-safe: No special characters
- Readable: Base32 encoding for better readability
- Case-insensitive: More resistant to input errors
ULID Structure
ULID consists of a 48-bit timestamp (milliseconds) and 80 random bits.
01ARZ3NDEKTSV4RRFFQ69G5FAV
|------------|------------|
Timestamp Random
(10 chars) (16 chars)
Generation Methods
Default
Combines timestamp and random bits. The most common method.
Time Seed
Generates using the specified seed time. Even with the same seed time, the random portion differs, producing different ULIDs.
Monotonic
Generates ULIDs by incrementing the least significant bit by 1 within the same millisecond. Use when strict ordering is required.
Benefits of ULID
📊 Chronologically Sortable
Timestamp-based, so they can be sorted by generation order. Ideal for chronological management of logs and events.
📦 Database-Friendly
Sequential nature makes database indexing more efficient than UUIDv4.
✨ Short and Readable
At 26 characters and URL-safe, they're easy to use in URLs and filenames, with a human-readable format.
For more details, see the ULID specification.