AZ Tools

Snowflake ID Decoder (Discord, Twitter)

Developer

A Snowflake is a 64-bit ID that packs a millisecond timestamp, a machine identifier, and a per-millisecond sequence counter into one sortable number. Discord, Twitter/X, Instagram, and many distributed systems use them. This decoder splits the ID back into its parts: it shifts out the high bits to recover the raw timestamp, adds the platform's custom epoch to get the real UTC date and time, and breaks the low bits into the worker, process, datacenter, shard, or sequence fields that platform uses. Pick Discord (epoch 2015-01-01, 5-bit worker + 5-bit process + 12-bit increment), Twitter/X (epoch 2010-11-04, 5+5+12), Instagram (13-bit shard + 10-bit sequence), or Custom with your own epoch. The timestamp is shown as ISO UTC, your local time, a relative "x ago", and the raw epoch milliseconds. Everything runs locally; nothing is uploaded.

Timestamp

UTC2016-04-30T11:18:25.796Z
Local4/30/2016, 11:18:25 AM
Relative10y 2mo ago
Epoch ms1462015105796
Raw timestamp41944705796

Fields

Worker (5b)1
Process (5b)0
Increment (12b)7

Discord epoch 2015-01-01 · Twitter/X 2010-11-04 · Instagram 2011-08-24. Decode with the platform that issued the ID.

How to use

  1. Choose the platform (Discord, Twitter/X, Instagram, or Custom).
  2. Paste the Snowflake ID — for example a Discord user or message ID.
  3. Read the creation timestamp and the worker / sequence fields; copy the UTC time or epoch as needed.

Frequently asked questions

Where do I find a Snowflake ID?
On Discord, enable Developer Mode and right-click a user, message, channel, or server to copy its ID. On Twitter/X it's the long number at the end of a tweet URL. Instagram media IDs are returned by its API. Any of these long numeric IDs can be decoded here.
Why does each platform need a different epoch?
A Snowflake's timestamp counts milliseconds since a chosen 'epoch' rather than the Unix epoch, which lets it fit in fewer bits. Discord uses 2015-01-01, Twitter/X uses 2010-11-04, and Instagram uses 2011-08-24. Decode with the wrong platform and the date will be off by years — pick the source that issued the ID.
What are the worker and sequence fields?
To generate IDs without coordination, each machine embeds its own identifier (worker/process on Discord, datacenter+worker on Twitter, shard on Instagram) plus a sequence counter that increments for multiple IDs created in the same millisecond. They let you tell which node produced an ID and roughly how busy it was.
Is the timestamp exact?
Yes — the millisecond timestamp is encoded directly in the ID, so the creation time is exact to the millisecond (assuming the generating server's clock was correct). The relative time is computed against your device's current clock.

Related tools