Runs in your browser. Your input is not uploaded.

Snowflake and KSUID decoder

Decode a Snowflake ID or KSUID into a timestamp and component bits.

Loading the tool…

What it does, how to use it, and questions

What it does

Snowflake IDs pack a timestamp and worker bits into a 64-bit integer. Discord and Twitter use different epochs. KSUIDs are 27-character base62 IDs with a timestamp prefix.

Decode either into a UTC time and component fields.

How to use it

  1. Paste a Snowflake or KSUID.
  2. Choose an epoch if needed.
  3. Read the timestamp and bits.

Things to watch for

  • Wrong epoch yields wrong times. Discord and Twitter defaults are provided.
  • Not every numeric ID is a Snowflake.

Questions

Which epoch is default?
Twitter’s epoch unless you pick Discord or a custom millisecond epoch.
What about ULID?
Use the ULID tool for Crockford base32 ULIDs.
Can it generate Snowflakes?
Decode is the focus.
Is the ID uploaded?
No.