Blog

Google search operators that still work in 2026, tested

Kevin Wang
Kevin Wang
Founder, AnyAPI · October 27, 2026
googlesearchserpsearch-operatorsdata-study
Google search operators that still work in 2026, tested
Key findings
  • Eight of 32 operators did what they promise on every search tried. site:, intitle:, before:, after:, quotes, the minus sign, the * wildcard, and define:.
  • Five of the six operators Google documents for web search worked every time. The sixth, filetype:, filtered PDFs but came back with no results for a spreadsheet search.
  • related:, link:, and info: still return results, but not what they promise. related: and link: returned mostly the named site's own pages, 45 of 54. cache: returned nothing at all.
  • Use before: and after:, not daterange:. Every dated result fell inside the window with before: and after:; daterange: had no effect.

Built on AnyAPI

471 scraping and data APIs behind one key.

Every endpoint in this post is one call away. Pay per request in USD from a prepaid wallet, with automatic failover when a provider breaks. No subscription, no card to start.

Get ~160 free requests$0.10 of credit on signup.

You've typed site: into Google before, and it did what you expected. Then you tried related: or cache: from an old cheat sheet, got a page of results, and couldn't tell whether the operator did anything.

Most operator lists don't say. So I sent 32 of them through Google on October 2, 2026, three searches each, and compared every search with the same words minus the operator. Each verdict comes from the results that came back, checked against what the operator promises.

Bar chart of 23 Google search operators, the share of results that showed what each promises with and without it. Works: site: 100% with, 9% without; before: 100% and 0%; after: 100% and 50%; minus a word 100% and 20%; intitle: 92% and 45%; the * wildcard 91% and 65%; quotes 87% and 4%; define: 70% and 43%. Sometimes: filetype: 70% and 0%; the vertical bar 68% and 48%; OR 65% and 48%; -site: 64% and 85%; allinurl: 64% and 42%; inurl: 62% and 48%; allintitle: 56% and 48%; @ 22% and 25%. No effect: link: 22% and 45%; # 17% and 18%; ext: 12% and 0%; related: 11% and 45%; info: 8% and 10%; daterange: 0% and 0%; the .. range 0% and 0%
Share of results that showed what each operator promises, pooled across three searches, with the operator (blue) and the same search without it (grey). For date operators, the share of dated results inside the window. cache: isn't shown because it returned no results. 209 google.search calls on October 2, 2026.

At a glance

QuestionWhat the data says
Which Google search operators still work?site:, intitle:, before:, after:, quotes, minus, *, and define: worked on 3 of 3 searches
Does filetype: work?For PDFs, yes. A docx search returned one result, and an xlsx search returned none
Is ext: the same as filetype:?Not in this test: 3 of 26 results had the extension, against 7 of 10 with filetype:
Do related: and link: work?No. 45 of their 54 results were the named site's own pages
Does cache: work?No. Google retired it in 2024, and it returned no results on 3 of 3 searches
How do you search by date?before: and after:. Every dated result fell inside the window on all six searches

What a Google search operator is, and the six Google documents

A search operator, sometimes called a Google search command, is a word or symbol that tells Google how to read the rest of your query. Type jaguar speed and Google decides what you meant. Type jaguar speed -car and you've told it: no cars.

Google's Refine Google searches help page lists six for web search: quotes for an exact match, site:, the minus sign, before:, after:, and filetype:. It also warns that site:nytimes.com works and site: nytimes.com, with a space, doesn't.

Google Search Help, Refine Google searches, the Operators section: exact match with quotes, for example tallest building; site: in front of a site or domain, for example site:youtube.com cat videos; minus in front of a word to leave it out, for example jaguar speed -car; before: and after: in front of a year or date; combine before: and after: for a date range; filetype: in front of the file type, for example photoelectric effect paper filetype:pdf
Google's Refine Google searches page on October 2, 2026: six operators for web search, and a warning not to put a space after the colon.

Google's Search Central overview for site owners adds two more, imagesize: and src:, which only work on Google Images. Everything else on this page, from intitle: to AROUND(n), is an operator people pass around that Google doesn't document today.

Google Search Central, Overview of Google search operators: on this page filetype:, imagesize:, site:, src:. Google Search supports several search operators that you can use to refine or target your searches. Because search operators are bound by indexing and retrieval limits, the URL Inspection tool in Search Console is more reliable for debugging purposes
Google Search Central's operator overview on October 2, 2026 (last updated December 10, 2025): filetype:, imagesize:, site:, and src:.

If you've heard the term "Google dorking", it's this same set of operators, used to find pages a site didn't mean to make easy to find. The results below apply to it too.

All 32 operators, and what each one did

Each operator ran on three searches. An operator "works" when, on all three, most results showed what it promises and more of them did than on the same search without it. It works "sometimes" when that held on one or two of three, and has "no effect" when it held on none. "Can't tell" means what it promises isn't something a list of results can show.

OperatorExampleGoogle documents itVerdictWhat came back
site:, results from one sitesite:nasa.gov mars roverYesWorks, 3 of 330 of 30 results on the named site, against 2 of 22 without
before:, pages from before a datemars rover before:2020-01-01YesWorks, 3 of 319 of 19 dated results before the date
after:, pages from after a dateclimate summit after:2026-06-01YesWorks, 3 of 319 of 19 dated results after the date
- (minus), leave a word outjaguar speed -carYesWorks, 3 of 30 of 26 results mentioned the word, against 16 of 20 without
"..." (quotes), match a phrase exactly"cheapest way to ship a couch"YesWorks, 3 of 320 of 23 showed the exact phrase, against 1 of 26
intitle:, a word in the page titleintitle:review standing deskNoWorks, 3 of 322 of 24 titles had the word, against 10 of 22
* (wildcard), any word in a quoted phrase"the * of wall street"NoWorks, 3 of 320 of 22 matched the phrase with a word in the gap
define:, a definitiondefine:petrichorNoWorks, 3 of 316 of 23 results were about the meaning, against 9 of 21
filetype:, one file typephotoelectric effect paper filetype:pdfYesSometimes, 2 of 36 of 9 PDF results; docx returned 1 result; xlsx returned none
-site:, leave a site outbest budget headphones -site:reddit.comNoSometimes, 2 of 3Worked for nasa.gov and reddit.com; on photosynthesis, every result was from Wikipedia, twice
inurl:, a word in the URLinurl:recipe banana breadNoSometimes, 2 of 316 of 26 URLs had the word, against 13 of 27
allinurl:, every word in the URLallinurl: banana bread recipeNoSometimes, 2 of 316 of 25 URLs had every word, against 10 of 24
allintitle:, every word in the titleallintitle: sourdough starter guideNoSometimes, 1 of 315 of 27 titles had every word, against 11 of 23
OR, either wordkayak OR canoe for beginnersNoSometimes, 1 of 317 of 26 mentioned only one of the words, against 12 of 25
| (vertical bar): either word, like ORkayak | canoe for beginnersNoSometimes, 1 of 317 of 25, against 12 of 25
@, social media results@nasaNoSometimes, 1 of 35 of 23 results on a social platform, against 5 of 20
ext:, one file extensionphotoelectric effect paper ext:pdfNoNo effect3 of 26 results had the extension
daterange:, a date range, in Julian daysmars rover daterange:2458850-2459215NoNo effect0 of 6 dated results inside the range
.. (number range), numbers in a rangeolympics 1980..1990NoNo effectNo result showed a number inside the range
# (hashtag), hashtag results#booktokNoNo effect4 of 24 showed the hashtag, against 4 of 22
related:, sites like a siterelated:nytimes.comRetired 2023No effect24 of 27 results were on the site named
link:, pages that link to a sitelink:github.comRetired 2017No effect21 of 27 results were on the site named
info:, a summary of one pageinfo:patagonia.comNoNo effect2 of 25 results were the homepage, against 2 of 20 without
cache:, Google's cached copycache:nytimes.comRetired 2024No effectNo results on 3 of 3
intext:, a word in the body textintext:warranty standing deskNoCan't tellBody text isn't in the results, and snippets already had the word without it
allintext:, every word in the body textallintext: banana bread glutenNoCan't tellSame as intext:
inanchor:, a word in links pointing to the pageinanchor:recipe banana breadNoCan't tellLink text isn't in the results
AND, both wordspython AND excel automationNoCan't tellGoogle already requires both words by default
AROUND(n), two words close togethersolar AROUND(3) batteryNoCan't tellSnippets show part of a page, and the plain search already put the words together
$, a pricecamera $400NoCan't tell25 of 25 results already showed the dollar price without it
~, synonyms too~cheap flightsRetired 2013Can't tellA synonym match isn't visible in a result list
+, this exact wordmagazine +latinaRetired 2011Can't tellThe plain search already matched the word

The documented ones work, and so does intitle:

Five of Google's six documented operators did their job on every search. site: returned 30 of 30 results from the site named. The minus sign took a word out of every result, and quotes turned 1 phrase match in 26 results into 20 in 23.

before: and after: are the date filter to use. Every dated result fell on the right side of the date, on all six searches. Without the operator, most results showed no date at all.

intitle: isn't in Google's docs, and it held up anyway: 22 of 24 titles had the word. So did the * wildcard inside quotes and define:.

filetype: and the URL operators work some of the time

filetype:pdf worked, and the other file types barely did. Six of nine results were PDFs. filetype:docx returned a single result, and filetype:xlsx returned none for "monthly budget template". ext:, which most lists treat as the same operator, returned 3 PDFs in 26 results.

inurl: and allinurl: worked on two of three searches. On the third, the share of URLs with the word was the same with and without the operator. allintitle: worked once. OR and the vertical bar passed the check only on the kayak search, where most results mentioned just one of the two boats.

-site: left out nasa.gov and reddit.com completely. On photosynthesis -site:wikipedia.org, all 10 results were from Wikipedia, on both runs. If you rely on -site:, look at what comes back.

Google has retired five of the operators in this test, and said so.

OperatorRetiredSource
+October 2011Waxy.org, with a Google spokesperson's comment
~June 2013Google's Dan Russell, quoted by Search Engine Roundtable: "Yes, it's been deprecated"
link:January 2017Google's John Mueller, quoted by Search Engine Roundtable: "AFAIK that's no longer live in search"
related:July 2023Google's Search Central changelog: "Removed the related: operator ... as it's no longer supported"
cache:September 2024Google's Search Central changelog and Google SearchLiaison
Google Search Central latest documentation updates, July 2023: July 18, Removed the related: operator from the search operators documentation, as it's no longer supported
Google's Search Central changelog, July 18, 2023: related: removed because it's no longer supported.
Google Search Central latest documentation updates, September 24, 2024: Removing the cache: search operator documentation. What: Removed the cache: search operator documentation. Why: The cache: search operator no longer works in Google Search
Google's Search Central changelog, September 24, 2024: the cache: operator no longer works.

Most of the retired ones don't fail visibly. related:nytimes.com returned nine results, all on New York Times sites, where the operator used to list similar sites. link:github.com returned eight GitHub pages out of nine, where it used to list pages that link to GitHub. info: isn't in Google's docs, and 2 of its 25 results were the homepage it's meant to summarize. Only cache: fails outright, with no results at all.

daterange: never had Google's documentation, and on all three searches no dated result fell inside its range. before: and after: do the same job.

Some operators can't be judged from a results page

Eight operators promise something a list of titles, links, and snippets can't show. intext: and inanchor: are about a page's body text and the links pointing at it. AND is already Google's default. For $ and AROUND(n), the plain search already did what the operator would add: every result for "camera 400" showed "$400" without the dollar sign in the query.

~ and + are retired, so there's no reason to use them. For the other six, the results moved when you added them, but results also move when you run the same search twice, so that alone doesn't show the operator did anything.

How this compares to what is already published

  • Oxylabs (August 2026) explains the common operator types and says search engines "periodically deprecate or modify legacy search features". It describes related:, which Google removed from its docs in 2023.
  • Apify (October 2025) lists the Google dorking operators it considers supported, partly from its own tests, and notes that "some operators that worked in the past are now deprecated or return inconsistent results", without naming which.
  • SerpApi covers Google's URL parameters, such as hl, gl, and tbs, rather than the operators you type in the query.

All three explain what operators are meant to do. None of them puts each operator next to the same search without it, which is what shows that related: and link: now return a full page of results without doing their job.

How I measured it

How each verdict was decided
  • One operator search and one plain search, the same words without the operator, for each of 96 queries. Each search returns Google's first page, about 10 results.
  • An operator took effect on a query when more than half of its results showed what it promises, and more than on the plain search. For - and -site:, fewer than half, and fewer than on the plain search.
  • For before:, after:, and daterange:, it took effect when at least one result showed a date, every dated result was inside the window, and the plain search didn't pass the same test.
  • Works is 3 of 3 queries, sometimes is 1 or 2, no effect is 0. cache: counts as no effect when it returns no results.
  • Searches went through AnyAPI's google.search endpoint, not a logged-in browser, so personalization and Google's own experiments can make your results differ.
  1. I picked 32 operators from Google's help page and the operator lists that rank for this search, and wrote three searches for each.
  2. I sent each operator search within about a minute of its plain twin, the same words without the operator.
  3. I checked every result against what the operator promises: the domain for site:, the URL ending for filetype:, the title for intitle:, the date at the start of the snippet for before: and after:, and so on.
  4. I replaced two searches whose plain version already passed the check on every result, such as "history coffee", where every title already said "history". A search like that can't show an operator doing anything.

The 209 calls, including repeat runs of some plain searches, ran on October 2, 2026, between 22:17 and 22:52 UTC, and cost $0.11 in total. They all went through google.search, which returns Google's organic results as JSON.

The limits of this data

  • Three searches per operator is enough to see whether an operator does anything, and not enough to say how often it fails. One odd result moves a verdict.
  • Results came from Google in English, for the US, on one day. A different country, language, or week could move the "sometimes" verdicts.
  • The checks read titles, links, snippets, and the date at the start of a snippet. A page that matches in its body text but not in its snippet counts as a miss.
  • Google chooses the title it shows for each result from several sources, so a page can match intitle: without the word in the title you see. That can make intitle: and allintitle: look weaker than they are.

The big results hold either way: site:, quotes, minus, and the date operators changed every search, and related:, link:, and cache: didn't do their job once.

What to do with it

  1. Use site:, quotes, the minus sign, before:, and after: freely. They worked on every search.
  2. Use filetype:pdf for documents, and expect little from other file types or from ext:.
  3. Treat inurl:, allinurl:, allintitle:, and OR as hints. Check the results.
  4. Drop related:, link:, info:, cache:, daterange:, ~, and + from your notes.
  5. For backlinks, use a backlink tool instead of link:.

If you run searches from code, the same operators go in the query string. Here's one call:

curl -sS -X POST 'https://api.getanyapi.com/v1/run/google.search' \
  -H "Authorization: Bearer $ANYAPI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"query":"site:nasa.gov mars rover"}'

And the first two of the 10 results it returned on October 2, 2026:

{
  "output": {
    "found": true,
    "data": {
      "query": "site:nasa.gov mars rover",
      "results": [
        {
          "position": 1,
          "title": "Mars Exploration Rovers: Spirit and Opportunity",
          "link": "https://science.nasa.gov/mission/mars-exploration-rovers-spirit-and-opportunity",
          "snippet": "NASA's Spirit and Opportunity rovers were identical twin robots who helped rewrite our understanding of the early history of Mars."
        },
        {
          "position": 2,
          "title": "Mars Rover Opportunity - Mars Missions",
          "link": "https://www.jpl.nasa.gov/missions/mars-exploration-rover-opportunity-mer",
          "snippet": "Opportunity was the second of the two rovers launched in 2003 to land on Mars and begin traversing the Red Planet in search of signs of ancient water."
        }
      ]
    }
  },
  "costUsd": 0.0005,
  "items": 10
}

google.search costs $0.40 per 1,000 searches, billed per call from a prepaid wallet, so rerunning this whole test would cost about a dime.

Frequently asked questions

What are Google search operators?
They're words and symbols you type into the search box to narrow what Google returns, such as site:nytimes.com to keep results to one site, quotes around a phrase to match it exactly, or a minus sign in front of a word to leave it out. Google's own help page lists six for web search: quotes, site:, the minus sign, before:, after:, and filetype:.
Which Google search operators still work in 2026?
In a test of 32 operators on October 2, 2026, eight did what they promise on all three searches tried: site:, intitle:, before:, after:, quotes, the minus sign, the * wildcard, and define:. Eight more worked on one or two of three, including filetype:, inurl:, and OR.
Does the Google cache: operator still work?
No. Google removed its cache: documentation on September 24, 2024, saying the operator no longer works, and in the October 2, 2026 test, cache: returned no results on all three sites tried.
What is Google dorking?
Google dorking, or Google hacking, is using search operators like site:, filetype:, and inurl: to find pages that are indexed but hard to reach by ordinary searching. It's the same set of operators, aimed at what a site exposes, and the same test results apply.

To compare Google search APIs on price, see the cheapest SERP API comparison.

Google results as JSON, operators included, $0.0004 a search. New accounts get free credit, no card required.

Try the Google Search API

Use data responsibly and follow AnyAPI's Acceptable Use Policy.