ULID Validator
Validate ULIDs (Universally Unique Lexicographically Sortable Identifiers) and parse their components. Check if a string is a valid ULID format and extract timestamp and randomness parts.
Input
Output
Result
No value
Readme
What is a ULID?
A ULID (Universally Unique Lexicographically Sortable Identifier) is a 128-bit identifier designed to be compact, URL-safe, and sortable by creation time. Unlike UUIDs, ULIDs encode timestamp information in the first 48 bits, making them naturally sortable in chronological order. They use Crockford's Base32 encoding, resulting in 26-character strings that are case-insensitive and avoid ambiguous characters.
Tool description
The ULID Validator checks if a given string is a valid ULID format and extracts its components. The tool verifies the ULID structure, decodes the embedded timestamp to show when it was created, and displays the randomness component that ensures uniqueness, helping developers validate and understand their sortable identifiers.
Features
- Validates ULID format using Crockford's Base32 encoding
- Extracts and decodes the embedded timestamp (milliseconds since Unix epoch)
- Displays timestamp in human-readable ISO 8601 format
- Shows the 80-bit randomness component
- Real-time validation feedback
- Supports all standard ULID formats (26 uppercase characters)
Use Cases
- Validating sortable database identifiers before insertion
- Verifying chronologically ordered identifiers in distributed systems
- Debugging ULID generation in applications
- Extracting creation timestamps from existing ULIDs
- Checking ULID format in API requests and responses