~ / labs/tid

tid.

atproto record keys are timestamp identifiers — 13 chars of base32-sortable text packing a 53-bit microsecond timestamp and a 10-bit clock id. live-generate them or paste one to see exactly when it was minted and by which clock.

// generator
3modsapilapfe
timestamp
2026-06-15 17:21:08.269 utc
microseconds
1781544068269269
clock id
362 / 1024
// decoder
paste any atproto record key — e.g. 3jzfcijpj2z2a
// format
13 chars · base32-sortable · alphabet "234567abcdefghijklmnopqrstuvwxyz"

bit layout (65 bits → 13 × 5):
  [1 bit] leading zero
  [53 bits] microseconds since 1970-01-01 utc
  [10 bits] random clock id (disambiguates rapid inserts)

sort order equals time order — new tids always come after older
ones, and two tids with the same microsecond diverge by clock id.