Free tool

Tweet ID to Date Converter

Paste any X (Twitter) post ID or link to see exactly when it was posted, down to the millisecond. It works for deleted and protected posts too, because the time is stored in the ID itself.

Up to 100 IDs at once. Runs in your browser; nothing is sent to a server.

Date to tweet ID (since_id / max_id)

Turn a UTC time range into ID bounds. Paste the operators into X search, or pass the IDs as since_id and max_id to an API.

How a tweet ID stores its date

Since November 4, 2010, X has generated post IDs with Snowflake, a 64-bit format whose first 41 bits are a timestamp. The remaining 22 bits identify the datacenter, the worker and a per-millisecond sequence number.

timestamp_ms = (tweet_id >> 22) + 1288834974657

1585841080431321088 >> 22 = 378093977077
378093977077 + 1288834974657 = 1666928951734
→ 2022-10-28 03:49:11.734 UTC

User accounts created since late 2013, and direct messages and lists, use the same format, so their IDs decode the same way.

Need the post itself, not just the date?

To pull the text, author and metrics for many posts, or to search a date range, use the TwexAPI public data API at about $0.05 per 1,000 posts. New accounts get 20,000 free Credits, about 4,000 reads.

FAQ

How do I find the date of a tweet from its ID?

Paste the post ID or link above. Since November 4, 2010, every X post ID is a Snowflake ID: shifting it right by 22 bits gives the milliseconds since Twitter’s epoch (1288834974657), which converts to the exact posting time.

How accurate is the time?

To the millisecond. The time is written into the ID when the post is created, so it does not depend on the post still being online or on your X account.

Does it work for deleted or protected posts?

Yes. The date comes from the ID itself, so it works even if the post was deleted, the account is protected, or the link no longer opens.

Why does an old tweet show “not a Snowflake ID”?

Posts from before November 4, 2010 use older sequential IDs that carry no timestamp. For those, open the post on X or look it up through an API.

Can I convert a date into a tweet ID?

Yes. Pick a UTC range in the second panel to get since_id and max_id values. X search accepts them as operators, which is a precise way to search posts between two moments.

Is TwexAPI affiliated with X?

No. TwexAPI is an independent third-party provider of public social data and is not affiliated with or endorsed by X Corp.

Related

Tweet ID to Date Converter: Find When an X Post Was Posted | TwexAPI