Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

X (Twitter) Advanced Search Builder

Every X search operator in one form — with a link that opens the results.

Social Media No upload Works offline Free, no sign-up
Words
In any order, e.g. cricket final
Quoted for you, e.g. happy hour
Either one, e.g. cats dogs; put a phrase in "quotes"
Leaves out posts with them, e.g. giveaway
Any of them, e.g. #IPL #T20
Accounts
Posted by, e.g. @ISRO
Replies to them
Posts that mention any of them
Filters
Replies
Links
e.g. example.com
Engagement
Dates

X’s until: means “before this day”, so the tool adds one day when the end date is included.

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.

      Open it on

      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

        Next steps

        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

        1. 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.
        2. 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”.
        3. Read the query and the list under it: each line says what one part does. Fix any field marked in red.
        4. Press Open in X — Top or Latest to see the results, or copy the query or the link.
        5. To reuse it, type a name and press Save. Saved searches stay in this browser; Edit puts one back into the form.

        Examples

        Old posts from one account about one topic
        Input
        Exact phrase: chandrayaan · From: @isro · From 2023-07-01 to 2023-08-31
        Result
        "chandrayaan" from:isro since:2023-07-01 until:2023-09-01

        The end date is included, so until: is the day after it.

        Popular posts only, no replies
        Input
        Any of: Mumbai Pune · Exact phrase: street food · No replies · Minimum likes: 100
        Result
        "street food" (Mumbai OR Pune) -filter:replies min_faves:100
        Videos that link to a site
        Input
        Hashtags: #recipe · Only with a video uploaded to X · Links to: example.com
        Result
        #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.
        • #tag or (#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: and min_retweets:, and lists the lang: 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 of since: (sent since a date) and until: (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 OR in 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: and until: 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.

        Quick answers and tool search

        Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.