HomeBlog › Gmail to MBOX

How to Export Gmail to MBOX (and When You Don't Need It)

Updated July 23, 2026 · 8 min read
Export formats
Export formats
Gmail Exporter Guide
Gmail exports to MBOX only through Google Takeout: request a Mail archive, wait for Google to build it, then download one large .mbox file containing full messages. If you only need sender, subject, date and contact details — not the raw message bodies — a local CSV export is faster, opens in Excel, and never leaves your device.

What MBOX actually is

MBOX is a decades-old plain-text format that stores an entire mailbox as a single file, with every message concatenated one after another. Desktop mail clients like Thunderbird, Apple Mail and older versions of Outlook can import it, which is why MBOX is the format Google hands you when you ask for a full mail archive. It preserves the complete message — headers, body, inline images and attachments — so nothing is lost.

That completeness is also MBOX's weakness. A single file can balloon to many gigabytes, it is not human-readable in any useful way, and you cannot open it in a spreadsheet to sort or filter. For a true archive that you may one day re-import into a mail client, MBOX is the right tool. For almost everything else — building a list, analysing who emails you, feeding a CRM — it is heavier than you need.

Route 1 — Export Gmail to MBOX with Google Takeout

Google Takeout is the only official way to produce an MBOX file from Gmail. The steps are simple but slow:

  1. Go to takeout.google.com and click Deselect all.
  2. Scroll to Mail and tick it. You can choose All Mail data or select specific labels.
  3. Choose a delivery method (download link by email is typical), a file type of .zip, and a size limit.
  4. Click Create export and wait. Google assembles the archive in the background — this can take minutes for a small account or many hours to days for a large one.
  5. When the email arrives, download the zip and unzip it to find your .mbox file.

Takeout works, but it has real friction: the wait is unpredictable, the download can be enormous, and — a detail that surprises many people — your Gmail labels do not survive as folders. If that matters to you, the reasons are worth understanding before you commit; see why labels go missing in Takeout. For a broader look at the trade-offs, read our Gmail export vs Google Takeout comparison.

How to open an MBOX file once you have it

An MBOX file is not double-click friendly. To read it you import it into a mail client — Thunderbird with the ImportExportTools NG add-on is the most common free route — or you use a dedicated MBOX viewer. We walk through the options in detail in how to open an MBOX file. The short version: pick Thunderbird if you want your mail back in a familiar inbox, or a viewer if you just need to read and search a handful of messages.

Because the format is all-or-nothing, extracting a single sender's messages or a date range from an MBOX after the fact means loading the whole thing first. That is another reason to think about what you actually need before you export.

Route 2 — When a local CSV beats MBOX

Most people who search for "export Gmail to MBOX" do not need the raw message bodies at all. They want structured information: who sent what, when, and how to reach those people. For that job, a CSV is dramatically better. A local exporter reads the messages in your browser and produces one tidy row per email with columns for sender, name, email address, subject and date — a file you can open in Excel or Google Sheets immediately.

The export Gmail to CSV flow takes seconds rather than hours, produces a file measured in kilobytes rather than gigabytes, and — crucially — never uploads your mailbox anywhere. Everything is processed on your device. If you specifically need spreadsheet formulas and pivot tables, export straight to Excel; if you want structured data for a script or app, export to JSON instead.

Skip the Takeout wait

Export Gmail to a clean CSV in one click — sender, name, email, subject and date. Local, private and free.

Add to Chrome — It's Free

MBOX vs CSV at a glance

GoalBest formatWhy
Re-import full mail into another clientMBOX (Takeout)Preserves bodies, headers, attachments
Build a contact or mailing listCSVOne row per sender, opens in Sheets
Analyse who emails you and how oftenCSVSortable, filterable, pivot-ready
Feed a CRM or spreadsheetCSV / JSONStructured columns map cleanly
Keep everything, forever, offlineMBOXComplete archive in one file

The honest answer to "how do I export Gmail to MBOX?" is often "you probably don't need to." Match the format to the outcome and you save yourself the wait and the disk space.

Exporting only the mail you need

Whichever route you take, exporting a targeted subset beats dumping the entire mailbox. In Gmail, search first — by sender, label, date or keyword — then export the results. The search-then-export approach keeps the output small and relevant, and the date-range export is ideal for grabbing a single quarter or year. With Takeout you can approximate this by selecting individual labels, but the control is coarser and the wait is the same.

Targeting also makes the file easier to work with afterwards. A CSV of one project's correspondence is something you can actually read and act on; a 6 GB MBOX of your entire history rarely is.

Keeping the export private

MBOX from Takeout stays private in the sense that the file goes to your Google account and then your computer — but the archive is built on Google's servers and can sit in your Downloads folder for months if you forget it. A local CSV export never touches an outside server at all: the extension reads what is already on screen and writes the file locally. If privacy is part of why you are exporting in the first place, that distinction matters. We cover it in is it safe to export your Gmail? and in exporting without third-party access.

Common mistakes when exporting to MBOX

A few avoidable errors trip people up. The first is requesting All Mail data when you only wanted a single label — you then wait hours for an archive many times larger than necessary. Select specific labels in Takeout to keep it manageable. The second is choosing too small a per-file size limit, which splits your archive across a dozen zip files you must reassemble. The third is forgetting the download link expires; Takeout links do not last forever, so download promptly once the email arrives.

Finally, people assume the MBOX will open like a document. It will not — it needs a mail client or viewer. Deciding your import path before you export saves the frustration of ending up with a multi-gigabyte file and no obvious way to read it.

Moving mail to another client with MBOX

The classic reason to want MBOX is migration — moving your mail into Thunderbird, Apple Mail or another client that reads the format. If that is your goal, MBOX genuinely is the right choice, because it preserves the complete messages your new client will re-index. Import it, and your history reappears as a readable inbox. If instead you are moving to Outlook, note that Outlook prefers PST or direct import; see exporting Gmail to Outlook for that path, and exporting to Apple Mail for the Mac route.

For a pure migration between Google accounts, you often do not need a file at all — a direct account-to-account transfer can be simpler, as covered in our migration guides.

The bottom line

Use Google Takeout when you genuinely need a complete, re-importable MBOX archive and can tolerate the wait and the file size. Use a local CSV, Excel or JSON export when you need the information inside your email — senders, dates, contacts — rather than the raw messages themselves. For the majority of everyday jobs, the local route is faster, smaller, and keeps your mail entirely under your control.

Frequently asked questions

Can I export Gmail directly to MBOX without Takeout?

No. Google Takeout is the only official route that produces an MBOX file from Gmail. If you do not need the full raw messages, a local CSV export is a faster alternative that opens in Excel or Google Sheets.

How long does a Gmail MBOX export take?

It depends on mailbox size. A small account may be ready in minutes; a large one can take many hours or even days for Google to assemble before you can download it.

Why are my labels missing from the MBOX file?

Takeout stores label information as message metadata rather than as folders, so most mail clients do not recreate your Gmail labels as folders on import. A local export keeps label context clearer for targeted subsets.

How do I open an MBOX file?

Import it into a mail client such as Thunderbird using the ImportExportTools NG add-on, or use a dedicated MBOX viewer to read and search the messages.

Is MBOX better than CSV for building a contact list?

No. CSV is far better for lists and analysis because it gives you one structured row per message. MBOX is best only when you need to re-import complete messages into another mail client.

Is exporting to MBOX or CSV free?

Google Takeout is free, and a local CSV export with a browser tool is also free. The main difference is speed, file size and privacy, not cost.