X (Twitter) Advanced Search Builder
Every X search operator in one form — with a link that opens the results.
Your search
Fill in any field to build a search.
Opens x.com in a new tab (or the X app on phones that hand links to it). X shows search results only when you are logged in.
Saved searches stay in this browser only.
Saved searches
No saved searches yet. Build one above and press Save.
Edit a query you already have
About the X (Twitter) Advanced Search Builder
Fill in a form and get a ready-to-use X (Twitter) search: exact phrases, words to include or leave out, hashtags, posts from, to or mentioning accounts, a language, a date range, minimum replies, likes and reposts, and filters for replies, links, images and videos. The query updates as you type, with a plain-English line for every condition, and Open in X takes you straight to the Top or Latest results.
The operators are the ones X’s own advanced search form writes — plus the media and link operators from X’s developer documentation. X’s help centre describes advanced search as a feature of X.com when you are logged in; this page builds the same query on any phone or computer, and lets you save searches in your browser for next time.
How to use it
- Fill in only the fields you need — for example This exact phrase and From these accounts. Separate several words or accounts with spaces; put a phrase in "quotes" in the any- and none-of fields.
- Pick filters, minimum likes or reposts and a date range. Include the end date is on by default, because X’s
until:means “before this day”. - Read the query and the list under it: each line says what one part does. Fix any field marked in red.
- Press Open in X — Top or Latest to see the results, or copy the query or the link.
- To reuse it, type a name and press Save. Saved searches stay in this browser; Edit puts one back into the form.
Examples
Exact phrase: chandrayaan · From: @isro · From 2023-07-01 to 2023-08-31
"chandrayaan" from:isro since:2023-07-01 until:2023-09-01
The end date is included, so until: is the day after it.
Any of: Mumbai Pune · Exact phrase: street food · No replies · Minimum likes: 100
"street food" (Mumbai OR Pune) -filter:replies min_faves:100
Hashtags: #recipe · Only with a video uploaded to X · Links to: example.com
#recipe filter:native_video url:example.com
Common uses
- Finding an old post by someone you follow, by date and a phrase you remember.
- Checking what people said about your brand, product or event — with or without replies.
- Collecting popular posts on a topic with minimum likes or reposts.
- Building searches on a phone and saving them for later.
Every operator this builder writes
"happy hour"— the exact phrase.(cats OR dogs)— either word;-cats— leaves the word out.#tagor(#a OR #b)— any of the hashtags.from:name,to:name,@name— posted by, in reply to, or mentioning an account.lang:hi— written in a language (X’s own guess of the post’s language).filter:replies/-filter:replies— only replies, or no replies.filter:links/-filter:links— only, or no, posts with links.filter:media,filter:images,filter:native_video,-filter:media— images or videos, images, videos uploaded to X, or neither.url:example.com— links to an address containing that text.min_replies:10,min_faves:100,min_retweets:50— at least that many replies, likes or reposts.since:2026-01-01— sent on or after that day;until:2026-02-01— sent before that day.
Where these operators come from
- X’s advanced search form (x.com/search-advanced) writes the words, hashtag, account, language, replies and links filters, the three minimums and the dates exactly as above — read from the form’s code in X’s website.
- X’s API documentation (docs.x.com, search operators) says the web-search equivalents of its engagement operators are named
min_faves:andmin_retweets:, and lists thelang:codes offered here. - X’s developer documentation of standard search operators describes
filter:media,filter:images,filter:native_video,filter:links,url:and the meaning ofsince:(sent since a date) anduntil:(sent before a date). - X’s help centre (help.x.com, “How to use advanced search”) describes the form’s word, people and date fields.
Tips for better results
- Start broad and add one condition at a time — every condition must match, so a long query can easily find nothing.
- For someone’s old posts, combine From these accounts with a date range; X searches “any date since the first public post”, according to its help centre.
min_faves:counts likes at the time you search, so the same query can find more posts later.- Hashtags in These hashtags are any-of. To require two hashtags, type both in All of these words.
- X writes
ORin capitals; this tool does the same.
Limitations
- X decides what its search returns, and it can change or drop any operator without notice. The media and
url:operators come from X’s developer documentation rather than its current form, so they are the most likely to change. - X shows search results only to logged-in users, and posts from protected accounts are visible only to their approved followers.
- X does not say which time zone
since:anduntil:use, so posts sent close to midnight may fall on either side of a date. lang:uses X’s automatic language detection, which can be wrong for short or mixed-language posts.- This page does not fetch anything from X and cannot show results here; it builds the query and the link.
Privacy
The form, the query and your saved searches stay in this browser. Nothing is sent anywhere until you open a link to X, when your browser goes to x.com with the query in the address — the same as searching on X itself.
Frequently asked questions
How do I search someone’s old tweets?
Type their username in From these accounts (with or without the @), add a word or phrase you remember, and set From and To dates. The query looks like "phrase" from:name since:2024-01-01 until:2024-02-01. Press Open in X — Latest to see the posts newest first.
How do I find the most-liked posts about a topic?
Fill in the topic and set Minimum likes — the tool writes min_faves: followed by your number, the name X uses on its website. Raise the number until the results are only the posts you want. Minimum reposts works the same way with min_retweets:.
Why does the end date look one day later in the query?
X’s until: finds posts sent before the date you give it. With Include the end date ticked, the tool adds one day so posts from your end date are found too. Untick it to write the date exactly as entered.
Can I use this on my phone?
Yes. Build the search here, then tap Open in X. The link opens x.com in your browser, or the X app if your phone hands x.com links to it. You can also copy the query and paste it into X’s search box.
Why do I get no results?
Every condition has to match, so remove conditions one at a time — exact phrases, minimum likes and narrow date ranges remove the most posts. Check usernames for typos, make sure you are logged in to X, and remember that X may hide posts it considers low quality or sensitive, depending on your search settings.
Can I edit a query I already have?
Yes. Open Edit a query you already have, paste it and press Read into the form. Operators this form has no field for are kept, as typed, in All of these words.