KSUID decoder & generator

A 27-character, base62-encoded identifier introduced by Segment. The first 4 bytes are unix seconds since the KSUID epoch (1400000000); the remaining 16 bytes are random payload.

epoch · 2014-05-13
ksuid-
decoded-
created at
-
unix seconds
-
relative
-
payload (hex)
-
about KSUIDsegment

KSUID = K-Sortable Unique IDentifier.

20 bytes total: 4 bytes unix-seconds-since-2014 + 16 bytes random payload.

Base62-encoded into 27 ASCII characters - URL-safe, no special chars, lexicographically sortable by time.

Won't overflow until year 2150.

-

Related decoders