Tweet URL to ID Extractor
Drop any X links in the box, one per line or mixed in text, and get a clean table of tweet IDs, usernames and post times. Copy the IDs as a list or download the table as CSV.
| # | Tweet ID | User | Posted (UTC) | Source |
|---|
- Bulk: hundreds of links at once
- x.com, twitter.com, mobile, fxtwitter
- Post date from the ID
- Nothing leaves your browser
How to get the tweet ID from a URL
- Paste the links. One per line, or paste a whole document; the tool picks the status links out of the text. Bare 19-digit IDs are accepted too.
- Read the table. Each row shows the tweet ID, the username from the link, the host and the time the post was created, decoded from the ID itself.
- Copy or download. "Copy IDs" gives one ID per line for scripts and API calls. "Download CSV" keeps every column, including the original URL.
Link formats the tool understands
| Format | Example |
|---|---|
| Standard post link | https://x.com/user/status/1734567890123456789 |
| Old domain | https://twitter.com/user/status/1734567890123456789 |
| Mobile and share links | https://mobile.twitter.com/user/status/173…?s=20&t=abc |
| Without username | https://x.com/i/web/status/1734567890123456789 |
| Photo or video anchor | https://x.com/user/status/173…/photo/1 |
| Fixed-embed mirrors | https://fxtwitter.com/user/status/173… |
| Bare ID | 1734567890123456789 |
Short t.co links are redirects, not post URLs, so they cannot be resolved without opening them; paste the link the redirect lands on.
Common uses for a list of tweet IDs
- API lookups: the X API v2
/2/tweets?ids=endpoint takes up to 100 IDs per call. Copy the IDs, join them with commas. - Search windows:
since_idandmax_idin Advanced Search take an ID and act as timestamps with millisecond precision. - Intent links: like, repost and reply buttons need the ID, not the URL. Build them in the Click to Tweet Generator.
- Records: IDs stay valid after a post is deleted, which is why moderation and research teams store IDs rather than URLs.
Tweet URL to ID: FAQ
Where is the tweet ID in a URL?
It is the long number after /status/. In https://x.com/twigor/status/1734567890123456789 the tweet ID is 1734567890123456789. The username before /status/ is the account that posted it; it is not part of the ID, and the link works with any username in that spot.
Why do I need the tweet ID?
The X API, most analytics tools, embed codes, intent links (like, repost, reply) and advanced search operators (since_id, max_id) all take the ID rather than the URL. Bulk ID lists are also the usual input for bookmarking, archiving and moderation scripts.
Does it work with x.com and twitter.com links?
Yes, and with mobile.twitter.com, i/web/status links, fxtwitter and vxtwitter links, and links that end in /photo/1 or /video/1. Query strings such as ?s=20 or ?t= are ignored.
How does the tool know the post date?
Tweet IDs are Snowflake IDs: the top bits are a millisecond timestamp counted from November 4, 2010. Shifting the ID right by 22 bits and adding that epoch gives the creation time, accurate to the millisecond, with no API call. Our Tweet ID to Date tool explains the maths.
Can I get the ID of a deleted tweet from its URL?
Yes. The ID is in the link, so it can be extracted whether or not the post still exists. What you cannot get without the post is its text or author beyond the username in the URL.
Is there a limit to how many links I can paste?
The tool runs in your browser, so a few thousand links are fine. For very large lists, paste in batches of around 5,000 to keep the table responsive.
More free X tools and guides
- Tweet ID to Date: the exact posting time of any ID, single or bulk
- Twitter ID Finder: the numeric user ID behind a username
- Click to Tweet Generator: like, repost and reply links built from an ID
- Embed Code Generator: embed the post on your site
- Advanced Search Builder: use IDs as since_id and max_id in a search