Updated 27 November 2026
Gmail makes it easy to download the files in one email, but it has no button to download all attachments from multiple emails. If you need every invoice from last year, or every PDF a client ever sent you, you need a different route. Below: how to find the right emails first, then five ways to bulk download Gmail attachments, with what each one really gives you.
Free plan, no card · Never sends or deletes email · Only attachments are saved
On a computer, open the email, hover over an attachment at the bottom and click the Download icon; your browser saves it to its downloads folder. Next to it you'll see Add to Drive if you'd rather keep the file in Google Drive. When an email has several attachments, Gmail on the web usually also shows a download-all icon above the attachments that saves them together as a single .zip file. Google's help page only documents the per-file download, so the exact icon and wording may vary.
Two limits from Google's own help: some attachments can't be added to Drive, and if the sender used confidential mode you can't download the attachments at all.
Gmail has no "select 200 emails and download their attachments" action. The closest built-in trick is Forward as attachment: select several emails with their checkboxes, open More and choose Forward as attachment. Google says you can attach as many emails as you want, but each one becomes an .eml file, so you get whole messages, not the PDFs inside them. Fine for sending a set of emails to your accountant; not a way to collect the files.
Whatever you use next, start with a Gmail search that returns exactly the emails whose attachments you want. These operators come from Google's Gmail search help:
| Operator | What it finds | Example |
|---|---|---|
has:attachment | Emails with an attachment | has:attachment |
filename: | Attachments with a name or file type | filename:pdf, filename:invoice |
larger: / smaller: | Emails above or below a size | larger:10M |
older_than: / newer_than: | Emails older or newer than a period (d, m, y) | older_than:1y |
after: / before: | Emails received in a date range | after:2025/01/01 before:2026/01/01 |
label: | Emails under one of your labels | label:clients |
from: | A specific sender | from:billing@example.com |
For example, all PDF invoices from one supplier received in 2025:
from:billing@example.com has:attachment filename:pdf after:2025/01/01 before:2026/01/01
Or the heavy attachments eating your storage: has:attachment larger:10M older_than:1y. If you don't want to memorise operators, our free Gmail search builder for invoices and attachments writes the query for you. Once the search looks right, you can also turn it into a label with Create filter, which makes the next steps (Takeout by label, or a script by label) much easier.
Run your search, open each email and download its files (or the zip, if there are several). It's free and needs no permissions, and for ten or twenty emails it's honestly the fastest option. For hundreds of emails it becomes an afternoon of clicking, and the files land in your downloads folder with whatever names the senders gave them.
Google Takeout is Google's official tool to export your data. For Gmail it's the only built-in way to get a lot of mail out at once:
Deselect all products, then tick Mail. Use the "All Mail data included" option to export only specific labels instead of the whole mailbox (another reason to label emails first).
Takeout can email you a download link or put the archive in Google Drive, Dropbox, OneDrive or Box. Pick .zip or .tgz and a maximum archive size; larger exports are split into several archives.
Google says archives expire in about 7 days and each one can be downloaded up to 5 times.
The catch: Gmail arrives in MBOX format, a mailbox file where every message, attachments included, is stored inside one large text file. You don't get a folder of PDFs. To pull the files out you need software that reads MBOX and extracts attachments, for example a desktop email client that can import MBOX files, or a dedicated MBOX converter. Our free EML & MBOX viewer opens the file in your browser, with no upload, and saves the attachments as a ZIP; it handles exports of a few hundred megabytes, so limit the Takeout export to the labels you need. Takeout is a good backup; as a way to "export all Gmail attachments" as usable files, it's only half the job.
Apps Script can search your Gmail with the same query you built above and save each attachment as a separate file in a Google Drive folder. Our free Gmail attachments to Google Drive Apps Script page has a ready-made, commented script: paste it into a new project at script.google.com, set your search or label and the destination folder, and run it.
Know the limits before you start. Google's Apps Script quotas include 6 minutes per execution and a total trigger runtime of 90 minutes per day on consumer accounts (6 hours on Google Workspace). Google's reference also warns that a single unpaged Gmail search can fail when the results are too large, so scripts should process mail in batches. In practice, a big backlog takes several runs or a time-driven trigger, and handling duplicates, errors and file naming is up to you.
The Chrome Web Store and Google Workspace Marketplace list many tools that promise to download all attachments from multiple emails, often as a single zip. Some work well; quality and pricing vary, and they change often. One thing is always true: to download attachments in bulk, the tool needs access to read your mailbox, usually all of it. Before installing, check:
We compare this route with other options in Gmail add-ons to save attachments: alternatives.
If the reason you want to bulk download Gmail attachments is to have them organised somewhere, Inbox2Drive skips the download step. You connect Gmail (or Outlook / Microsoft 365, or any IMAP mailbox), and it:
Google Drive/Inbox2Drive/ ├── Invoices/ │ ├── 2025/ │ └── 2026/ ├── Contracts/ └── Receipts/
What it doesn't do: it only saves attachments. It never sends or deletes your emails. If you also want to free up Gmail space afterwards, that's your decision; see Gmail storage full: move your attachments out. There is a free plan with no card required.
| Method | Bulk across many emails | Attachments as separate files | Ongoing (new emails) | Effort |
|---|---|---|---|---|
| Gmail download / zip per email | No, one email at a time | Yes | No | High for many emails |
| Forward as attachment | Yes | No, you get .eml messages | No | Low, but wrong output |
| Google Takeout | Yes, whole mailbox or by label | No, MBOX; extra software needed | No (one-off or scheduled export) | Medium |
| Google Apps Script | Yes, within quotas | Yes, in Google Drive | Yes, with a trigger you maintain | Medium to high, technical |
| Extensions / add-ons | Usually | Usually (often a zip) | Varies by tool | Low, but review permissions |
| Inbox2Drive | Yes, history import | Yes, sorted into folders | Yes, automatic | Low |
Rule of thumb: a handful of emails, do it by hand. A one-off archive, Takeout. A one-off batch into Drive and you're comfortable with code, Apps Script. If you want the backlog and every future attachment filed for you, use a service. For the wider picture across mail providers, see how to save email attachments to Google Drive, or browse our free tools.
Not with a built-in button. Gmail lets you download the attachments of one email at a time. To get attachments from many emails you need Google Takeout (which exports whole messages as MBOX, not separate files), a Google Apps Script, a third-party extension or add-on, or a service that saves attachments for you.
No. Takeout exports your mail in MBOX format, with attachments embedded inside the messages. You can limit the export to certain labels, but to get the files out you still need an email client or a tool that can read MBOX files and extract attachments.
Search for has:attachment. Narrow it with filename:pdf for a file type, larger:10M for big messages, older_than:1y or after:2025/01/01 for dates, and label: for a label. For example: has:attachment filename:pdf older_than:1y.
Yes. A Google Apps Script can search your Gmail and save attachments to a Google Drive folder for free. It runs under Google's quotas, including a 6-minute limit per execution, so a large backlog needs several runs. Google Takeout is also free but gives you MBOX files, not individual attachments.
It depends on the developer. To download attachments in bulk, an extension or add-on has to read your mailbox, so check the permissions it requests, the developer, the privacy policy and recent reviews in the Chrome Web Store or Google Workspace Marketplace before you install it.
No. Inbox2Drive connects to Gmail and only saves attachments. It never sends or deletes your emails. You decide separately whether to clean up your mailbox.
Questions about your setup? Email marketing@inbox2drive.com and we'll help you by email.
Checked on 26 November 2026 against Google's official help and developer documentation. Gmail menus, Takeout options and quotas change; follow the links for the current wording.
Connect Gmail on the free plan, pick Google Drive, OneDrive or Dropbox, and let every attachment, old and new, land in the right folder as a separate file.
Create a free accountFree plan, no card · Never sends or deletes email · Help by email at marketing@inbox2drive.com