Gmail subject search

Gmail Search by Subject: Find Emails with subject:

Search the subject line with subject:, then combine it with sender, date, mailbox, category, attachment, and filename filters. The builder keeps the query visible before you open Gmail.

Interactive Gmail search builder

Build a Gmail subject search

Start with a subject term, check the generated subject: operator, and add one reliable filter at a time when the result set is too broad.

Private · runs in your browser
Start with a recipe:
Current queryYour query will appear here
People and subject
Words to include or exclude
Date and age
Mailbox location and status
Attachments and size
Results update as you type.
Direct answer

How to search Gmail by subject

Use subject: followed by a word or phrase to focus Gmail on the subject field. The starter query subject:invoice looks for messages whose subject contains the term; it is not a full subject-line equality test.

Add other conditions with spaces, such as from:[email protected] subject:invoice or subject:"quarterly report" has:attachment. Review the generated text before opening Gmail so you can see exactly which filters are active.

Step by step

Create a Gmail subject search step by step

1

Enter a subject clue

Type a distinctive word such as invoice, receipt, or renewal in the Subject field. Use a short phrase when the wording is stable.

2

Add one reliable condition

Narrow the query with an actual sender address, a date range, unread status, a mailbox location, or an attachment filter. Add conditions one at a time.

3

Check and search

Read the generated subject: query and its explanation, correct any warning, then copy it or open the visible search in Gmail.

Working examples

Gmail search by subject examples

Replace the sample terms and addresses with your own. Click an example to copy its query text.

What subject: matches in Gmail

The subject: operator tells Gmail where the clue should be evaluated. It is useful when a common word appears in many message bodies but is meaningful in the subject line. A normal unqualified word has broader search behavior, so use subject: when the field matters.

For a phrase, keep the phrase in quotation marks after the operator, for example subject:"quarterly report". If several subject clues are acceptable, test a grouped query such as {subject:invoice subject:receipt} in Gmail and confirm the result set matches your intent.

Subject contains, starts with, and wildcard expectations

A request such as Gmail filter subject starts with does not map to a separate starts-with control in this builder. Begin with a distinctive subject word or phrase, then inspect results rather than treating the query like a SQL prefix search.

Do not assume that an asterisk creates a general subject wildcard. If subject:invoice* produces unexpected results, remove the wildcard, use a stable word or quoted phrase, and add sender or date context. When a message seems missing, try in:anywhere and check conversation matches.

Inputs and output

What this Gmail search tool supports

Search inputs

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.

Mailbox filters

Combine a fixed date range or rolling message age with read status, mailbox location, Gmail category, attachment presence, filename, and complete-message size limits.

Readable output

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.

Reliable workflow

How to refine a Gmail search without losing the target

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.

Limits and troubleshooting

Gmail subject-search limits

Practical note

Review subject matches before acting

A subject query is a useful first pass for invoices, receipts, renewals, alerts, and support threads, but a familiar subject can still match unrelated messages. Open representative results and confirm the account, sender, date, thread, and attachment before marking, archiving, moving, or deleting mail in bulk. Save the final query with a short description if you will reuse it.

Related tools

Continue refining your Gmail search

FAQ

Gmail search by subject FAQ

What is the Gmail subject search operator?

Use subject:, followed by a word or phrase. For example, subject:invoice focuses the search on the subject field.

How do I search Gmail for an exact subject phrase?

Use quotation marks around the phrase after subject:, such as subject:"quarterly report". This focuses the query on that phrase, but it is not a guarantee of full subject-line equality.

Can I search Gmail by sender and subject together?

Yes. Put both conditions in one query, for example from:[email protected] subject:invoice. Separate conditions normally narrow the results together.

How do I search for a subject that starts with a word?

Gmail does not provide a separate starts-with field in this builder. Try the distinctive word with subject:, review the results, and add sender or date context if needed.

Does Gmail support a wildcard in subject search?

Do not assume that * behaves like a general wildcard for subject text. Prefer a stable word or quoted phrase, then verify the actual Gmail results.

Does subject: search the email body too?

subject: is intended to focus the condition on the subject field. Use a separate unqualified word or phrase when you also want broader message-content matching.

Operator syntax is based on Google’s official Gmail search documentation. InboxQuery is independent and does not access your account.

Query copied to clipboard