PDFs hide everywhere in a busy inbox: invoices, tickets, contracts, payslips, bank statements, ebooks, and reports, all buried under months of ordinary mail. Scrolling and hunting for the little attachment icon is slow and unreliable. Fortunately, Gmail search was built for exactly this job, and with two or three operators you can list every email that carries a PDF in seconds.
This guide shows the basic search, then the refinements that make it genuinely useful: PDFs from one sender, PDFs within a date range, the largest PDFs eating your storage, and how to download, forward, or delete what you find once you have it in one clean list.
Quick Answer
In the Gmail search box, type has:attachment filename:pdf and press Enter. Gmail will list every message that has a PDF file attached. Add more operators to narrow it down, for example from: for one sender, after: and before: for a date range, or larger:5M to find only big files.
The Basic Search, Step by Step
- Open Gmail and click the search box at the top of the page.
- Type filename:pdf. On its own, this operator finds messages with PDF attachments, and many people find it is all they need.
- For a stricter result, type has:attachment filename:pdf. The has:attachment part guarantees the message carries a file, and filename:pdf limits it to PDFs.
- Press Enter. Browse the results; each message shows its attachment name beneath the preview, so you can spot the document you want quickly.
- Click a message to open it, then click the download arrow on the PDF thumbnail to save it, or the Drive icon to store it in Google Drive.
Google lists these operators on its official Gmail search operators reference page, alongside dozens of others you can combine freely in a single search.
Narrow the Results So the List Is Actually Useful
A plain PDF search on an old account can return thousands of messages. Refinements turn that flood into a short, relevant list.
PDFs From One Sender
Add the sender: has:attachment filename:pdf from:accounts@example.com. This is the fastest way to gather every invoice from a supplier, every statement from a bank, or every document from a colleague, without unrelated files in between.
PDFs in a Date Range
Use after:2025/01/01 before:2026/01/01 with your PDF search to cover a single tax year or project period. Date operators use the year, month, and day format shown here. For recent files only, newer_than:30d is quicker to type and shows the last thirty days.
The Biggest PDFs Using Your Storage
Add a size operator: has:attachment filename:pdf larger:10M finds PDF attachments bigger than ten megabytes. This is the search to run when your Google storage is nearly full. Large scanned documents and design files are often the hidden cause, and our guide to freeing up Gmail storage space safely walks through what to remove first once you have found them.
PDFs With a Word in the File Name
If you remember part of the document name, include it: filename:invoice pdf style searches work by adding the word, for example filename:pdf invoice also matches the word in subjects and message text. To search the file name more precisely, try filename:invoice.pdf, which looks for that name pattern directly.
PDFs You Have Not Read Yet
Combine with read status: has:attachment filename:pdf is:unread. This surfaces documents that arrived but were never opened, which is useful after a holiday, or when you suspect a statement or bill slipped past you unnoticed.
Use the Search Options Panel Instead of Typing
If you prefer forms to operators, Gmail has a built-in panel.
- Click the “Show search options” icon at the right end of the search box.
- Tick the “Has attachment” checkbox.
- In the main search box, still add filename:pdf, because the panel alone finds every attachment type, not just PDFs.
- Fill in the From field or the date fields in the panel if you want those limits too.
- Click Search and review the results.
The panel and typed operators do the same job and can be mixed. Many people use the panel for dates and senders, and typing for the file type, which gives a clean and accurate search with very little effort.
What to Do With the PDFs Once You Find Them
Finding the files is only half the task. Gmail gives you several clean ways to handle them in bulk or one by one.
- Download: Open the message and click the download arrow on the attachment. On a computer the file saves to your downloads folder.
- Save to Drive: Click the Google Drive icon on the attachment to store it in Drive without downloading. This is ideal for documents you want to keep but remove from email later, as explained in Google’s support guide to opening and downloading Gmail attachments.
- Forward several documents: There is no single button to detach files from many emails at once inside Gmail, so forward the most important messages individually, or save the PDFs to one Drive folder and share that folder instead. The folder approach is tidier for accountants and colleagues.
- Delete to free space: Select messages in the results, using “Select all conversations that match this search” for the full list, and delete them. Remember they occupy storage until Trash is emptied or 30 days pass.
- Print or preview: Clicking the attachment itself opens a preview where you can read, print, or download, without saving anything first.
Finding Other Attachment Types the Same Way
The same pattern works beyond PDFs, which makes this skill worth learning properly. Replace pdf with the file type you need: filename:docx for Word documents, filename:xlsx for spreadsheets, filename:jpg or filename:png for images, and filename:zip for compressed archives. The general operator has:attachment on its own lists every message carrying any file at all, which is a good starting point when you cannot remember the format.
You can also combine two types with OR, for example has:attachment (filename:pdf OR filename:docx), to gather documents of both kinds in one list for a project or an audit.
Common Mistakes and Helpful Tips
- Searching only your inbox view: Search results cover the whole account by default, but if a label or category filter is stuck on, you may see a partial list. Clear other filters and search again.
- Forgetting that links are not attachments: A message sharing a Drive link contains no attached file, so it will not appear in has:attachment results. Search for the sender or subject instead.
- Using the wrong date format: Gmail expects dates like 2026/01/31. A reversed or ambiguous date quietly returns odd results.
- Expecting content search inside every PDF: Gmail indexes the text of many PDFs, so keyword searches often work, but scanned image-only PDFs have no readable text. Search by sender, date, or file name for those.
- Tip: Create a filter or a saved habit, not a saved search: Gmail does not save searches, so note your best operator combination somewhere you will find it at tax time.
- Tip: For a yearly document round-up, run one search per sender with a date range, save everything to a single Drive folder, then delete the emails with confidence.
Conclusion
With has:attachment filename:pdf, every PDF in your account is one search away. Add a sender, a date range, or a size limit and the list becomes precise enough to act on immediately, whether that means downloading an invoice, gathering statements for the year, or deleting the huge files behind a storage warning. Learn this one search pattern and the same skill unlocks Word files, spreadsheets, images, and archives across your whole inbox.
Frequently Asked Questions
Why does my PDF search show messages without visible attachments?
Sometimes the attachment sits inside a forwarded thread or a quoted part of the message, so it is not obvious in the preview. Open the message fully and scroll to the bottom to see it. In other cases, the PDF was inline in the original message rather than shown as a separate thumbnail.
Can I search for PDFs by words inside the document?
Often, yes. Gmail indexes the text of many PDF attachments, so adding a word such as an invoice number can find the right file. The exception is scanned PDFs made only of images, which contain no searchable text. For those, rely on the sender, date, and file name.
How do I download PDFs from many emails at once?
Gmail does not offer a single bulk-download button for attachments across different messages. The practical workaround is to open each message and download its file, or save each PDF to a Google Drive folder and then download the whole folder from Drive in one go.
Does filename:pdf find files with PDF in the subject too?
The filename: operator targets attachment names and types, which is what you want. If a message merely mentions PDF in the subject or body without an attachment, this search will not include it. Adding has:attachment makes the result strictly messages with real files attached.
Can I use this search in the Gmail phone app?
Yes. The same operators work in the app’s search box, including filename:pdf, from:, and size operators. Results can be opened and downloaded or saved to Drive from the phone, although reviewing very long lists is more comfortable on a computer.


Leave a Reply