Developer Tools
ULID Decoder and Inspector
Decode a ULID to its creation time in local time and UTC, check length and characters, see the random part in Base32 and hex, and convert ULID to and from UUID.
How to use ULID Decoder and Inspector
Paste a ULID to see when it was created, how long ago that was, the random part and its UUID form. Paste a UUID to convert it into a ULID, or several lines (up to 500) to check a whole batch at once.
- Paste ULIDs or UUIDsPaste 01KDVDNA005VZ9X4J8YB2C3D4E or a UUID; case does not matter, and one per line works for batches.
- Read the timestampSee the creation time in local time and UTC, the millisecond value and how long ago that was.
- Copy the UUID formCopy the equivalent UUID for a database uuid column, or the ULID produced from a UUID.
What is inside a ULID
A ULID is 128 bits written as 26 Crockford Base32 characters: the first 10 encode a 48-bit millisecond timestamp and the last 16 an 80-bit random part. 01KDVDNA005VZ9X4J8YB2C3D4E, for example, decodes to 2026-01-01 00:00:00 UTC (1767225600000 ms), with the random part 5VZ9X4J8YB2C3D4E, or 2efe9e9248f2c4c1b48e in hex. The first character can be at most 7, or the value would exceed 128 bits. The alphabet has no U, and following Crockford's rules I and L are read as 1 and O as 0, with a note when that happens.
Converting between ULID and UUID
Because both are 128-bit numbers, the conversion is lossless: the example above is 019b76da-a800-2efe-9e92-48f2c4c1b48e as a UUID, which you can store in a PostgreSQL uuid column. Paste a UUID and you get the matching ULID. A UUID v7 also starts with a 48-bit millisecond timestamp, so its decoded time is meaningful; for other versions the time is just a by-product of the bits, and the inspector warns you. Timestamps more than a day in the future are flagged as unlikely to be genuine.
Accuracy and data handling
Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
Are ULIDs case-sensitive?
No. Input is converted to upper case before decoding, and upper case is the canonical form, so 01kdvdna… and 01KDVDNA… are the same ULID.
Why is the decoded time in the future?
The value may not be a genuine ULID, or the generating machine's clock was wrong. The inspector warns when the timestamp is more than a day ahead of now.
What does the random part tell me?
Nothing beyond uniqueness. It is shown in Base32 and hex so you can compare IDs, but it carries no information about the machine or the user that created it.
More Developer Tools
Related toolsSee every JWT claim explained, with readable times and expiry status
Convert text or bytes to Base32 and decode Base32, including TOTP secrets
Make a scannable WiFi QR code so guests can join without typing a password
Highlight regex matches, inspect groups and preview replacements live.
Encode or decode URLs and query values with %XX, encodeURI or form rules
Encode special characters as HTML entities or decode entities back to text