Free tools · Search and save time

Gmail search builder

Build a Gmail search with from:, has:attachment, older_than: and more.

Your search

Fill in a field above

Every Gmail search operator

OperatorFindsExample
from:Senderfrom:amy@example.com
to:Recipientto:me
cc: / bcc:Copied recipientcc:john@example.com
subject:Words in the subjectsubject:dinner
"…"Exact phrase"dinner and movie"
OR or { }Either termfrom:amy OR from:david
ANDBoth termsfrom:amy AND to:david
-Leave out a worddinner -movie
AROUNDWords near each otherholiday AROUND 10 vacation
label:Has a labellabel:friends
category:In an inbox categorycategory:promotions
has:attachmentHas an attachmenthas:attachment
has:drive / has:document / has:spreadsheet / has:presentationHas a Google Drive filehas:document
has:youtubeHas a YouTube videohas:youtube
filename:Attachment name or typefilename:pdf
list:From a mailing listlist:info@example.com
after: / before:Sent after or before a dateafter:2026/04/16
older_than: / newer_than:Older or newer than a span (d, m, y)newer_than:2d
is:important / is:starred / is:unread / is:read / is:snoozedBy statusis:unread
has:yellow-star and other starsBy starhas:purple-star
in:anywhereEverywhere, Spam and Trash tooin:anywhere movie
is:mutedMuted conversationsis:muted
size: / larger: / smaller:By size in bytes, or with K and Mlarger:10M
+Match a word exactly+unicorn
rfc822msgid:By Message-ID headerrfc822msgid:200503292@example.com
deliveredto:By Delivered-To addressdeliveredto:username@example.com
has:userlabels / has:nouserlabelsWith or without your labelshas:nouserlabels

Paste the search into Gmail in any browser. In Bloop.email for Windows, search every account at once instead, with words like today, this week or unread.