< Back to the Blog

How to Do a Boolean Search in Google ?

December 19, 2022

Source : LifeWire

What to Know

  • AND: Searches for all the search terms you specify, e.g., search Amazon AND Rainforest for websites that include both terms.
  • OR: Searches for one term or another, e.g., search how to draw OR paint if you'd like results on either term but not necessarily both.
  • Group words in a phrase with quotation marks, e.g., search "sausage biscuits" for results that include only the words together.

AND Boolean Operator

Use the AND operator in Google to search for all the search terms you specify. Using AND ensures that the topic you're researching is the topic you get in the search results.

For example, a search for Amazon on Google is likely to yield results relating to Amazon.com, such as the site's homepage, its Twitter account, Amazon Prime information, and items available for purchase on Amazon.com.

If you want information on the Amazon rainforest, a search for Amazon rainforest might yield results about Amazon.com or the word Amazon in general. To make sure each search result includes both Amazon and rainforest, use the AND operator.

Screenshot showing how to use the AND Boolean operator on Google

Examples of the AND operator include:

  • Amazon AND rainforest
  • sausage AND biscuits
  • best AND college AND towns

In each of these examples, search results include web pages with all the terms connected by the Boolean operator AND.

A Boolean operator must be in uppercase letters because that's how Google understands it's a search operator and not a regular word. Be careful when typing the search operator; it makes a difference in the search results.

OR Boolean Operator

Google uses the OR operator to search for one term or another term. An article can contain either word but doesn't have to include both. This usually works well when using two similar words or subjects you want to learn about.

For example, in a search for how to draw OR paint, the OR operator tells Google it doesn't matter which word is used since you'd like information on both.

screenshot of search how to draw OR paint using the Boolean search operator OR

To see the differences between the OR and AND operators, compare the results of how to draw OR paint versus how to draw AND paint. Since OR gives Google the freedom to show more content (since either word can be used), there are more results than if AND is used to restrict the search to include both words.

The break character (|) can be used in place of OR. The break character is the one attached to the backslash key (\).

Examples of the OR operator include:

  • how to draw OR paint
  • how to draw | paint
  • primal OR paleo recipes
  • red OR yellow triangle

Combine Boolean Searches and Use Exact Phrases

When searching for a phrase rather than a single word, group the words with quotation marks. For example, search for "sausage biscuits" (with the quotes included) to show only results for phrases that include the words together, without anything between them. It ignores phrases such as sausage and cheese biscuits.

However, a search for "sausage biscuits" | "cheese sauce" gives results for either exact phrase, so you'll find articles about cheese sauce and articles about sausage biscuits.

When searching for a phrase or more than one keyword, in addition to using a Boolean operator, use parentheses. Type recipes gravy (sausage | biscuit) to search for gravy recipes for either sausages or biscuits. To search for sausage biscuit recipes or reviews, combine the exact phrase with quotations and search for "sausage biscuit" (recipe | review).

If you want paleo sausage recipes that include cheese, type (with quotes) "paleo recipe" (sausage AND cheese).

Screenshot showing how to combine Boolean search operators on Google

Boolean Operators Are Case Sensitive

Google may not care about uppercase or lowercase letters in search terms, but Boolean searches are case sensitive. For a Boolean operator to work, it must be in all capital letters.

For example, a search for freeware for Windows OR Mac gives different results than a search for freeware for Windows or Mac.

Screenshot showing that Boolean expressions in Google are case sensitive

https://www.lifewire.com/boolean-search-terms-google-1616810

Kalytech Consulting S.A.

Avenue Louise, 523 - 1050 Brussels - Belgium
VAT: BE.0568.998.436
Copyright © 2024 - Kalytech Consulting - Privacy policy - Made by Artimon Digital
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram