Gmail Search Operators: 50 Commands to Find Emails Faster (With Examples)

Written by

Reviewed by

Reviewed by

expert verified

Expert Verified

Last update: August 13, 2025

Table of contents

    When your inbox is overflowing with customer conversations, updates, and follow-ups, finding a specific email can feel like searching for a needle in a haystack. That’s where Gmail search operators come in. 

    Whether you’re trying to track down a client’s invoice, dig up an old support thread, or locate unread emails from last month, search operators help you get there faster.

    In this guide, you’ll find:

    • 50 powerful Gmail search operators
    • Real-world examples of these operators

    Let’s dive in.

    Table of Contents

    What are Gmail Search Operators?

    Gmail search operators, also known as advanced Gmail search commands, email search filters, or Gmail search shortcuts, are specialized commands you type into Gmail’s search bar to narrow your results quickly and precisely.

    Using the ‘from:’ command in Gmail’s search bar
    Using the ‘from:’ command in Gmail’s search bar

    They let you filter emails by sender, recipient, subject line, date range, labels, attachment type, keywords, and more. This helps you find exactly what you’re looking for without digging through your entire inbox.

    Why use Gmail Search Operators?

    Let’s say you need to pull up all unread emails sent to support@ in the last 7 days. Or find a customer thread with the word “refund,”  but only if it had a PDF attached. Or maybe you just want to clean up emails older than a year that are taking up storage.

    That’s where Gmail search operators come in. These simple commands help you:

    • Save time when you’re hunting for specific conversations
    • Keep your inbox clean and organized
    • Respond faster by surfacing high-priority messages
    • Avoid missing SLAs or client escalations buried in clutter

    Here’s an exhaustive list of things you can search for using Gmail search operators:

    • Specific Emails
    • Attachments
    • Conversations 
    • Dates
    • Labels or Categories 
    • Unread Messages
    • Archived Emails
    • Starred or Important Emails 
    • Specific Phrases or Keywords 
    • Emails with Links
    • Calendar Invites and Events 
    • Old Conversations
    • Contacts and Email Addresses 
    • Shopping Receipts and Order Confirmations
    • Newsletter Subscriptions

    How to Use Gmail Search Operators

    To use Gmail search operators, just type them into the search bar at the top of your Gmail inbox. 

    Using the has: search operator in Gmail
    Using the has: search operator in Gmail

    Here are a few quick tips to get your searches right:

    • Don’t add spaces between the operator, the colon, and the search term (e.g., from:jane, not from : jane).
    • Use quotation marks to search for exact phrases, like “project update”.
    • You can combine operators by adding a space between them, like from:john has:attachment.

    50 Gmail Search Operators That Can Help You Find Anything


    Gmail offers a powerful set of search operators that go way beyond just a few basic commands. While many people know the common ones, like from: or has:attachment, there are dozens more that let you slice and dice your inbox exactly how you want. To make your life easier, we’ve expanded our list to over 50 Gmail search operators:

    Find Emails by Sender or Recipient

    1. from: – Emails from a person, e.g., from:alice@gmail.com shows all messages from Alice. 
    2. to: – Emails you sent to someone, e.g., to:bob@gmail.com displays messages you sent to Bob. 
    3. cc: – Emails where someone was CC’d, e.g., cc:manager@company.com. 
    4. bcc: – Your sent emails with someone BCC’d, e.g., bcc:teamlead@company.com. 
    5. deliveredto: – Emails delivered to a specific address, e.g., deliveredto:alias@yourdomain.com. 

    Search by Content & Keyword

    1. subject: – Emails with words in the subject, e.g., subject:invoice.
    2. “exact phrase” – Helps you search emails with the exact phrase, e.g., “meeting agenda”.
    3. +word – Must include a particular word, e.g., +unicorn. 
    4. -word – Exclude emails with that word, e.g., contract -draft.
    5. AROUND n – Words within n words apart, e.g., “report AROUND 5 Q2”.

    Filter by Folder or Category

    1. in: – Search a folder like Spam, e.g., in:spam.
    2. in:anywhere – Search across all folders, e.g., in:anywhere receipt. 
    3. category: – Gmail tab categories, e.g., category:promotions.
    4. label: – Custom labels, e.g., label:work. 
    5. has:userlabels – Emails with any label, e.g., has:userlabels.
    6. has:nouserlabels – Unlabeled emails, e.g., has:nouserlabels.

    Check Email Status

    1. is:read – Already opened emails, e.g., from:yourcompany@123.com is:read. 
    2. is:unread – Unopened messages, e.q., from:client@business.com is:unread.
    3. is:starred – Starred items, e.g., subject:invoice is:starred.
    4. is:unstarred – Non-starred items, e.g., label:marketing is:unstarred.
    5. is:snoozed – Snoozed emails, e.g., is:snoozed after:2024/07/01.
    6. is:important – Important messages, e.g., from:hr@company.com is:important

    Find Attachments & File Types

    1. has:attachment – Shows emails with any attachment (PDFs, images, docs, etc.), e.g., from:Robert.pattinson@shuri.com has:attachment 
    2. filename: – Specific file type, e.g., filename:budget.xlsx
    3. has:drive – Shows emails that include Google Drive links or shared Drive files, e.g., from: Robert.pattinson@shuri.com has:drive
    4. has:document – Google Docs attachments, e.g., subject:”project plan” has:document
    5. has:spreadsheet – Google Sheets, e.g., to:finance@hiverhq.com has:spreadsheet.
    6. has:presentation – Google Slides, e.g., label:training has:presentation 
    7. has:youtube – Emails with YouTube links, e.g., from:marketing@hiverhq.com has:youtube.
    8. has:image – Embedded images, e.g.,from:Robert.pattinson@shuri.com has:image. 

    Refine by Date or Time

    1. before: – Sent before a date, e.g., before:2023/01/01.
    2. after: – Sent after a date, e.g., after:2024/01/01.
    3. older_than: – Older than a specific date, e.g., older_than:6m. 
    4. newer_than: – Newer than a specific date, e.g., newer_than:1y. 
    5. newer: – Another way to filter by after-date, newer:2023/05/01.
    6. older: – Another way to filter by before=date, e.g., older:2022/12/31. 

    Sort by Size or Message ID

    1. size: – Filters emails larger than X bytes, e.g., size:1000000.
    2. larger: – Same as above but more readable, e.g., larger:5M.
    3. smaller: – Filters emails smaller than a size, e.g., smaller:10k.
    4. rfc822msgid: – Search using a unique message ID, e.g.,
      rfc822msgid:200503292@example.com.

    Include Chats or Mailing List Emails

    1. is:chat – Includes Hangouts or Google Chat messages, e.g., is:chat project notes.
    2. in:chats – Searches your chat history, e.g., in:chats team plan.
      list: – Filters by mailing list source, e.g., list:newsletter@example.com. 

    Combine Operators for Complex Queries

    1. Default (AND) – All terms must match, e.g., from:alice has:attachment. 
    2. OR – Either term can match, e.g., from:alice OR from:bob. 
    3. Parentheses ( ) – Group search terms, e.g., (from:alice OR from:bob) subject:report.
    4. Braces { } – Alternate syntax for OR, e.g., {from:amy from:david}.
    5. Negate ‘ ‘ Exclude a term, e.g., meeting -agenda.

    Bonus Operators for Extra Control

    1. List:- This search operator helps you find emails that came from a specific mailing list or newsletter address. It’s handy if you want to see all updates or digests from one source, like a product update list or a team newsletter. For example, list:news@updates.hiver.com will show you every email that was sent to you through that mailing list.

    1. label:^unread – This search operator helps you find unread emails by using Gmail’s built-in system label for unread messages. While most people just use is:unread, label:^unread can be helpful when you’re setting up advanced filters or searches. For example, if you type label:^unread in:inbox in the search bar, you’ll see only the unread emails sitting in your inbox.

    5 Real-Life Examples of Using Gmail Search Operators

    Here are a few practical ways to combine Gmail search operators and get more specific results from your inbox. To keep things simple, let’s use the email address robert.pattinson@shuri.com as our example sender. You’ll see just how flexible and powerful these searches can be when you start mixing and matching different operators.

    1. Find all emails from Robert that have attachments: You’re looking for any file Robert sent you—maybe a proposal or a report.

    2. Pull up emails from Robert about quarterly reviews: You want every message from Robert with “quarterly review” in the subject line.

    3. Locate unread emails from Robert sent in the last month: You don’t want to miss any new updates or requests.

    4. Find emails where Robert sent a Google Doc: Perfect for tracking down shared project docs.

    5. Search for emails from Robert that mention “SLA” but exclude drafts: Get only finalized discussions about SLAs. Skip anything still in draft form.

    Advanced Tips to Use Gmail Search Operators

    Once you’re comfortable with search operators, try these advanced techniques. They’ll help you set up shortcuts, save time, and make your searches even more powerful:

    Save your frequent searches as bookmarks

    Every search query in Gmail gets its URL, so after running a search, just bookmark the page in your browser. Whenever you click it, you’ll see the most up-to-date results without retyping.

    Bookmarking emails smaller than 10 mb
    Bookmarking emails smaller than 10 mb

    Turn searches into Gmail filters

    Once you’ve entered your search, click the filter icon on the search bar, choose actions like applying a label, forwarding, or archiving, and then select ‘Create filter’. You can even apply it to existing emails, so you’ll never miss a message that matches your criteria again.

    Creating a filter using the from: operator
    Creating a filter using the from: operator

    What Are the Common Limitations of Search Operators in Gmail

    Gmail search operators are powerful, but they’re not as flexible or forgiving as search tools in some other email clients or as intuitive as point-and-click filters. Here are a few built-in limitations you should know:

    • No autocomplete or search suggestions: Gmail won’t help you complete operators or fix typos. You must get the command right, or your search won’t work. For example, if you type from:johndoe@gmial.com (typo in “gmail”), Gmail won’t suggest or fix it, so you’ll see zero results.
    • Can’t search inside attachments: Operators can help you find emails with attachments, but you can’t search for specific words inside the attached files themselves. So, if you search for contract hoping to find a PDF attachment containing that word, Gmail will only show emails with “contract” in the message, not inside the PDF itself.
    • Limited mobile support: Not all advanced operators work on the Gmail mobile app, and typing long queries is less convenient on a small screen. Typing a complex query such as from:boss has:attachment older_than:1y on your phone is quite time-consuming.
    • No advanced logic (like NOT, AND, OR in brackets): While you can use OR and the minus sign to exclude, Gmail doesn’t support complex logic or accurate nested boolean searches. You can’t run a search like (from:alice AND subject:invoice) OR (from:bob AND subject:report).
    • No custom saved searches: Unlike some email clients, Gmail doesn’t let you save a search and reuse it as a dynamic smart folder unless you bookmark the search or create a filter.
    • Operators may change or become unsupported: If Google retires an operator like category:updates, it might stop working without warning.
    • Syntax must be exact: If you write from: alice (with a space after the colon), Gmail won’t recognize the operator, so your search won’t work as expected.

    Ready to Master Gmail Search Operators?

    Using Gmail search operators makes it much easier to find what you need, no matter how full your inbox gets. Whether you’re looking for a single message, tracking down attachments, or just want to stay organized, these simple search queries can help you save time and reduce hassle. 

    With a bit of practice, searching in Gmail will feel much more straightforward, and you’ll spend less time scrolling and more time getting things done.

    Frequently Asked Questions (FAQs)

    4. How can I search emails without any labels?

    Use the operator has:nouserlabels in the Gmail search bar. This will show all emails that don’t have any custom labels applied.

    5. What categories can I search for using Gmail operators?

    You can search Gmail’s main categories using the category: operator. The main categories are:

    • category:primary (for your main inbox)
    • category:social (for social media updates)
    • category:promotions (for marketing and deals)
    • category:updates (for order confirmations, bills, etc.)
    • category:forums (for group conversations or mailing lists)

    6. Can I search for specific star icon colors or markers?

    Yes! Gmail supports searching for different star colors and markers with special keywords:

    • has:yellow-star
    • has:blue-info
    • has:red-star
    • has:green-check

     …and more. Just type the specific star marker in the search bar.

    7. Can I search chats using Gmail operators?

    Yes, you can! Use the is:chat or in:chats operator to include Hangouts/Google Chat messages in your results.

    Start using Hiver today

    • Collaborate with ease
    • Manage high email volume
    • Leverage AI for stellar service
    B2B Saas content marketer helping her readers make an informed decision. Her expertise lies in creating research-backed and valuable content for CX pros and customer service teams to provide exceptional support. When she’s not working, you can find her playing Injustice, watching a movie, or going for a run.

    Finally, a customer service platform you can set up in 15 minutes

    10,000+ teams found a better way to
    deliver customer service. Your turn.

    Get unlimited users on the Free plan  ✦  No credit card needed

    based on 2,000+ reviews from

    Get Hiver's Chrome extension for Gmail to start your 7-day free trial!

    Step 1

    Add Hiver’s extension to your Gmail from the Chrome Webstore

    Step 2

    Log in to the extension to grant necessary permissions

    Step 3

    Enjoy your 7-day free trial of Hiver

    The modern AI-powered
    customer service platform

    Not ready to install Hiver’s Gmail extension?

    That’s okay. Would you be open to try Hiver’s standalone web-based customer 

    service platform, which does not require downloading the Gmail extension?

    Thank you for your interest!

    The web app is currently under development—we’ll notify you as soon as it’s live.

    In the meantime, you can get started with your 7-day free trial by downloading our Gmail extension.

    The modern AI-powered
    customer service platform

    Book your slot

    Awesome! We've reserved your spot.

    You’ll receive an email shortly with the details. Don’t forget to add to your calendar!

    “Our clients choose us over competitors due to our speed and quality of communication. We couldn’t achieve this without Hiver”

    Fin Brown

    Project Manager

    Getitmade@2x

    Get in touch with us

    Fill out the form and we’ll get back to you.

    demo popup graphic

    Get a personalized demo

    Connect with our customer champion to explore how teams like you leverage Hiver to: