# Gmail search operators: Which are the most important and how to use them

Keeping track of your daily flood of emails or finding a single email after a few days have passed can be challenging. Luckily, Gmail has come up with a smart solution: Gmail search operators. These are terms and symbols that – when combined correctly – filter emails in a meaningful way. Find out how Gmail search works and which operators are available.

## Using Gmail search: a quick guide

1. Open your inbox.
2. Enter the search operator into the search bar at the top. See the list below for relevant Gmail search operators.

## Available Gmail search operators

<table>
  <tbody>
    <tr>
      <td><strong>Search operator</strong></td>
      <td><strong>Function/Search for</strong></td>
      <td><strong>Example</strong></td>
    </tr>
    <tr>
      <td>from:</td>
      <td>Sender</td>
      <td>from:service@paypal.com</td>
    </tr>
    <tr>
      <td>to:</td>
      <td>Recipient</td>
      <td>to:info@gmail.com</td>
    </tr>
    <tr>
      <td>cc:/bcc:</td>
      <td>Recipients who have received a (blind) copy</td>
      <td>cc:info@gmail.com / bcc:info@gmail.com</td>
    </tr>
    <tr>
      <td>subject:</td>
      <td>Words in a subject line</td>
      <td>subject:service</td>
    </tr>
    <tr>
      <td>label:</td>
      <td>Messages with a specific label</td>
      <td>label:inbox</td>
    </tr>
    <tr>
      <td>( )</td>
      <td>Summary of several search terms/words</td>
      <td>subject:(service payment)</td>
    </tr>
    <tr>
      <td>OR</td>
      <td>Multiple search criteria: either or</td>
      <td>from:service@paypal.com OR from:payment@customerservice.com</td>
    </tr>
    <tr>
      <td>{ }</td>
      <td>Multiple search criteria: and</td>
      <td>{from:service@paypal.com from:payment@customerservice.com }</td>
    </tr>
    <tr>
      <td>" "</td>
      <td>Exactly defined group of words or a specific word</td>
      <td>"Service for your order xy"</td>
    </tr>
    <tr>
      <td>+</td>
      <td>Exact match with one word</td>
      <td>+Service</td>
    </tr>
    <tr>
      <td>-</td>
      <td>Exclusion of a word</td>
      <td>-Service</td>
    </tr>
    <tr>
      <td>AROUND</td>
      <td>Two words that are in close proximity to another; the maximum distance can be specified by a number. To ensure that the order of the words is taken into account, add quotation marks.</td>
      <td>"Service AROUND 10 payment"</td>
    </tr>
    <tr>
      <td>label:/category:/in:</td>
      <td>Specific filing locations (label or inbox, outbox, trash,...) as well as categories.</td>
      <td>label:work in:spam</td>
    </tr>
    <tr>
      <td>is:</td>
      <td>Determined state (important, read, unread, marked,...)</td>
      <td>is: important Is: unread</td>
    </tr>
    <tr>
      <td>has:</td>
      <td>Attachments or special document types (files from Google Drive, YouTube link ...)</td>
      <td>has:attachment has:youtube has:document</td>
    </tr>
    <tr>
      <td>Filename:</td>
      <td>Attachments with specific document name or type</td>
      <td>filename:info.txt filename:pdf</td>
    </tr>
    <tr>
      <td>after:/before: older:/newer: older\_than:/newer\_than:</td>
      <td>Messages sent within a period of time or before/after a specific day; note that different date formatting is possible.</td>
      <td>after:2002/05/01 newer:10/07/2003 newer\_than:7d</td>
    </tr>
    <tr>
      <td>size: lager:/smaller:</td>
      <td>Messages of a specified size, smaller or larger than specified size (in bytes)</td>
      <td>size:10000 smaller:25M</td>
    </tr>
  </tbody>
</table>

---

### Note

Search operators are useful for a targeted search, but also for creating a Gmail rule. You can apply rules to filter emails and define what should happen to your selection afterwards.

---

## Using Gmail search properly: what are search operators?

Gmail search operators, or search commands, are a combination of **words and symbols** – similar to the commands found in some programming languages – that you can use to **specify results** of the Gmail search function. Instead of simply typing in an arbitrary search term that may not produce a meaningful result, Gmail search operators narrow down the result.

Let’s use an example to illustrate this. Suppose you are looking for an online invoice from a particular sender. If you were to simply type “online invoice” into the Gmail search bar, all emails containing that term (in the subject or content) would be displayed. If you add one (or more) Gmail search operators, you can narrow down the results by sender, time of sending, and other criteria, for example. Even the targeted exclusion of certain terms or senders is possible.

## Why are Gmail search operators useful?

On the one hand, the targeted use of the search operators saves you time and delivers unambiguous results. If you’re dealing with a high volume of emails this is a blessing. On the other hand, you only need to know a few **individual criteria** to successfully search emails. For example, if you only know the time period and sender, but not the subject, you can still search the Gmail inbox.

To make the Gmail search with operators run smoothly, it’s best to use them directly in **the browser-based inbox.** If you use another email program that collects your Gmail via IMAP, the search results may not be displayed correctly.

**Statistics** show just how popular Gmail has become as an email program. In August last year, the email marketing tool provider Litmus evaluated some 870 million email openings worldwide and found that Gmail came second (after Apple’s iPhone) for opening emails.

[![Infographic: The World's Most Popular Email Clients | Statista](https://cdn.statcdn.com/Infographic/images/normal/17570.jpeg)](https://www.statista.com/chart/17570/most-popular-email-clients/ "Infographic: The World's Most Popular Email Clients | Statista") You will find more infographics at [Statista](https://www.statista.com/chartoftheday/)

## Tutorial: Search Gmail inbox using search operators

**Step 1:** Launch the Gmail inbox and click on the search field above the list of emails.

[![Image: Search function in Gmail inbox](https://www.ionos.ca/digitalguide/fileadmin/_processed_/d/c/csm_gmail_so1_en_2545226e59.webp "Search function in Gmail inbox")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so1_en.png) Find important emails via Gmail search.       **Step 2:** Enter the **search command and the value** to search for. In our example, the search operator is “from”, i.e. the sender. As you’re typing the search value (e.g. an email address), Google will auto-suggest relevant matches.

[![Image: Gmail search with search operators](https://www.ionos.ca/digitalguide/fileadmin/_processed_/b/e/csm_gmail_so2_en_e4f8ce1557.webp "Gmail search with search operators")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so2_en.png) One of the most common Gmail search operators is “from:”.       **Step 3:** **Complete the search value** either by clicking on a suggested sender or by entering the email address manually.

[![Image: Gmail search with search operators: suggestions](https://www.ionos.ca/digitalguide/fileadmin/_processed_/1/0/csm_gmail_so3_en_aa4363012f.webp "Gmail search with search operators: suggestions")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so3_en.png) While you are searching, Google will make relevant suggestions.       **Step 4:** Confirm your search by pressing “Enter”.

**Step 5:** Gmail now displays all emails that match your search criteria.

[![Image: Gmail search with search operators: results](https://www.ionos.ca/digitalguide/fileadmin/_processed_/6/e/csm_gmail_so4_en_d5a3708016.webp "Gmail search with search operators: results")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so4_en.png) Gmail search lists all the results of your search.       **Step 6:** You can further restrict the list of results, for example, by selecting a time frame.

[![Image: Gmail search with search operators: narrowing down the results](https://www.ionos.ca/digitalguide/fileadmin/_processed_/0/9/csm_gmail_so5_en_bcb886ffa0.webp "Gmail search with search operators: narrowing down the results")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so5_en.png) Gmail search lets you narrow down the results.       **Step 7:** The results can be narrowed down further using the advanced search. We explain how this works below.

## Combine multiple Gmail search operators

Sometimes the selection of a single search command does not lead to a meaningful result. You can **combine several Gmail search operators**. To do this, enter the individual commands one after the other, **leaving only one space** between each value. The example shows the combination of sender (*from:*) and storage location (*in:*). It is also possible to specify multiple values for an operator. Check out the table of Gmail search operators to find out what this looks like.

[![Image: Gmail search with multiple search operators](https://www.ionos.ca/digitalguide/fileadmin/_processed_/7/0/csm_gmail_so6_en_c44beab177.webp "Gmail search with multiple search operators")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so6_en.png) Combine several operators.       ##  Extended Gmail search

Instead of Gmail search operators or to refine the results of your search, Gmail also provides an **advanced search**.

**Step 1:** Click on the icon next to the search box above the list of emails.

[![Image: Gmail inbox: advanced search](https://www.ionos.ca/digitalguide/fileadmin/_processed_/9/6/csm_gmail_so7_en_3b00c462fb.webp "Gmail inbox: advanced search")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so7_en.png) Search the Gmail inbox via advanced search.       **Step 2:** The advanced search menu opens where you can enter various search criteria.

[![Image: Gmail advanced search window](https://www.ionos.ca/digitalguide/fileadmin/_processed_/8/b/csm_gmail_so8_en_9cbace2da0.webp "Gmail advanced search window")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/gmail_so8_en.png) The advanced search allows searching without use or knowledge of search operators.       **Step 3:** You don’t need to know the exact Gmail search operators to use advanced search. Search your Gmail inbox by sender, recipient, subject, etc.

---

### Tip

Want to learn more about Gmail features? Read on to find out how the [Gmail archive](https://www.ionos.ca/digitalguide/e-mail/technical-matters/gmail-archive/) works, how to set up a [Gmail out-of-office notice](https://www.ionos.ca/digitalguide/e-mail/technical-matters/gmail-out-of-office/), or a [Gmail read receipt](https://www.ionos.ca/digitalguide/e-mail/technical-matters/set-up-gmail-read-receipts/).

---


This is a markdown version of: [https://www.ionos.ca/digitalguide/e-mail/technical-matters/gmail-search-operators/](https://www.ionos.ca/digitalguide/e-mail/technical-matters/gmail-search-operators/) for AI/LLM consumption.