Gmail Search Operators Cheatsheet (40+ Filters, Copy-Paste Ready)

The complete Gmail search operator reference: find large attachments, old emails, unread threads, and anything else in seconds. 40+ copy-paste filters for 2026.

May 19, 2026·Updated May 19, 2026·7 min read·By Leandro Zubrezki

TL;DR: Gmail has 40+ search operators that turn a 30-minute hunt into a 5-second filter. The most useful: larger:10M (find big emails), older_than:1y (find ancient threads), has:attachment filename:pdf (find PDFs specifically), from:domain.com (everything from a company), and is:unread category:promotions (clean out promo backlog). Paste them straight into Gmail's search bar.


If you've ever scrolled looking for an email from 2022, or tried to manually find every PDF over 10 MB, you've been doing it the hard way. Gmail's search bar is one of the most powerful tools Google ships, and almost nobody uses it past from: and to:.

This cheatsheet covers every operator that's still actively useful in 2026, organized by what you're trying to do. Every example is copy-paste ready — drop them straight into Gmail's search bar.

Size operators — find what's eating your storage

These are the operators most people Google for first when their inbox fills up.

OperatorWhat it findsExample
larger:10MAny email over 10 MBlarger:10M
larger:5MAny email over 5 MBlarger:5M
size:10485760Exact byte threshold (10 MB)size:10485760
smaller:1MTiny emails (often confirmations)smaller:1M
has:attachmentAnything with a file attachedhas:attachment
has:attachment larger:10MBig attachments specificallyhas:attachment larger:10M
filename:pdfPDFs by namefilename:pdf
filename:pdf larger:10mbPDFs over 10 MBfilename:pdf larger:10mb
filename:mp4Video filesfilename:mp4
filename:zip OR filename:rarArchivesfilename:zip OR filename:rar

Note: larger:10M and larger:10mb both work. Gmail accepts M, MB, K, and KB interchangeably.

Date operators — find old (or recent) threads

Use these when you're hunting for something from a specific window, or cleaning out the archaeology.

OperatorWhat it findsExample
older_than:1yEmails older than 1 yearolder_than:1y
older_than:6mOlder than 6 monthsolder_than:6m has:attachment
older_than:90dOlder than 90 daysolder_than:90d is:unread
newer_than:7dFrom the last 7 daysnewer_than:7d from:boss@company.com
before:2024/01/01Before a specific datebefore:2024/01/01 has:attachment
after:2026/01/01After a specific dateafter:2026/01/01 from:hr@

Sender, recipient, and routing operators

Anything involving people, addresses, or labels.

OperatorWhat it findsExample
from:name@domain.comEmails from a specific addressfrom:billing@stripe.com
from:domain.comAnyone @ a domainfrom:linkedin.com
to:name@domain.comEmails sent to someoneto:client@acme.com
cc: / bcc:Where you were CC'd / BCC'dcc:legal@company.com
list:Mailing list emailslist:newsletter@substack.com
in:sentThings you sentin:sent has:attachment larger:10M
in:inboxInbox onlyin:inbox is:unread
in:anywhereIncluding spam and trashin:anywhere subject:"refund"
label:workAnything with a specific labellabel:work older_than:6m
has:userlabelsEmails with any custom labelhas:userlabels in:inbox
has:nouserlabelsUnlabeled emailshas:nouserlabels older_than:30d

Content and subject operators

For finding the actual words in the email.

OperatorWhat it findsExample
subject:invoiceWord in the subject linesubject:invoice from:stripe.com
subject:"exact phrase"Exact phrase in subjectsubject:"flight confirmation"
"exact phrase"Exact phrase anywhere in body"signed lease agreement"
+receiptForce-include a word (no synonyms)+receipt 2025
-spamExclude a wordfrom:slack.com -channel
OREither matchfrom:stripe.com OR from:paypal.com
ANDBoth match (implicit by default)from:hr@ AND subject:offer
()Group operators(from:slack.com OR from:notion.com) older_than:30d

State operators — read, unread, starred, snoozed

Bulk-cleaning by message state is one of the highest-leverage uses of operators.

OperatorWhat it findsExample
is:unreadAnything you haven't readis:unread category:promotions
is:readAlready readis:read older_than:30d category:promotions
is:starredStarred emailsis:starred from:contractor@
is:importantGmail-marked importantis:important newer_than:7d
is:snoozedSnoozed threadsis:snoozed
is:mutedMuted threadsis:muted
category:promotionsPromotions tabcategory:promotions is:unread
category:updatesNotifications/updates tabcategory:updates older_than:7d
category:socialSocial notificationscategory:social older_than:14d
category:forumsForum digestscategory:forums older_than:30d

Bulk cleanup recipes (copy-paste)

The real power of operators is combining them. Here are the recipes that save the most time:

Delete every unread promo

is:unread category:promotions

Run, select all, hit delete. Reclaims gigabytes for most inboxes.

Find big files you sent (often forgotten)

in:sent has:attachment larger:10M

You probably uploaded that 80 MB video to a client twice. Find both.

Clean out year-old social notifications

category:social older_than:1y

Twitter, LinkedIn, Facebook digests from 2024 add up.

Unread newsletters older than a month — give up gracefully

is:unread list:* older_than:30d

If you haven't read it in 30 days, you weren't going to.

Find every receipt from one vendor in 2025

from:stripe.com after:2025/01/01 before:2026/01/01 subject:receipt

Tax season made easy.

Hunt for a specific PDF you can't find

filename:contract.pdf

Gmail searches inside attachment names. Most people forget this.

Operators that quietly stopped working

A few classic operators are deprecated or unreliable in 2026:

  • has:chat — Chat history moved to Google Chat; this rarely matches anything in modern Gmail.
  • has:voicemail — Google Voice transcripts integration was deprecated.
  • is:chat — Same as has:chat. Not useful.

If a Stack Overflow answer from 2014 tells you to use one of these and nothing matches, that's why.

Pairing operators with AI for less email overall

Search operators help you triage and clean. They don't help you write the responses faster. That's where an AI email tool earns its keep — once your inbox is breathing, the next bottleneck is composing replies.

Aeralis writes drafts directly inside Gmail, learns your style from the threads you open, and stays scoped to the current message — no inbox scraping. If you're cleaning up storage and drowning in unread, the two together are the real fix. See pricing (free plan, no credit card).


Frequently asked questions

What is the largest file size Gmail will let me search?

larger: accepts any value. Practical caps exist on Gmail's 25 MB send limit, but you can search for larger:50M to find legacy threads or imported emails over the limit.

Does older_than: count by message date or thread date?

By the date of the message, not the thread. A 2-year-old thread with a recent reply will not match older_than:1y.

Can I use search operators on the Gmail mobile app?

Yes. The same operators work in the mobile app's search bar, exactly as on desktop. The only difference is you'll see fewer results per page.

Do search operators work for Google Workspace business accounts?

Yes. All consumer Gmail operators work in Google Workspace too. Workspace adds a few admin-only operators (like app:) but everything in this cheatsheet works for both.

How do I save a search as a filter?

After running any search, click the small arrow inside the search bar → "Create filter." Gmail uses the same operator syntax for filters, so anything you can search, you can auto-route.


#gmail#search#productivity#tips#google-workspace

About the Author

Leandro Zubrezki

Leandro Zubrezki

Founder & Developer

Founder of Aeralis with expertise in AI/ML engineering, Google Workspace APIs, and productivity tools. Building AI-powered solutions to help professionals save time on email.

AI/ML EngineeringGoogle Workspace APIsEmail AutomationProductivity Tools

Related Articles