Developer Tool

Snowflake ID Decoder

Discord IDs, Twitter/X IDs, and message IDs from either platform all quietly encode the exact moment they were created. Paste one below to see it.

Right-click any user, message, or channel in Discord (with Developer Mode on) and choose "Copy ID."

Paste a Discord ID

Find it in the post URL — the long number after the username, e.g. x.com/user/status/1460323737035677698.

Paste a Twitter/X ID
Fill in the ID and epoch

Why an ID contains a timestamp

A snowflake ID is a 64-bit number designed so a distributed system can hand out unique, roughly sortable IDs without a shared database counter. The top 41–42 bits store a millisecond-precision timestamp measured from a fixed starting point (an "epoch"); the remaining bits identify the machine or shard that generated it and a per-millisecond counter to avoid collisions. Because the timestamp sits at the top of the number, IDs generated later are numerically larger — which is also why you can sort by ID and get chronological order for free.

To pull the date back out, you right-shift the ID by the number of low bits reserved for machine/sequence data (22, for both Discord and Twitter/X), then add that result — now a millisecond count — to the platform's epoch. Discord's epoch is January 1, 2015; Twitter's is November 4, 2010, the day Snowflake IDs replaced Twitter's old sequential numeric IDs.

Working with a Slack timestamp instead? See the Slack Permalink Decoder. Need a MongoDB document's creation time from its _id? Use the MongoDB ObjectId Decoder.

Reference

Common questions

How do I find out when a Discord account or message was created from its ID?

Every Discord ID — user, server, channel, or message — is a snowflake, so the creation timestamp is baked into the number. Paste it into the Discord tab above and it decodes instantly.

How do I convert a Twitter or X post ID to a date?

X/Twitter IDs use the same snowflake scheme as Discord, just with a different epoch (November 4, 2010). Paste the ID into the Twitter/X tab above.

What is a snowflake ID?

A 64-bit identifier scheme, originally built at Twitter, that packs a millisecond timestamp into the high bits alongside machine and sequence bits in the low bits — giving every distributed system a unique, time-sortable ID with no central counter, and giving every ID a hidden birthday.

Related

Related tools