Snowflake ID Decoder (Twitter/X, Discord, Custom)

Reads a 64-bit Snowflake ID and shows the time it was created and the worker and sequence fields packed inside.

Use the tool

Why this tool exists

Snowflake IDs pack a timestamp, a machine identifier and a counter into one 64-bit number so they sort by time without a central counter. Twitter/X and Discord use this scheme with different epochs.

The presets use the values from the Twitter snowflake source (epoch 1288834974657, 5 + 5 + 12 bits) and the Discord API reference (epoch 1420070400000). For other systems choose Custom and enter the epoch and bit widths. Check a known ID before trusting a custom layout.

How to use it

  1. Paste one or more IDs.
  2. Choose the layout.
  3. For Custom enter the epoch in Unix milliseconds and the bit widths.
  4. Read the time and fields.

Frequently asked questions

What if my platform is not listed?

Pick Custom and enter its epoch and bit layout from its documentation. Layouts differ between systems.

Why is the time wrong?

Usually the wrong layout or epoch. Try the other preset or check the ID is a Snowflake and not a different kind of ID.

Are IDs treated as numbers?

They are read as exact 64-bit integers, so no precision is lost, unlike plain JavaScript numbers.

Can it create IDs?

No, it only decodes.