Google Search Operators: Complete Reference and Recipes

On this page
  1. What Are Google Search Operators?
  2. The Complete Reference Table of Modern Google Search Operators
  3. Core Boolean and Punctuation Operators
  4. Document-Scoped Operators (site:, filetype:, inurl:, intitle:, intext:)
  5. Dead and Deprecated Operators You Must Stop Using
  6. 1. The cache: Operator (Retired in 2024)
  7. 2. The link: Operator (Retired in 2017)
  8. 3. The info: Operator (Retired in 2017)
  9. 4. The Tilde (~) Synonym Operator
  10. Practical Diagnostic Recipes: Indexing and Site Architecture Auditing
  11. Recipe 1: Identifying Indexed URLs on a Subdomain or Directory
  12. Recipe 2: Uncovering Non-Secure HTTP Pages on a Migrated Domain
  13. Recipe 3: Discovering Exposed Staging Environments and Subdomains
  14. Content and Competitive Analysis Recipes
  15. Recipe 1: Finding Internal Duplicate Content
  16. Recipe 2: Identifying Competitor Editorial Topic Clusters
  17. Recipe 3: Finding Internal Linking Opportunities
  18. Security and Vulnerability Discovery Recipes
  19. Recipe 1: Finding Exposed Database and Configuration Files
  20. Recipe 2: Auditing Publicly Searchable PDF Documents
  21. Frequently Asked Questions
  22. What are Google search operators?
  23. Why did Google deprecate the cache: operator?
  24. Does the site: operator show every indexed page?
  25. Can search operators be combined in a single query?
  26. Why does the link: operator no longer work?
  27. What is the difference between intitle: and allintitle:?
  28. How do search operators assist technical SEO audits?
  29. Are search operator commands case-sensitive?
  30. Sources
In this guide: Queries and Intent

Google search operators are specialized symbols and query commands that modify how search engines filter and return indexed web pages. By adding parameters such as site:, filetype:, or exact-match quotation marks, searchers bypass standard algorithmic relevance to execute precise technical searches. These operators allow engineers to audit indexing status, identify duplicate content, and uncover configuration vulnerabilities.

What Are Google Search Operators?

When a user submits an everyday query, Google applies natural language processing and neural embeddings to retrieve documents based on semantic concept matching. While this semantic flexibility benefits everyday searchers, it frustrates engineers, security analysts, and technical marketers who require deterministic, literal filtering.

Google search operators provide direct programmatic control over query retrieval. Operators act as instructions passed directly into the search engine’s query compiler. By instructing the engine to restrict results to a specific domain host, filter by MIME file type, or enforce exact character sequencing, search operators turn Google into an investigative technical diagnostic tool.

However, search operators do not follow universal programming conventions. Over the past decade, Google quietly deprecated dozens of classic commands while altering the reliability of others. Understanding which operators remain active and which have ceased functioning is essential for accurate technical investigations.

The Complete Reference Table of Modern Google Search Operators

The reference table below logs the operational status and engineering behavior of every major Google search operator. It categorizes commands as Active and Reliable, Partially Supported or Unreliable, or Officially Deprecated and Dead.

Operator Syntax Example Modern Status Operational Mechanism and Notes
site: site:example.com Active & Reliable Restricts results strictly to the specified domain, subdomain, or URL path prefix.
filetype: / ext: filetype:pdf Active & Reliable Restricts retrieval to specific document file extensions (PDF, DOCX, XLSX, TXT).
” “ (Quotes) "exact phrase" Active & Reliable Enforces strict string literal matching, disabling synonym expansion and stemming.
- (Minus) -site:example.com Active & Reliable Boolean NOT negation. Excludes words, phrases, or specific operator scopes.
OR / | apple OR google Active & Reliable Boolean disjunction. Matches either term. Must be typed in capital letters.
intitle: intitle:security Active & Reliable Restricts matches to pages where the term appears within the HTML <title> tag.
allintitle: allintitle:seo audit guide Unreliable Enforces all following terms in title. Prone to CAPTCHAs; cannot chain other operators.
inurl: inurl:staging Active & Reliable Scopes matches to URLs containing the exact character string in the path or slug.
allinurl: allinurl:admin login Unreliable Matches all terms in URL. Often produces incomplete results; avoid in audits.
intext: intext:password Active & Reliable Restricts matches to the visible body text, ignoring title, URL, and metadata.
allintext: allintext:privacy policy Unreliable Restricts all following terms to body copy. Does not combine cleanly with site:.
AROUND(X) seo AROUND(3) audit Active & Reliable Proximity search. Matches documents where two terms appear within X words of each other.
.. (Range) laptop $500..$800 Partially Supported Matches numbers within a specific numerical or financial range.
cache: cache:example.com Deprecated / Dead Officially retired in early 2024. Google now partners with the Wayback Machine.
link: link:example.com Deprecated / Dead Deprecated in 2017. Formerly showed inbound backlinks; now returns meaningless data.
info: info:example.com Deprecated / Dead Deprecated in 2017. Formerly surfaced metadata and cache shortcuts for a specific URL.
~ (Tilde) ~car Deprecated / Dead Formerly expanded synonyms. Deprecated; Google now handles synonyms automatically.
+ (Plus) +keyword Deprecated / Dead Retired during Google+ integration. Replaced by exact match quotation marks.

Core Boolean and Punctuation Operators

Boolean logic forms the baseline syntax of all technical search filtering. Understanding how Google evaluates Boolean operators prevents common diagnostic errors:

  • Implicit AND Logic: Google applies an implicit Boolean AND operator between every term in a standard search query. Searching for technical seo audit instructs the engine to find documents containing concepts matching all three terms.
  • Explicit OR Disjunction: To search for alternatives, the OR operator must be capitalized. Entering python or rust performs a literal search for the lowercase word “or”; typing python OR rust (or python | rust) correctly executes a logical disjunction.
  • The Negation Operator (-): The minus symbol acts as a Boolean NOT operator, excluding specific topics or domains. Crucially, there must be no space between the minus sign and the excluded term. Searching apple -fruit excludes the food concept, whereas apple - fruit treats the hyphen as a normal dash separator.
  • Exact Match Quotes (” “): Placing quotation marks around a phrase instructs the query compiler to bypass query processing systems like stemming, lemmatization, and synonym expansion. Searching "database connection error" ensures that documents must contain that exact sequence of characters.

Document-Scoped Operators (site:, filetype:, inurl:, intitle:, intext:)

Document-scoped operators restrict the retrieval engine to specific structural fields within indexed HTML documents. Rather than searching the entire inverted index uniformly, these operators query specific posting attributes:

The site: operator is the primary command for domain-level investigation. It accepts full domains (site:example.com), subdomains (site:blog.example.com), or specific directory path prefixes (site:example.com/blog/). It acts as a hard filter: Google will return zero results outside that specified path.

text
Targeted Structural Scoping Syntax:
- site:example.com/docs/       -> Scopes search exclusively to the /docs/ folder
- filetype:pdf site:edu         -> Locates PDF files published on university domains
- intitle:"index of" site:org   -> Uncovers exposed open Apache directory listings
- inurl:wp-content/uploads/     -> Scopes search to WordPress media storage folders

The filetype: operator (and its alias ext:) instructs the engine to return documents with specific file extensions. Google indexes dozens of document types, including PDF, Microsoft Office documents (DOCX, XLSX, PPTX), PostScript, and plain text files. Combining site: with filetype: allows auditors to uncover sensitive internal spreadsheets or presentation decks that webmasters unintentionally left public.

Dead and Deprecated Operators You Must Stop Using

Many published SEO cheat sheets and online articles recommend search operators that Google turned off years ago. Relying on dead operators leads to flawed audits and wasted diagnostic effort:

1. The cache: Operator (Retired in 2024)

For more than two decades, typing cache:example.com rendered Google’s saved snapshot of a webpage, allowing webmasters to see what Googlebot saw during its last crawl. In early 2024, Google Search Liaison Danny Sullivan officially announced the complete retirement of the cache: operator. Google stated that web caching was built in the early days of the internet when hosting servers frequently failed; today, web reliability is high, rendering internal search caching redundant. Google now integrates links to the Internet Archive’s Wayback Machine within its SERP result menus instead.

The link: operator was designed to display pages linking to a specific target URL. However, to prevent manipulative link schemes from reverse-engineering PageRank, Google severely restricted the operator in the early 2000s and officially turned it off in 2017. Entering link:example.com today returns either completely unrelated results or a random selection of pages. Backlink analysis must be performed using dedicated web crawlers or Google Search Console.

3. The info: Operator (Retired in 2017)

The info: operator formerly returned an informational card for a URL, including links to its cache, similar pages, and pages linking to the target. Google deprecated the command alongside other legacy infrastructure updates in 2017.

4. The Tilde (~) Synonym Operator

In the early 2000s, placing a tilde before a word (e.g., ~car) instructed Google to search for that word and its synonyms. Google retired this syntax over a decade ago when semantic vector search and neural models made manual synonym requesting obsolete.

Practical Diagnostic Recipes: Indexing and Site Architecture Auditing

Combining active operators produces powerful diagnostic queries for technical site analysis. Use these battle-tested recipes during site health reviews:

Recipe 1: Identifying Indexed URLs on a Subdomain or Directory

text
Query: site:example.com/blog/

While the site: operator does not provide a definitive mathematical total of indexed pages, it surfaces which specific URLs within a directory are active in Google’s index. Comparing this list against your XML sitemap helps identify pages missing from Google’s index.

Recipe 2: Uncovering Non-Secure HTTP Pages on a Migrated Domain

text
Query: site:example.com -inurl:https

After executing an SSL/TLS migration, legacy HTTP URLs should redirect permanently to secure HTTPS destinations. This diagnostic recipe queries the index for pages belonging to the domain while subtracting all URLs that contain “https”. Any surviving results represent unmigrated HTTP pages or broken canonical directives.

Recipe 3: Discovering Exposed Staging Environments and Subdomains

text
Query: site:example.com -inurl:www

Web development teams often spin up test subdomains like staging.example.com, dev.example.com, or test.example.com. If engineers forget to implement password authentication or robots.txt crawl directives, Googlebot can discover and index them. This recipe excludes the main www subdomain, surfacing forgotten development portals.

Content and Competitive Analysis Recipes

Search operators provide deep insights into content architecture, duplicate content, and competitor publishing habits:

Recipe 1: Finding Internal Duplicate Content

text
Query: site:example.com "exact paragraph of repeated text"

Placing an exact sentence in quotation marks alongside the site: operator searches your own domain for duplicate copy. This recipe quickly reveals whether multiple product listings, syndicated blog posts, or category pages share identical body text, uncovering potential duplicate content issues.

Recipe 2: Identifying Competitor Editorial Topic Clusters

text
Query: site:competitor.com intitle:"search engine" -inurl:tag -inurl:category

To understand how a competing publication structures its topical authority, this recipe searches the competitor’s domain for articles containing the target phrase in their HTML title tag. By negating /tag/ and /category/ URL paths, the auditor filters out taxonomy archive pages, isolating primary editorial guides.

Recipe 3: Finding Internal Linking Opportunities

text
Query: site:example.com intext:"target anchor phrase" -site:example.com/target-page-slug/

When publishing a new article, you should add internal links from existing relevant pages. This recipe searches your domain for pages that mention your target topic in their body copy, while subtracting the new article itself. The resulting list provides immediate, contextually relevant internal linking opportunities.

Security and Vulnerability Discovery Recipes

Security researchers use Google search operators (a practice known as Google Dorking) to identify misconfigured web servers, exposed credentials, and unintended document leakage:

text
+---------------------------------------------------------------+
| Common Security Diagnostic Recipes                            |
+---------------------------------------------------------------+
| Find Exposed PDFs & Spreadsheets:                             |
| site:example.com (filetype:pdf OR filetype:xlsx OR filetype:env)
+---------------------------------------------------------------+
| Find Open Web Server Directories:                             |
| site:example.com intitle:"index of"                           |
+---------------------------------------------------------------+
| Find Leaked Login Portals:                                    |
| site:example.com inurl:login OR inurl:admin                   |
+---------------------------------------------------------------+

Recipe 1: Finding Exposed Database and Configuration Files

text
Query: site:example.com (filetype:env OR filetype:sql OR filetype:log)

Environment configuration files (.env) frequently contain database passwords, API secret keys, and encryption credentials. If an Apache or Nginx server is misconfigured to serve dotfiles publicly, Googlebot can index them. This recipe audits your domain for accidental credential disclosures.

Recipe 2: Auditing Publicly Searchable PDF Documents

text
Query: site:example.com filetype:pdf

Many corporate websites upload internal employee manuals, financial reports, or vendor contracts to media folders, assuming that unlinked files remain private. Because web crawlers can discover URLs through shared links, this recipe identifies every public PDF document indexed by Google.

To master how query syntax coordinates with automated retrieval, read our guide on how search engines process queries, explore our query understanding hub, or study the foundational principles detailed across Search Engine Basics.

Frequently Asked Questions

What are Google search operators?

Google search operators are special characters and command words that modify standard search queries. They instruct the search engine to restrict results to specific domains (site:), filter by document formats (filetype:), enforce exact phrase matches (“”), or exclude terms (-), enabling precise technical diagnostics.

Why did Google deprecate the cache: operator?

Google officially retired the cache: operator in early 2024 because web infrastructure has matured. Google stated that web caching was developed when host servers frequently crashed. Today, internet reliability is high, making internal search caching redundant. Google now directs users to the Internet Archive’s Wayback Machine.

Does the site: operator show every indexed page?

No, the site: operator does not provide an exact or comprehensive count of indexed pages. Google uses sample indexing thresholds and algorithmic clustering on site: searches. For a verified, mathematically accurate count of your indexed URLs, consult the Indexing Coverage report inside Google Search Console.

Can search operators be combined in a single query?

Yes, search operators can be combined to build complex filters. For example, site:example.com filetype:pdf -inurl:public combines domain scoping, filetype filtering, and negative URL exclusion to locate non-public documents. Ensure there are no spaces between the operator colon and the target argument.

Google turned off the link: operator in 2017 to prevent webmasters from reverse-engineering proprietary PageRank calculations and building manipulative link schemes. Entering link: today returns inaccurate or random results. Backlinks should be monitored using Google Search Console or specialized SEO crawler software.

What is the difference between intitle: and allintitle:?

The intitle: operator applies strictly to the word immediately following the colon, allowing you to combine it with other search terms or operators. The allintitle: operator forces every subsequent word in the query to appear in the HTML title tag, but it cannot be combined with other operators.

How do search operators assist technical SEO audits?

Search operators help technical auditors identify unencrypted HTTP pages after an SSL migration, uncover exposed staging subdomains, detect duplicate content, audit indexed PDF files, and find relevant internal linking opportunities across an existing content corpus without using paid third-party tools.

Are search operator commands case-sensitive?

The operator prefixes themselves (such as site:, inurl:, and filetype:) must be typed in lowercase letters. However, the Boolean OR operator must be capitalized. The search query arguments that follow the colon are case-insensitive, as Google automatically normalizes query text during processing.

Sources

Sources

Tier 1 is a search engine's own documentation or a primary standards document. Tier 2 is a reputable secondary publication or a peer-reviewed paper.

  1. Refine Google Searches: Search Operators DocumentationGoogle Search HelpTier 1 source: primary documentation or a standards document
  2. Google Search Central: Checking Index Coverage and Search CommandsGoogle DevelopersTier 1 source: primary documentation or a standards document
  3. Google Deprecates the Cache OperatorSearch Engine LandTier 2 source: reputable secondary publication or peer-reviewed paper
  4. Google Search Central: URL Inspection Tool vs Site SearchGoogle DevelopersTier 1 source: primary documentation or a standards document
  5. Internet Archive Partnership in Google Search ResultsGoogle The Keyword BlogTier 1 source: primary documentation or a standards document

Cite this page

Hassan. "Google Search Operators: Complete Reference and Recipes." Search Engine Basics, 10 September 2026, https://searchenginebasics.dev/queries/google-search-operators/

BibTeX
@misc{hassan:2026:google-search-operators, author = {Hassan}, title = {Google Search Operators: Complete Reference and Recipes}, howpublished = {Search Engine Basics}, year = {2026}, url = {https://searchenginebasics.dev/queries/google-search-operators/}}

About the author

Hassan, Editor, Search Engine Basics

Hassan

Editor, Search Engine Basics

  • 8 years of hands-on SEO and technical search work
  • Runs original crawl and log-file experiments on live sites

Hassan has worked in SEO and digital marketing since 2018, running technical audits, content programs and log-file analysis across law, logistics, medical billing and software client sites. He writes Search Engine Basics from first-hand search data rather than from secondary commentary, and every claim on the site is traced back to a primary source.

Back to the queries guide