Developer Tool

Base36 Timestamp Encoder / Decoder

Convert a Unix timestamp into a short base36 string — the same compression trick used to keep IDs and shortened URLs short — or decode one back to a date.

Enter a timestamp
Enter a base36 string

Why base36, specifically

Base36 uses all 10 digits plus all 26 lowercase letters, which packs a 10-digit decimal Unix timestamp into just 6-7 characters — shorter than base10, and URL-safe without any special encoding, unlike base64 (which includes characters like +, /, and = that need escaping in a URL). It's a common building block behind compact, sortable, timestamp-prefixed IDs.

Working with a full 64-bit ID that embeds a timestamp inside it, rather than just a plain converted number? See the Snowflake ID Decoder instead.

Related

Related tools