Choose the details you remember
Enter a sender or recipient, a subject word, an exact phrase, dates, a mailbox location, a status, an attachment type, or a size. Empty fields are ignored, so partial memories are useful.
Build an advanced Gmail search from ordinary choices instead of memorizing operators. Add the details you know, review the generated query, then copy it or open the search in Gmail.
Choose any combination of filters. The query preview and plain-English explanation update locally as you type.
A Gmail search query is a short set of operators and words that tells Gmail which messages to show. This builder turns common tasks—finding one sender, narrowing a date range, locating an attachment, or checking an archive—into the syntax Gmail understands.
Start with one dependable clue and add another only when the result is too broad. The query stays visible, so you can check every condition before copying it. No Gmail account access, message upload, or server-side mailbox processing is required.
Enter a sender or recipient, a subject word, an exact phrase, dates, a mailbox location, a status, an attachment type, or a size. Empty fields are ignored, so partial memories are useful.
The preview combines compatible filters in a stable order and explains each fragment in plain English. Reversed dates, non-positive ages, and impossible size ranges are shown as errors before you search.
Copy the finished text into any Gmail search box, or open a prefilled Gmail search in a new tab. The builder only creates text; Gmail remains responsible for matching messages and carrying out actions.
Select a starting point below, then replace the sample address, words, or dates with details from your own mailbox.
The most useful first condition is the one least likely to be wrong. An actual email address is usually more precise than a display name. A distinctive subject word or quoted phrase can work well when you remember the wording. For a time-based task, begin with a generous fixed range or a rolling operator such as older_than:1y, then tighten it after you see the result.
Location and status are separate decisions. Choose in:archive when you are looking for mail removed from the Inbox, is:unread when you need messages that still need attention, and in:anywhere only when Spam or Trash could explain a missing message. A broad location should be paired with a sender, phrase, or date so the result remains reviewable.
Separate conditions normally behave like an AND search: from:[email protected] has:attachment asks Gmail for messages satisfying both conditions. Use subject: when a word must appear in the subject, quotation marks when a phrase should stay together, and a leading minus sign when you want to exclude a term. The builder keeps these choices visible instead of hiding them in a long command.
Dates deserve a quick boundary check. after: and before: use the YYYY/MM/DD format, and before: is an exclusive upper boundary in common Gmail searches. Relative filters move as time passes. If a query returns nothing, remove the least certain condition, widen the date window, or test the simple sender or phrase first.
Use sender and recipient addresses, subject text, included words, an exact phrase, and comma-separated exclusions. Blank fields remain outside the query, so you can work with incomplete information.
Combine a fixed date range or rolling message age with read status, mailbox location, Gmail category, attachment presence, filename, and complete-message size limits.
The result is standard query text for Gmail’s search box. InboxQuery also describes each fragment, flags conflicting boundaries, offers one-click copying, and creates a direct Gmail search link.
Begin with the condition you know is true. That may be a sender address, a broad date window, an attachment type, or a mailbox location. Run that simple query first. When the result contains the target but is too large, add one more condition. This incremental method is easier to debug than starting with a long query made from several uncertain memories.
If a query returns nothing, remove the condition you trust least. Display names can hide a different sender address, subject wording may not be exact, categories can be assigned unexpectedly, and date boundaries can exclude messages near midnight. Switching to in:anywhere is useful when Spam or Trash may contain the message, but it does not search another account or restore permanently deleted mail.
The builder handles empty, valid, and invalid states without contacting Gmail. A blank form shows a clear empty result. A valid combination enables copy and search actions. Reversed date boundaries, non-positive age values, and an impossible size band display an error and disable the actions until the input is corrected. Gmail—not InboxQuery—decides which existing messages match the finished query.
Copying the query is useful when you want to inspect or edit it in Gmail before searching. The direct link is faster when the generated text already matches your intent. Both actions use the same visible query, and neither grants InboxQuery permission to your account. Rolling age filters change over time, while fixed dates continue to describe the same period.
Use the generated text as a review step, especially before selecting many Gmail conversations. Confirm the account, sender, date boundary, location, and expected message type in the result list. If the query is reused by a team, save a short note about its purpose and whether the dates are fixed or rolling. InboxQuery creates the search text locally; it does not perform mailbox actions or retain the values you type.
It is a combination of words and operators such as from:, after:, is:unread, in:archive, or filename: that narrows Gmail results. This builder creates the text without accessing your account.
No. The form is processed in your browser. InboxQuery does not request Gmail login, read messages, upload attachments, or send the generated query to a server.
Yes. Enter a sender and a fixed or relative date filter. A result such as from:[email protected] after:2026/01/01 combines both conditions.
Check the error beside the result. Common causes are a Before date that is not later than After, an age of zero, or a smaller-than size that is not greater than the larger-than value.
No. It only creates and explains a query. Review the result inside Gmail before choosing actions such as archive, delete, mark as read, or apply a label.
Operator syntax is based on Google’s official Gmail search documentation. InboxQuery is independent and does not access your account.