# Boolean search

> How Boolean operators work in search engines: what Google

Canonical: https://scaplet.com/glossary/boolean-search

Glossary Glossary · Search behavior

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fboolean-search%20(%22Boolean%20search%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fboolean-search%20(%22Boolean%20search%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fboolean-search%20(%22Boolean%20search%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fboolean-search%20(%22Boolean%20search%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 3 minutes.

1. [What Boolean search means 01](#what-boolean-search-means)
2. [What Google documents 02](#what-google-documents)
3. [What Bing documents 03](#what-bing-documents)
4. [Use it for SEO checks 04](#use-it-for-seo-checks)

_01_Explained

## 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.

_02_From google.com/advanced_search

## What Google documents

Google's [Advanced Search](/glossary/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](/glossary/url-inspection-tool) is more reliable for debugging.

_03_From Microsoft's Advanced search options page

## What Bing documents

Symbol

### `+`

Function

Finds webpages that contain all the terms preceded by the + symbol, and lets you include terms that are usually ignored

Symbol

### `" "`

Function

Finds the exact words in a phrase

Symbol

### `( )`

Function

Finds or excludes webpages that contain a group of words

Symbol

### `AND` or `&`

Function

Finds webpages that contain all the terms or phrases

Symbol

### `NOT` or `–`

Function

Excludes webpages that contain a term or phrase

Symbol

### `OR` or `|`

Function

Finds webpages that contain either of the terms or phrases

- **Default is AND.** Microsoft says all searches are AND searches by default.
- **Capitalize NOT and OR.** Otherwise Bing ignores them as stop words.
- **Only the first 10 terms count** toward the results.
- **Order of precedence:** `()` first, then `""`, then `NOT – +`, then `AND &`, then `OR |`. Because OR is lowest, Microsoft says to put OR terms in parentheses when you combine them with other operators.

A grouped Bing query

```
(coffee OR tea) NOT decaf "cold brew"
```

_04_Check 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.

**Do not read intent into operators**Most people searching do not type operators. Operators help you inspect the results, but [search intent](/glossary/search-intent) still comes from plain-language [queries](/glossary/query).

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.

_01_ Does 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.

_02_ What 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.

_03_ Does 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. 01 [Google Advanced Search](https://www.google.com/advanced_search) google.com · checked 2026-10-25
2. 02 [Debugging with Google Search Operators (Search Central)](https://developers.google.com/search/docs/monitor-debug/search-operators) developers.google.com · checked 2026-10-25
3. 03 [Advanced search options (Microsoft Support, Bing)](https://support.microsoft.com/en-us/bing/advanced-search-options) support.microsoft.com · checked 2026-10-25

## Keep learning

[All glossary](/glossary)

[Learn Advanced search Fundamentals](/glossary/advanced-search) [Related Does ChatGPT use Bing? Guide](/ai-search/does-chatgpt-use-bing) [Read next Search query Keywords and research](/glossary/query) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Bing Webmaster Tools](/glossary/bing-webmaster-tools) [Black hat SEO](/glossary/black-hat-seo) [Bot management](/glossary/bot-management) [Bot traffic](/glossary/bot-traffic)

More in Search behavior
[Boolean search](/glossary/boolean-search) [Google Suggest](/glossary/google-suggest) [Information retrieval](/glossary/information-retrieval) [Related searches](/glossary/related-searches) [Voice search](/glossary/voice-search) [YouTube algorithm](/glossary/youtube-algorithm) [YouTube SEO](/glossary/youtube-seo) [Zero-click searches](/glossary/zero-click-searches)

Terms on this page
[Advanced search](/glossary/advanced-search) [URL Inspection tool](/glossary/url-inspection-tool) [Search intent](/glossary/search-intent) [Search query](/glossary/query)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
