Free auditStart free
GlossaryGlossary · Search behavior

Boolean search

How Boolean operators work in search engines: what Google's own pages document for OR, quotes and minus, and Bing's AND, OR, NOT rules and precedence.

3 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Boolean search combines terms with the logical operators AND, OR and NOT to widen or narrow results. Google documents quotes for exact phrases, a minus sign to exclude words, and OR between words. Bing documents AND, OR and NOT plus parentheses, requires capitalized OR and NOT, and ranks OR lowest in precedence.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What Boolean search means

Boolean search means building a query from terms joined by logical operators. AND requires both terms, OR accepts either, and NOT excludes a term. Search engines express these differently, and not every engine supports every form. The sections below stick to what each engine documents.
02From google.com/advanced_search

What Google documents

Google's Advanced Search page shows the typed equivalent of each form field. These are the Boolean-style ones.
Goal

All the words

Google's instruction
Type the important words
Example on the page
tri-colour rat terrier
Goal

Exact phrase

Google's instruction
Put exact words in quotes
Example on the page
"rat terrier"
Goal

Either word

Google's instruction
Type OR between all the words you want
Example on the page
miniature OR standard
Goal

Exclude words

Google's instruction
Put a minus sign just before words that you don't want
Example on the page
-rodent, -"Jack Russell"
Goal

Number range

Google's instruction
Put two full stops between the numbers and add a unit of measurement
Example on the page
10..35 kg

The Advanced Search page does not show AND, NOT or parentheses as typed operators, and the Google pages we could open do not document them. To exclude a word, Google's page shows the minus sign. Test a grouped query before you rely on it.

Google's Search Central documentation lists the extra operators for site debugging: site:, filetype:, and the Google Images only imagesize: and src:. It also warns that "search operators are bound by indexing and retrieval limits", so the URL Inspection tool is more reliable for debugging.

04Check it

Use it for SEO checks

Boolean-style queries are most useful for auditing your own pages and checking how you appear. Pair them with a site operator and keep the query short.

The first lists pages on one domain containing a phrase while leaving out a word. The second finds PDFs. Treat the result count as a rough guide, not an index report, since Google says operators are bound by indexing and retrieval limits.

Examples
site:example.com "free shipping" -blog
site:example.com filetype:pdf
Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Does Google recognize Boolean operators?

Google's Advanced Search page documents quotes for exact phrases, a minus sign to exclude words, and OR typed between words. The pages we opened do not document AND, NOT or parentheses.

02What is an example of a Boolean search?

miniature OR standard in Google, or (coffee OR tea) NOT decaf in Bing. Both widen or narrow results using logical operators.

03Does Bing need operators in capitals?

Yes for NOT and OR. Microsoft says Bing otherwise ignores them as stop words.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • microsoft.com
  1. 01Google Advanced Searchgoogle.com · checked 2026-10-25
  2. 02Debugging with Google Search Operators (Search Central)developers.google.com · checked 2026-10-25
  3. 03Advanced search options (Microsoft Support, Bing)support.microsoft.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly