Privacy and Security

How to Read and Export an MBOX Mail Archive

Open a Gmail Takeout, Thunderbird or Apple Mail mbox of any size, search and filter messages, then export EML, PDF, CSV, attachments or a smaller MBOX.

Saizul Amin
Saizul Amin2 Nov 2026 · 4 min read
How to Read and Export an MBOX Mail Archive

How to Read and Export an MBOX Mail Archive

When you download your mail from Google Takeout, or export a folder from Thunderbird or Apple Mail, you usually end up with a single large .mbox file. It holds every message one after another in plain text, which is great for long-term storage but awkward to read. Uploading years of private email to an online converter is not a comfortable idea either. The MBOX Viewer and Exporter reads the archive on your own device and lets you search it, read messages and pull out exactly what you need.

Large files are fine

Takeout archives can easily be several gigabytes. The viewer does not load the whole file into memory. It reads it in slices of about 8 MB, finds where each message starts, and keeps only the headers it needs for the list. A progress bar shows how far indexing has got. Once it finishes, you see the number of messages, the file size, how many labels or folders were found, how many messages match your filters and how many you have selected.

If indexing finds nothing, the file is probably not an mbox file. Each message in the format begins with a line starting with the word From followed by a space, and the tool says so in its error.

Finding messages

The search box looks through subjects, senders and recipients. For Gmail exports, a Label menu lists every label found in the X-Gmail-Labels header, so you can narrow down to Receipts, Work or any label you used. Date fields set a from and to range, a sort menu switches between newest and oldest first, and a checkbox limits the list to messages that have attachments.

Searching inside message bodies takes more work, so it is optional. Press Also search message bodies and the tool reads every message once and keeps the first part of each body for searching. After that, the search box matches body text too.

Reading a message

Click any message to open it in the reading pane. You see the subject, sender, recipients, copy list, date and labels, plus a button for each attachment showing its name and size. Click an attachment to save it.

HTML mail is shown in a sandboxed frame with remote content blocked. Many newsletters contain tracking images that tell the sender when you open them. Because those images are blocked by default, browsing your old mail does not ping anybody. If you need to see the original images, tick Load remote images for that message.

Each open message can be saved as an .eml file, which any mail program can open, or as a simple PDF with the headers and the text body.

Selecting and exporting in bulk

Tick the checkbox beside messages to select them, or use Select all shown to grab everything that matches your filters. Selection supports undo and redo. If nothing is selected, exports use all messages that match the current filters, and the page tells you which set will be used.

Five export buttons are available. EML saves a single message or a ZIP of many, each named with its date and subject. PDF builds one document with every message, its headers and its text; it takes the first 1,000 messages, so use filters for larger sets. CSV list produces a spreadsheet with date, sender name and address, recipients, subject, labels, size and an attachment flag. Smaller MBOX writes a new mbox containing only the chosen messages, copied byte for byte, which is ideal for handing a lawyer or accountant just the relevant thread. Attachments ZIP collects every attachment from the chosen messages into one archive.

Example uses

A freelancer preparing taxes filters a Takeout archive by the Invoices label and the past tax year, then saves the attachments ZIP. Someone closing an old account exports the CSV list to see who wrote most often. A family member keeps a PDF of a relative's messages for the record, filtering by sender first.

Limits

The viewer is read only: it cannot send, reply, move or delete messages, and it does not change the original file. PDF export uses the plain text of each message, not the styled HTML layout, and stops at 1,000 messages per file. Full-text body search reads only the first part of long messages. Encrypted messages are not decrypted. Messages are found by the standard mbox From line, so a damaged or unusual file may split some messages incorrectly. Everything runs in your browser, and nothing is uploaded.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages