Skip to main content

Search Operators Reference

89 operators across 9 platforms — Google, Bing, DuckDuckGo, Yandex, PubMed, Google Scholar, GitHub, Stack Overflow, and LinkedIn X-Ray.

89 operators

Restrict results to a specific domain or subdomain

site:github.com machine learning
Google Bing DuckDuckGo Yandex

Restrict to specific file type (pdf, doc, xls, etc.)

filetype:pdf annual report 2024
Google Bing DuckDuckGo

Alias for filetype — restrict to file extension

ext:csv budget data
Google

Term must appear in the page title

intitle:"write for us" SEO
Google Bing DuckDuckGo Google Scholar LinkedIn X-Ray

All terms must appear in the page title

allintitle:best SEO tools 2024
Google

Term must appear in the URL

inurl:admin login
Google Bing DuckDuckGo Yandex LinkedIn X-Ray

All terms must appear in the URL

allinurl:blog seo tips
Google

Term must appear in the page body text

intext:"password reset" site:example.com
Google

All terms must appear in the page body

allintext:privacy policy GDPR
Google

Term must appear in anchor text of links pointing to the page

inanchor:"click here" filetype:pdf
Google Bing

All terms in anchor text of linking pages

allinanchor:best SEO guide
Google

Proximity search — two terms within X words of each other

"artificial intelligence" AROUND(3) "ethics"
Google

Results published before this date (YYYY-MM-DD)

site:nytimes.com before:2024-01-01 election
Google

Results published after this date (YYYY-MM-DD)

AI regulation after:2024-06-01
Google

Find sites similar to the specified domain

related:nytimes.com
Google

View Google's cached version of a page

cache:example.com/pricing
Google

Dictionary definition of a term

define:serendipity
Google

Get information Google has about a specific URL

info:wikipedia.org
Google

News source filter in Google News

source:reuters AI regulation
Google Google Scholar

Search for images with specific dimensions (WIDTHxHEIGHT)

imagesize:1920x1080 wallpaper nature
Google

Force Google Maps results for a location

map:New York restaurants
Google

Movie showtimes and information

movie:Inception
Google

Weather forecast for a location

weather:London
Google

Stock information for a ticker symbol

stocks:GOOGL
Google

Search for an exact phrase match

"machine learning engineer"
Google Bing DuckDuckGo Yandex Google Scholar LinkedIn X-Ray

Exclude a term or operator from results

jaguar -car -automobile
Google Bing DuckDuckGo Yandex Google Scholar LinkedIn X-Ray

Boolean OR — match either of two terms

site:github.com (rust OR golang)
Google Bing DuckDuckGo Google Scholar LinkedIn X-Ray

Wildcard placeholder for any word in a phrase

"how to * a website"
Google Bing

Group terms and operators together

(React OR Vue OR Angular) developer
Google Bing Yandex LinkedIn X-Ray

Search for hashtags

#throwbackthursday
Google

Search for prices

camera $500
Google

Numeric range search (e.g., 100..500)

camera $200..$500
Google

Term must appear in the page body

inbody:"error 404" site:example.com
Bing DuckDuckGo

Pages containing links to specified file type

contains:pdf training materials
Bing

Pages hosted on a specific IP address

ip:104.21.234.56
Bing

Emphasize a term in ranking results

prefer:tutorial Python web scraping
Bing

Find RSS/Atom feeds on a topic

feed:technology news
Bing

Pages that contain RSS/Atom feeds

hasfeed:cybersecurity blog
Bing

Find a specific exact URL

url:example.com/pricing
Bing Yandex

Restrict results by country/region code

loc:uk AI regulation
Bing

Restrict results by content language

language:de machine learning
Bing GitHub

Proximity search (similar to AROUND)

"artificial intelligence" near:5 "ethics"
Bing

Boolean AND — both terms must appear (default in most engines)

Python AND "web scraping"
Bing PubMed LinkedIn X-Ray

Boolean NOT — exclude term (alternative to -)

Python NOT Java
Bing PubMed

Bang operator — redirect search to another site (!g=Google, !w=Wikipedia, !yt=YouTube)

!g site:reddit.com AI news
DuckDuckGo

Restrict results by region code

region:ua web development
DuckDuckGo

Restrict to a specific host (more precise than site:)

host:docs.python.org tutorial
Yandex

Reverse host notation for pattern matching

rhost:com.github.* machine learning
Yandex

File type restriction (Yandex equivalent of filetype:)

mime:pdf annual report
Yandex

Language restriction (ru, en, uk, etc.)

lang:uk machine learning
Yandex

Date restriction in YYYYMMDD format or range

date:20240101..20240630 AI news
Yandex

Term in page title (Yandex equivalent of intitle:)

title:documentation Python API
Yandex Stack Overflow

Search by author name (last name + initial)

Smith J[AU] AND cancer[TIAB]
PubMed

Term must appear in article title or abstract

immunotherapy[TIAB] AND melanoma[TIAB]
PubMed

Term must appear in article title only

CRISPR[TI] AND gene therapy[TI]
PubMed

Publication date (YYYY or YYYY/MM/DD)

2024[DP] AND vaccine[TIAB]
PubMed

Journal name or standard abbreviation

Nature[TA] AND CRISPR[TIAB]
PubMed

Medical Subject Headings — controlled vocabulary terms

Neoplasms[MH] AND immunotherapy[TIAB]
PubMed

Author affiliation / institution

Harvard[AD] AND neuroscience[TIAB]
PubMed

Article type: Review, Clinical Trial, Meta-Analysis, etc.

Review[PT] AND diabetes[TIAB]
PubMed

Language of publication

English[LA] AND cancer[TIAB]
PubMed

Search by author name

author:"John Smith" deep learning
Google Scholar

Filter by star count (supports >, <, ranges like 100..500)

stars:>1000 language:python
GitHub

Filter by last push date

pushed:>2024-06-01 language:typescript
GitHub

Filter by repository owner / user

user:torvalds language:c
GitHub Stack Overflow

Filter by organization

org:google language:go
GitHub

Search within a specific repository

repo:facebook/react hooks
GitHub

Filter by file path within repository

path:src/components language:typescript
GitHub

Filter by filename

filename:Dockerfile language:python
GitHub

Filter by file extension

extension:rs async runtime
GitHub

Filter by file size in bytes (supports >, <, ranges)

size:>10000 extension:json
GitHub

Include or only show forks (true/only)

fork:only language:python
GitHub

Filter by repository topic

topic:machine-learning stars:>500
GitHub

Filter by license type (mit, apache-2.0, gpl-3.0, etc.)

license:mit language:typescript stars:>100
GitHub

Repository visibility (public/private)

is:public language:go stars:>50
GitHub

Filter by archived status (true/false)

archived:false language:rust stars:>100
GitHub

Where to search: name, description, readme, topics

in:readme "getting started" language:typescript
GitHub

Filter by technology tag

[javascript] async await error handling
Stack Overflow

Only questions with an accepted answer

[python] is:accepted decorators
Stack Overflow

Only closed questions

[python] is:closed duplicate
Stack Overflow

Only questions (not answers)

[react] is:question hooks
Stack Overflow

Only answers (not questions)

[react] is:answer hooks tutorial
Stack Overflow

Minimum score (supports >, <, ranges)

[javascript] score:>50 promises
Stack Overflow

Number of answers (supports >, <)

[python] answers:>5 pandas
Stack Overflow

Number of views (supports >, <)

[react] views:>10000 hooks
Stack Overflow

Filter by creation date

[typescript] created:>2024-01-01
Stack Overflow

Search within post body text

[python] body:"import pandas"
Stack Overflow

Has accepted answer (yes/no)

[python] hasaccepted:no pandas merge
Stack Overflow

Restrict to LinkedIn profile pages (X-Ray base operator)

site:linkedin.com/in "React developer" "San Francisco"
LinkedIn X-Ray