About this tool
Snowflake ID Decoder breaks a 64-bit snowflake ID into the fields packed inside it. Paste an ID made of digits only, choose the epoch it was built against, and the tool shows the timestamp as a readable date and time in your local time zone, the same moment in Unix milliseconds, a worker ID, a process ID and a sequence number. The maths uses BigInt, so all 64 bits stay exact; ordinary JavaScript numbers would round an ID this large.
The layout decoded is the common one. The upper bits are milliseconds since a custom epoch (the ID shifted right by 22 bits, plus the epoch), followed by 5 bits for the worker, 5 bits for the process and the low 12 bits for a sequence number that separates IDs created in the same millisecond. The epoch menu offers two choices: Twitter / X (1288834974657 ms, 4 November 2010) and Discord (1420070400000 ms, 1 January 2015). Twitter's own documentation calls the two 5-bit fields datacenter and worker; this tool labels them worker and process, but they are the same bits.
Other systems use similar designs with different epochs or bit splits, Instagram for one, so their IDs will not decode correctly with these two options, and there is no custom epoch. Anything but digits, such as spaces, a minus sign or hex, is reported as invalid. The tool only does the arithmetic and cannot tell whether an ID is genuine, so a random number still gives a date.