A short reference to using advanced search operators in Google for more effective searching.
Google Advanced Search Operators
1. Basic Operators
-
site:
– Search within a specific website or domain.
Example:site:example.com "search term"
-
inurl:
– Search for pages with a specific word in the URL.
Example:inurl:python "tutorial"
-
intitle:
– Search for pages with a specific word in the title.
Example:intitle:machine learning
-
intext:
– Search for pages containing a specific word in the text body.
Example:intext:cloud computing
-
inanchor:
– Search for pages with specific text in the anchor text (hyperlinks).
Example:inanchor:"best books"
2. Excluding Terms
-
-
– Exclude a word from the search.
Example:python tutorial -flask
-
-site:
– Exclude results from a specific site.
Example:python tutorial -site:wikipedia.org
-
OR
– Search for either one term or another (must be in uppercase).
Example:python OR java tutorial
3. Exact Phrases
""
– Search for an exact phrase.
Example:"artificial intelligence in healthcare"
4. Wildcard Search
*
– Acts as a wildcard for any word or phrase.
Example:"best * in tech"
5. Date Range
..
– Search for results within a specific date range.
Example:machine learning 2019..2023
6. File Types
filetype:
– Search for specific file types.
Example:filetype:pdf "data science"
7. Related Sites
related:
– Find sites related to a specific URL.
Example:related:youtube.com
8. Cache
cache:
– View the cached version of a specific page.
Example:cache:example.com
9. Link Search
link:
– Find pages that link to a specific URL.
Example:link:example.com
10. Search within Titles or URL
-
allintitle:
– Search for pages with multiple words in the title.
Example:allintitle: "python tutorial beginner"
-
allinurl:
– Search for multiple words in the URL.
Example:allinurl: "cloud computing beginner"
11. Number Ranges
..
– Search for numbers within a range (e.g., prices, years).
Example:laptop $300..$800
12. Advanced Syntax
define:
– Find the definition of a word.
Example:define:AI
13. Group Search
()
– Use parentheses to group terms or conditions for more complex searches.
Example:(python OR java) tutorial