KSUID Decoder
- Canonical KSUID
- 0ujtsYcgvSTl8PAuAdqWYSMnLOv
- Embedded timestamp
- Raw timestamp (s): 107608047Unix (s): 1507608047ISO 8601 (UTC): 2017-10-10T04:00:47.000ZLocal time: 10/10/2017, 4:00:47 AM
- Payload (128 bits)
- Hex (16 bytes): b5a1cd34b5f99d1154fb6853345c9735
Decoded locally in your browser by parsing the 27 base62 characters. Nothing is generated or sent anywhere — your KSUID stays only on this page.
Read a KSUID's embedded timestamp and payload
A KSUID is 20 bytes encoded as 27 base62 characters: a 4-byte big-endian timestamp followed by a 16-byte random payload. The timestamp counts seconds from the KSUID epoch (2014-05-13T16:53:20Z), so absolute Unix time is the raw value plus 1,400,000,000. Because the timestamp leads, KSUIDs sort lexicographically by creation time, which makes them popular database keys. Decoding is case-sensitive, matching the base62 alphabet (0-9, A-Z, a-z). This tool only reads the bits already in the identifier; to create one, use the KSUID generator.