Google Search Operators

Master Google Search with this cheat sheet of operators for precise scraping queries.

site:Basic

Limit results to a specific website.

Example: site:autom.dev
intitle:Basic

Find pages with a specific word in the title.

Example: intitle:scraping
inurl:Basic

Find pages with a specific word in the URL.

Example: inurl:blog
filetype:Basic

Search for specific file types (pdf, doc, xls, etc).

Example: filetype:pdf
related:Advanced

Find sites related to a target domain.

Example: related:autom.dev
cache:Advanced

See Google's cached version of a site.

Example: cache:autom.dev
intext:Basic

Search for words specifically in the body text.

Example: intext:"web scraping"
before:Time

Return results published before a date.

Example: seo before:2023
after:Time

Return results published after a date.

Example: seo after:2023-01-01
AND / +Logic

Force inclusion of both terms (default behavior).

Example: seo AND scraping
OR / |Logic

Find pages containing at least one of the terms.

Example: seo OR scraping
-Logic

Exclude words or sites from results.

Example: scraping -facebook
*Logic

Wildcard, matches any word or phrase.

Example: best * for scraping
allintitle:Advanced

All query words must appear in the title.

Example: allintitle:google search api
allinurl:Advanced

All query words must appear in the URL.

Example: allinurl:guide scraping