Choose your filters
Add only what you know: a sender, a date range, unread status, an attachment type, a mailbox location, or message size. Blank fields are ignored, so you never need to complete the entire form.
Create advanced Gmail searches without memorizing operators. Choose who, when, where, size, status, and attachments—then copy the query or open it in Gmail.
from:billing@example.com has:attachment filename:pdf older_than:1yFind old PDF attachments from a specific sender in one search.
Select any combination of filters. Your valid Gmail search query and a plain-English explanation update instantly.
The builder translates ordinary choices into operators Gmail already understands.
Add only what you know: a sender, a date range, unread status, an attachment type, a mailbox location, or message size. Blank fields are ignored, so you never need to complete the entire form.
The generated query updates immediately. A plain-English explanation shows what each operator does, while validation catches reversed dates and impossible size ranges before you search.
Copy the query into Gmail on any device, or use the Gmail button to open a search. You stay in control: InboxQuery does not ask for account access or store the values you enter.
Gmail’s search box is much more capable than a basic keyword field. The challenge is remembering the exact syntax. InboxQuery combines operators in the correct order so you can focus on the message you are trying to locate.
For example, select Archive and Unread to generate in:archive is:unread. Add a sender and a one-year age filter to narrow that search further. To find storage-heavy files, combine has:attachment, a filename such as pdf, and a larger-than value. Every filter remains visible and editable.
Search by sender with from:, recipient with to:, or words in the subject line with subject:. Multiple senders are grouped as alternatives instead of accidentally requiring one message to come from several people.
Create an exact window with after: and before:, or use relative filters such as older_than:6m. Gmail’s before date is an exclusive boundary, an important detail when searching a single day.
Find unread, starred, read, or important mail. Search Archive, Sent, Drafts, Spam, Trash, or use in:anywhere when a message seems missing from normal results.
Require an attachment, search a filename or extension, and set larger-than or smaller-than thresholds. Gmail evaluates size against the complete encoded message, not only the visible attachment.
Include ordinary terms, keep a phrase together with quotation marks, and exclude unwanted terms with a minus sign. These filters are useful for separating final documents from drafts or cancelled requests.
Limit results to Primary, Promotions, Social, Updates, or Forums. Categories depend on how Gmail classified a message, so a category filter can be removed when a known email does not appear.
Start with the smallest query that could work, check the result, and then add one filter at a time. This makes it easier to identify a condition that is too strict.
InboxQuery is a client-side query composer. It turns the options you select into text supported by Gmail’s search box. Form values are processed in your browser. The site does not request OAuth permission, connect to Gmail, read message content, inspect contacts, or send your search terms to an InboxQuery server.
The result still depends on Gmail’s index and classification. A message may be absent because it is in Spam or Trash, because its sender address differs from the visible display name, or because a date boundary excludes it. Gmail can also interpret punctuation and word variants differently from a conventional database. When results are too narrow, remove the most uncertain filter first.
InboxQuery is an independent utility and is not affiliated with or endorsed by Google. Operator behavior can change. Consult Google’s official Gmail search documentation for the authoritative operator list.
For repeat searches, keep the generated query in a trusted notes app and label what it is intended to find. Fixed dates preserve a historical window, while relative age filters continue moving with the calendar. Recheck saved queries before a bulk Gmail action because labels, categories, sender addresses, and retention needs can change over time.
A Gmail search query is the text entered in Gmail’s search box. It can contain ordinary words plus operators such as from:, after:, is:unread, has:attachment, and larger: to narrow the results.
No. InboxQuery creates query text locally in your browser. It does not request a Google login, OAuth permission, mailbox access, or message data.
Yes. Gmail accepts multiple operators in one search and normally treats them as AND conditions. The builder combines sender, date, status, location, words, attachments, and size filters.
One condition may be too narrow. Remove uncertain filters one at a time, verify the sender’s actual address, expand the date window, or use in:anywhere to include Spam and Trash.
Yes. Copy the generated query and paste it into the search box in Gmail for Android or iPhone. Some account-specific behavior can differ, but the core operators are the same.
No. InboxQuery is an independent search-query utility and is not affiliated with or endorsed by Google. Gmail is a trademark of Google LLC.