Skip to content

Instantly share code, notes, and snippets.

@ricardomaia
Last active May 29, 2024 00:31
Show Gist options
  • Save ricardomaia/b338d859c5f8ced755ade9c541ab021e to your computer and use it in GitHub Desktop.
Save ricardomaia/b338d859c5f8ced755ade9c541ab021e to your computer and use it in GitHub Desktop.
Google Advanced Search - https://www.google.com/advanced_search

Google Advanced Search

https://www.google.com/advanced_search

Operators

Operator Description Example
"" Use this to do an exact-match search. "great depression"
OR Search for this OR that. This will return results related to the two terms or both. suggar OR caffeine
| Works like OR. suggar | caffeine
AND Search for this AND that. This will only return results related to the two terms Apple AND M5
Exclude a term or search phrase.
* Acts as a wildcard and will match any word or phrase.
() Groups multiple terms or operators to control how the search is shown. (banana OR orange) -fruit
$ Search for prices.
define: Displays the meaning of a word in a card-like result. define:smishing
cache: Returns the most recent cached version of a web page (as long as the page is indexed). cache:wikipedia.com
filetype: Shows results of a certain filetype (PDF, DOCX, TXT, PPT, etc.) filetype:pdf health
site: Limit results to a specific website.
related: Find sites related to another site.
intitle: Find pages that contain a specific word in the title.
allintitle: Like “intitle,” this finds web pages containing all of the specific words in the page title.
inurl: Finds pages with a certain word in the URL.
allinurl: Similar to “inurl,” this finds web pages containing all of the URL’s specific words.
intext: Finds pages containing a specific word in the content.
allintext: Finds results containing all of the specific words somewhere on the page.
AROUND(X) This proximity search finds pages containing two words (or phrases) within X words of each other.
weather: Finds the weather for a specific location. weather:New York
stocks: See stock information stocks:MSFT
map: View map results for a location search. map:London
movie: Finds information about a specific movie. movie:The Matrix
in Convert one unit into another (like currencies, weights, temperatures, etc.) 10 dollars in rupees
source: Find news results from a certain source within Google News. source:New York Times "Elections"
before:YYYY-MM-DD Search results before a given date "airport rules" before:2001-09-11
after:YYYY-MM-DD Search results after a given date "airport rules" after:2001-09-11

Deprecated operators

Deprecated Google Search operators are unreliable or give inconsistent results. If you use them in a Google Search, they might not work. They include:

~ Include synonyms of a word in your search. Example: ~marketing

+ Find the exact match of a word or phrase. Example: +dog breeds

daterange: Search within a certain date range in the Julian date format. Example: marketing jobs daterange:20120-20140

info: Find information about a webpage. Example: info:indeed.com

link: Find pages that link to a site. Example: link:indeed.com

loc: Find results from a certain place.

Source: https://kinsta.com/blog/google-search-operators/ https://www.indeed.com/career-advice/finding-a-job/google-search-operators

@TechnologiaeArcadianae
Copy link

Hey, it's missing some commands, i.e. before:, or year:

@ricardomaia
Copy link
Author

Hey, it's missing some commands, i.e. before:, or year:

Thank you for the advice. I will update the list and provide some usage examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment