🔍 Convert Twitter Snowflake ID to Unix Timestamp
Enter Twitter/X snowflake ID to extract Unix timestamp
Decode any Twitter ID to extract creation date and timestamp
Enter Twitter/X snowflake ID to extract Unix timestamp
Converting a Twitter snowflake ID to a Unix timestamp is simple: paste the Twitter ID (from a tweet URL or API response) and click Convert. Our tool instantly extracts the embedded timestamp and displays it in milliseconds, seconds, and human-readable format.
Twitter snowflake IDs encode timestamps in the first 41 bits using the formula: (snowflake_id >> 22) + 1288834974657. This extracts the millisecond offset and adds Twitter's epoch (November 4, 2010) to get the exact Unix timestamp.
Twitter uses a 64-bit snowflake ID structure:
The Twitter epoch is 1288834974657 milliseconds (November 4, 2010, 01:42:54 UTC). All tweet IDs created after this date encode their timestamp relative to this epoch.
Tweet ID: 1382350606417817604
Calculation: (1382350606417817604 >> 22) + 1288834974657
Result: 1618592259657 ms (April 16, 2021)
const tweetId = 1382350606417817604n; const twitterEpoch = 1288834974657n; const timestamp = (tweetId >> 22n) + twitterEpoch; console.log(Number(timestamp)); // 1618592259657
tweet_id = 1382350606417817604 twitter_epoch = 1288834974657 timestamp = (tweet_id >> 22) + twitter_epoch print(timestamp) # 1618592259657
Yes! Twitter snowflake IDs encode millisecond-precision timestamps. Our converter extracts the exact millisecond the tweet was created on Twitter's servers.
Yes, X continues to use the same snowflake ID format with the same epoch (November 4, 2010). All tweet IDs from both Twitter and X can be converted using this tool.
Twitter launched snowflake IDs on November 4, 2010, replacing sequential IDs. This date became the epoch for all future tweet IDs.
Not exactly. While you can create a snowflake ID from a timestamp, you can't recreate the original tweet ID because it also contains worker ID and sequence number.