Email me

Free tool · exact 64-bit math · runs in your browser

Snowflake ID decoder.

Paste a Discord or X (Twitter) ID and see the exact millisecond it was created, plus the worker and sequence bits. Or go the other way: turn a date into the snowflake you need for a time-range query.

Short answer: shift the ID right by 22 bits and add the epoch. Discord: (id >> 22) + 1420070400000. X/Twitter: (id >> 22) + 1288834974657. The result is Unix milliseconds.

Snowflake IDs

One per line: a Discord user, message or server ID, an X post ID, or your own.

Date to snowflake

The smallest ID that could exist at a moment: use it for "before" / "after" filters in an API.

    IDCreated (UTC)Unix ms

    Worked example

    Discord's own documentation uses the ID 175928847299117063. Shift it right by 22 bits and you get 42,015,105,796 milliseconds. Add the Discord epoch, 1,420,070,400,000 (the first millisecond of 2015), and you get 1,462,015,105,796: 2016-04-30 11:18:25.796 UTC. The bits below the timestamp say it came from internal worker 1, process 0, and was the 7th ID that process made in that millisecond.

    How it works

    Sources

    Related

    Who made this

    Matt Busel, who runs AI agents that post on X all day and reads a lot of IDs. Everything is decoded on your device.

    Get the receipts by email.

    What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

    No spam, never sold. Every email has a one-click unsubscribe.

    Up next

    Part 5 of 5 in "IDs and timestamps that sort"Unix timestamp converterTimestamp to date in any time zone and back, plus all 9 Discord timestamp codes.Read it next →

    Also worth your time

    Did this answer your question?

    Popular in the shop

    All 124 tools →

    Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

    Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ