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
Fields
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
- Choose the platform (Discord, Twitter/X, Instagram, or Custom).
- Paste the Snowflake ID — for example a Discord user or message ID.
- 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
Base64 to Hex Converter (and back)
Convert a Base64 string to hexadecimal bytes and hex back to Base64, with URL-safe support, in your browser.
Quoted-Printable Encoder & Decoder
Encode text to MIME Quoted-Printable (RFC 2045) or decode it back — handling =XX escapes, soft line breaks, and UTF-8 — entirely in your browser, with 76-character line wrapping on encode.
Hash Generator (SHA)
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
URL Encoder / Decoder
Percent-encode text for URLs, or decode encoded URLs back to text.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.