01Search words worth knowing
has:attachmentshows only emails that carry a file.filename:pdf,filename:xlsx,filename:jpgfind one file type;filename:invoicefinds a word in the file name.larger:10Morsmaller:1Mfilter by the size of the email, attachments included.from:,to:,subject:andlabel:narrow it to one sender, one recipient, one subject or one label.after:2025/01/01,before:2025/07/01,older_than:1yandnewer_than:30dlimit the dates.in:anywherealso looks in Spam and Trash;-excludes a word, for example-filename:ics.
02How to search attachments in Gmail and save the results
- Start with has:attachment. Type
has:attachmentin the Gmail search box so only emails with files are left. - Add what you know about the file. For example
has:attachment filename:pdf from:[email protected] after:2025/01/01. Press Enter and check the results look right. - Open the AttachHaul side panel. Click the AttachHaul icon in the Chrome toolbar. The panel has the same search words as tap-to-copy tips if you forget one.
- Choose Everything in this search. This covers every page of results, not only the 50 emails on screen. Under File types you can keep only PDFs, images, spreadsheets or documents.
- Press Download attachments. You get one ZIP with every matching file and a CSV list of what was saved.
03Combining search words
Words you put next to each other must all match: has:attachment from:bank filename:pdf means a PDF from the bank. Use OR (in capitals) or curly brackets for either one: filename:{pdf docx}. Put a minus in front to leave something out.
filename: matches the file extension or any part of the file name, so filename:2025 finds files with 2025 in their name. larger: measures the whole email, so an email with several small files can still count as large.
04Searching in Outlook on the web
Outlook uses different words, for example hasattachments:yes. AttachHaul saves the results there too: see download all attachments in Outlook on the web.
05FAQ
How do I see all attachments in Gmail?
Search has:attachment. Gmail lists every email that has a file, newest first. To keep the files themselves, AttachHaul saves the attachments of the whole result list in one go.
Can Gmail search inside the attachment, for example text in a PDF?
Gmail can match words inside some attached documents, but not reliably. Searching by filename:, sender and date is more predictable.
Why does my search miss some emails?
Gmail search skips Spam and Trash unless you add in:anywhere. Large files sent as Google Drive links are not attachments, so has:attachment does not find them; try has:drive.
Is AttachHaul free?
Free for up to 10 conversations per run; bigger runs need a plan: US$2 a month or US$19.99 a year. Every feature is in the free version, and your first bigger run on each browser is free too.