Snowflake ID decoder

Decode Discord or Twitter/X snowflake IDs into timestamp, worker/datacenter, and sequence — or mint one from a time.

Decoded in this browser. Nothing is sent anywhere.

Discord snowflakes use epoch 2015-01-01 UTC (ts >> 22 + epoch). Twitter used 2010-11-04T01:42:54.657Z. Custom epoch accepts any Unix-ms base.

How to use

  1. Paste an ID (or pick a scheme first).
  2. Read the embedded timestamp and parts.
  3. Or enter a date to build the matching ID.

What it supports

Discord epoch (2015-01-01) and Twitter/X epoch (2010-11-04) layouts — both shift the millisecond timestamp left 22 bits and split the low bits as 5+5+12. A custom-epoch mode uses Discord's layout with your own epoch. IDs are 64-bit integers; decoding is exact, no network calls.

Related tools

Related guides