Skip to content
arduralab
·7 min

Google Search Operators in SEO Practice

SEOtechnical SEOindexingGoogle Search Console
MG
Marcin Godula

Współzałożyciel & Head of SEO/Tech

Specjalista SEO, GEO i web development z ponad 15-letnim doświadczeniem. Pomaga firmom B2B budować widoczność w wyszukiwarkach klasycznych i AI.

Search operators are commands typed into the Google search box that narrow the results: quotes look for an exact phrase, site: for results from one site, minus excludes a word, before: and after: limit dates, and filetype: the file type. In SEO work they're handy for quick checks, such as whether a URL is in the index or whether spam has appeared on a site. Google cautions, however, that operators are bound by indexing and retrieval limits, and site: doesn't return every indexed URL. So operators are for searching, while counts and diagnosis come from Search Console.

What Search Operators Are

An operator is a special character or word that changes how a search works. Google describes them in Search Help, in its article on refining Google searches, and gives one important rule: there can be no space between the operator and the search term. A search for site:nytimes.com will work, but site: nytimes.com won't.

Operators aren't the only way to narrow results. The same help page describes Advanced Search, available under Tools, and the filters below the search bar, such as Images, News or Shopping. Google notes that the set and order of filters change depending on the query.

The Operators Google Documents

Search Help lists six operators and gives an example for each:

  • Quotes search for an exact match of a word or phrase, for example "tallest building".
  • site: returns results from a specific site or domain, for example site:youtube.com with an extra term.
  • Minus in front of a word excludes it, for example jaguar speed -car.
  • before: finds documents last updated before a given year or date.
  • after: finds documents last updated after a given year or date, and combining the two gives a date range.
  • filetype: narrows results to a particular file type, for example filetype:pdf.

The documentation for site owners, the overview of search operators on Search Central, adds two operators that work only on Google Images: imagesize:, which finds pages with images of given dimensions, and src:, which finds pages that reference a particular image URL in the src attribute. It also specifies that filetype: identifies the file type by the content-type HTTP header or by the file extension.

Google's help and the Search Central documentation we read don't describe operators such as intitle: or inurl:. They may return something, but without documentation there's no way to know how they work or whether they'll work tomorrow, so they're not a sound basis for measurement or reporting.

site: in SEO Practice

The site: operator has a dedicated page in the Search Central documentation. Google lists several uses. A query with just the domain returns a list of indexed and serving URLs. A query with a full URL may help you understand whether that URL is indexed and served. A domain plus an extra word shows which URLs on the site can show up for that word. A domain plus typical spam words helps identify and monitor spam on the site. What Google counts as spam is covered in our article on Google's spam policies.

One important detail concerns the version of the address. Google gives the example that site:https://www.example.com doesn't return the same results as site:https://example.com/. If a site's canonical address has no www and you check the www version, the results will mislead you. The same logic applies to subdomains, such as a staging version of the site that shouldn't be in the index.

Google spells out two limitations. The site: operator was designed primarily for regular search users and doesn't necessarily return all URLs indexed under a given prefix. In addition, a site: query without an extra term doesn't rank the results: the shortest URL is generally at the top, and beyond that the order is relatively random. So the order of site: results says nothing about which pages Google considers more important.

Why site: Is Not an Index Counter

The result count for a site: query is tempting because it's right there. Google says, however, that the list of URLs isn't always exhaustive and that bigger sites shouldn't expect to see all their URLs in it. A more specific prefix may yield more results than a broader one. That means the same site can show more pages for a query about one section than for a query about the whole domain.

Counting is what Search Console is for. The help page on the Page indexing report shows which pages are indexed, which aren't and why. It also contains an interesting caveat: if a site has fewer than 500 pages, Google says it probably doesn't need this report and can check its key pages with a plain site: search instead. For a small business, site: can be a sufficient quick test, while for a larger site the report is the only reliable source.

The Search Central overview says the same more generally: because operators are bound by indexing and retrieval limits, the URL Inspection tool in Search Console is more reliable for debugging. Google also says that if a URL doesn't show up in a site: query, you should check it with that tool and submit it for indexing if needed, and double-check that the query itself is correct.

Quotes, Minus and Dates in Everyday Work

Quotes help when you want an exact sentence rather than pages on a similar topic. In SEO, that's most often a distinctive passage from your own text, to check whether it's circulating on other domains, or the company name in its exact form, to see where it appears.

Minus lets you remove a word that clutters the results. Google's help example is searching for a jaguar's speed while excluding the word "car" to filter out results about the car brand. You can filter out unrelated meanings of a company name the same way.

According to Google, before: and after: find documents last updated before or after a date. They're useful for finding recent publications on a topic or checking what was written about something before a specific event. It's a filter on the update date Google knows, not a guarantee of the original publication date.

How We Use Search Operators

For searching, not for measuring. We use operators to test hypotheses quickly: whether a staging version of a site has made it into the index, whether spam pages have appeared on the site, whether a passage from a client's text has been copied to another domain. Numbers for reports come from Search Console.

Always with the canonical version of the address. In site: queries we use the canonical version of the domain and check the redirecting versions separately, so we don't mistake a redirected address for one missing from the index.

A negative result gets checked twice. If a URL doesn't appear in site: results, we don't conclude it isn't indexed until the URL Inspection tool confirms it, in line with what Google's own documentation says.

Summary

Google documents six operators in Search Help: quotes, site:, minus, before:, after: and filetype:, and for site owners also imagesize: and src: on Google Images. Operators are good for quick checks: whether a URL is in the index, which pages can show up for a word, whether there's spam on the site, where a passage of text is circulating. They aren't an index counter, because site: doesn't return every URL and doesn't order results by importance.

A reliable picture of indexing comes from the Page indexing report and the URL Inspection tool in Search Console. These checks are part of the SEO audit we run before any larger piece of work on a site. If you want to know how Google sees your site, request a quote.

Terms from this article

Need help with this topic?

Get a free audit and find out how we can help your business grow online.

Get a free quote