Platform IDs
Snowflake ID Timestamp
Read the creation time stored inside a Discord or X snowflake ID.
Snowflake ID
Paste a snowflake ID, or pick a date to see the first ID of that day.
A snowflake is a 64-bit identifier that carries its own creation time. Paste a Discord or X (formerly Twitter) ID here and the converter extracts the embedded millisecond timestamp, showing what the ID means under each platform's epoch. Pick a calendar date instead and it builds the first snowflake of that day, which is the value you need when paging an API by time rather than by cursor.
What is inside a snowflake
The design comes from a distributed ID generator originally built at Twitter and later adopted by Discord and others. The goal was to produce unique, roughly sortable identifiers without a central coordinator. The solution packs several fields into a single 64-bit integer: the top 42 bits hold milliseconds elapsed since a chosen epoch, the next bits identify the machine and process that generated the ID, and the lowest twelve bits hold a per-millisecond sequence counter.
Because the timestamp occupies the highest bits, sorting IDs numerically sorts them approximately by creation time. That property is the whole point of the design, and it is why these IDs are long numbers rather than random strings.
Extracting the timestamp
Shift the ID right by twenty-two bits to drop the machine and sequence fields, then add the platform's epoch in milliseconds. The result is a standard Unix millisecond timestamp you can render as a date. The arithmetic is simple, but it must be done with 64-bit integers: a snowflake exceeds the range where floating-point numbers hold every integer exactly, so naive division in a language with only double-precision numbers silently loses the last few digits. This tool uses arbitrary-precision integer arithmetic to avoid that failure.
Frequently asked questions
What is a snowflake ID?
A 64-bit identifier that packs a creation timestamp into its highest bits, along with machine and sequence fields. The design lets separate servers mint unique IDs without coordinating, and it makes the IDs roughly sortable by time.
How is the timestamp extracted?
Shift the ID right by twenty-two bits to discard the machine and sequence fields, then add the platform's epoch in milliseconds. The result is a normal Unix millisecond timestamp. The arithmetic needs 64-bit integers, since the values exceed exact floating-point range.
Why does the tool show two different dates?
Discord and X use different epochs, so the same number decodes to dates about four years apart. Both readings are shown, and the one outside a plausible range for that platform is marked so you can pick the right one.