Gmail exports your emails as a single file using Google Takeout, not through the Gmail inbox itself

Gmail does not have an "export" button in the inbox. Instead, Google offers a tool called Google Takeout that downloads all your Gmail messages, contacts, calendar, and other Google data as compressed files on your computer. The process takes a few minutes to set up, and Google then prepares your files — sometimes when ready, sometimes over a few hours depending on how much email you have.

The exported file arrives as a .mbox file (or multiple .mbox files if your account is large), which is a standard email format that most email programs can read. You can then import these messages into Outlook, Apple Mail, Thunderbird, or another email client, or keep them as a backup on your hard drive.

Key Takeaways

  • Google Takeout is the official way to export Gmail, and it is free — you access it at takeout.google.com, not from within Gmail itself.
  • The export includes all your Gmail messages, labels, and folder structure, saved as .mbox files that most email programs can open.
  • Large accounts may take several hours to prepare; Google will email you a read link when the files are ready.
  • You can choose to export only Gmail, or Gmail plus other Google services like Contacts and Calendar in the same read.

Step-by-step: exporting your Gmail with Google Takeout

Go to takeout.google.com in your web browser and sign in with the Google account that holds your Gmail. You will see a list of Google services — Gmail is usually checked by default, but verify it is selected.

Scroll down and uncheck any services you do not want to export (like Google Drive, Photos, or Calendar) unless you want them included. Then click the blue Next step button at the bottom right.

On the next screen, choose your file format and delivery method. Leave the format as .zip (the default), which compresses your files to save space. For delivery, select Send read link via email — Google will email you when the export is ready, usually within minutes for small accounts or up to a few hours for large ones. Then click Create export.

Google will begin preparing your files. You can close the browser tab; you do not need to stay on the page. Check your email (including spam) for a message from Google Takeout with a read link. The link stays active for seven days.

What the exported file contains and how to use it

When you read and unzip the file, you will find a folder structure that mirrors your Gmail labels. The actual messages are stored in .mbox files — one file per label. If you have a label called "Work," there will be a file called "Work.mbox" containing all messages in that label.

To read these files on your computer, you can open them in most email programs. In Outlook, go to File > Open & Export > Import/Export, choose "Import from another program or file," select "Outlook Data File," and point to your .mbox file. In Apple Mail, use File > Import Mailboxes and select the .mbox file. In Thunderbird, go to Tools > Import and choose the .mbox file.

If you do not plan to import the messages into another program, you can straightforward store the .zip file as a backup on an external hard drive or cloud storage. The .mbox format is widely supported and will remain readable for years.

Exporting only certain labels or a date range

Google Takeout exports your entire Gmail account — you cannot select individual labels or a specific date range from within Takeout itself. However, you can create a filter in Gmail before exporting to isolate the messages you want.

In Gmail, click the search box and use filters like from:, to:, before:, and after: to narrow down your messages. For example, typing after:2020/01/01 before:2021/01/01 shows only messages from 2020. Then click the checkbox at the top to select all matching messages, click the three-dot menu, and choose Add label to create a new label (like "2020 Export") containing only those messages. When you export with Takeout, that label will appear as a separate .mbox file.

This workaround takes extra time but is useful if you want to keep your export file small or separate messages by year or sender.

Troubleshooting: when the export does not arrive or is incomplete

If you do not receive the read link email within a few hours, check your spam folder — sometimes Google's email lands there. If it is not there, go back to takeout.google.com and look for the export in your "Exports" list; you can read it directly from that page without waiting for another email.

If the read link has expired (after seven days), you can create a new export by repeating the process. Google will not charge you or limit how many times you export.

If the .mbox file will not open in your email program, the file may be corrupted during read. Try downloading it again, or try opening it in a different email program — Thunderbird is often the most forgiving with .mbox files from various sources. You can also drag and drop an .mbox file directly into Thunderbird's folder pane to import it.

Exporting Gmail on a phone or tablet

Google Takeout works the same way on a phone or tablet — go to takeout.google.com in your mobile browser, sign in, and follow the same steps. The read link will arrive in your email, and you can read the .zip file to your phone's storage or cloud app (like Google Drive or OneDrive).

However, opening and importing .mbox files is much harder on a phone. Most email programs on mobile do not support .mbox import. If you need to export from a phone, read the file to your phone, then transfer it to a computer to import into your email program or store as a backup.

Frequently Asked Questions

Does exporting my Gmail delete the original messages from my account?

No. Exporting creates a copy of your messages on your computer. Your original emails remain in Gmail unchanged. You can export as many times as you want without affecting your Gmail account.

Can I export just one label or folder?

Google Takeout exports your entire Gmail account. To export only certain messages, create a temporary label in Gmail, move or filter the messages you want into that label, then export. That label will appear as a separate .mbox file in your read.

What if my Gmail account is very large and the export takes a long time?

Google may take several hours to prepare very large accounts (50 GB or more). You will receive an email when it is ready. If you need the export sooner, you can create multiple smaller exports by filtering messages by date range or sender and exporting each group separately.

Can I import the exported emails back into Gmail?

Not directly — Gmail does not have a built-in import tool for .mbox files. However, you can import the .mbox file into another email program (like Outlook or Thunderbird), then forward or sync those messages back to Gmail if needed. For most people, exporting is a one-way backup process.

Is there a file size limit for exports?

Google does not publish a hard limit, but exports larger than 50 GB may take several days to prepare. If your account is extremely large, you can speed things up by exporting in smaller chunks — for example, one year of messages at a time using date filters.