Snowflake ID decoder
Break a 64-bit Snowflake ID into its timestamp, machine and sequence fields.
Snowflake ID decoder
Paste one or more Snowflake IDs — the 64-bit identifiers used by Twitter, Discord, Instagram, Mastodon and countless internal systems modeled on them — and this tool pulls each one apart into its timestamp, machine identifiers and sequence number. Every service adds a Snowflake ID to a piece of data (a tweet, a Discord message, a database row) so that IDs sort chronologically and can be generated by many machines at once without a coordination step.
Choose the epoch that matches your source under Epoch / format: Twitter and Discord share the same bit layout but different starting dates, Instagram splits its bits differently (a wider shard field, no separate worker ID), and Mastodon skips machine fields entirely in favor of a plain millisecond timestamp plus sequence. Pick Custom and supply your own epoch in Unix milliseconds for any other Snowflake-style scheme. Show local time adds your device's own time zone next to the UTC timestamp, and Show binary breakdown prints the raw bit groups so you can see exactly which bits carry which field.
Switch Direction to Date → boundary ID to go the other way: type a date (plain 2026-08-11 or a full ISO 8601 timestamp) and get back the smallest and largest Snowflake ID that could exist for that millisecond — the pair most APIs expect as the "before"/"after" cursor when paginating by ID instead of by page number. Every line is processed independently, so you can decode a whole log of IDs, or generate boundaries for a whole list of dates, in one pass. The tool validates that each value fits in a 64-bit Snowflake and reports invalid or out-of-range lines instead of silently skipping them.
Everything runs locally in your browser — pasted IDs, dates and any custom epoch never leave your device, so it's safe to use with production data. Copy the result, download it as a .txt file, or send it straight to another tool's input to continue working on it.