Skip to content
ToolPlankDEV
Text Tools
100% In-Browser Execution

Updated:

MBOX to CSV Converter

Open an .mbox file and get a spreadsheet of its messages. This mbox to csv converter reads the file in chunks on your computer, so large mailboxes work, with no upload and no message limit. Pick columns, filter, preview, then download.

Processing in browser...

Loading the tool. It runs entirely in your browser, so your data is never uploaded.

More free tools you may need next.

Quick Guide

How to use MBOX to CSV

Simple step-by-step instructions to get the exact output you need.

  1. 01

    Open your mbox file

    Drop an .mbox file on the box or choose it. Google Takeout, Thunderbird and many other programs export this format. The file is read in chunks on your computer, and a progress bar shows how many messages have been read.

  2. 02

    Choose columns and filters

    Tick the columns you want: date, sender, recipients, subject, Gmail labels, attachment names, size and body text. Filter by date range, sender, recipient, subject, label or attachments. Changing any option and pressing Convert again re-reads the file with the new settings.

  3. 03

    Check the summary and the preview

    The summary shows how many messages were read, exported and filtered out, the date span, the attachment count and the top senders. The preview table shows the first 200 rows and has a search box.

  4. 04

    Download the CSV

    Press Download CSV. Choose a comma, semicolon or tab delimiter, and keep the UTF-8 BOM on for Excel on Windows. One row per recipient is available when you need a list of who received what.

How to convert MBOX to CSV

An mbox file is one long text file that holds many email messages. Each message starts with a line that begins with From and a date. To convert mbox to csv, the tool finds each message, reads its headers and body, and writes one row per message, with the columns you chose.

Text
"Date (ISO, UTC)",From name,From address,Subject,Gmail labels,Body text
2026-01-05T09:30:00Z,José Silva,jose@example.com,Invoice 2026-001,"Inbox,Important","Hello Ana,
the invoice is attached."
2026-01-06T14:05:00Z,Ana,ana@example.com,Re: Invoice 2026-001,Sent,"Thanks, received."

Your mail never leaves your device. The file is read with your browser's file API, as the Privacy Policy describes, and nothing is sent to a server.

Gmail Takeout and Thunderbird files

To get your Gmail as mbox, use Google Takeout and select Mail. Takeout gives one .mbox file for All mail, or one file per label if you choose labels. Every message in it carries an X-Gmail-Labels header, which this tool can write into a Gmail labels column, so you can filter or sort by label in a spreadsheet.

Thunderbird keeps each folder as an mbox file without an extension, in the profile folder. Copy the file to your desktop and open it here. Apple Mail can export a mailbox as .mbox as well. A single .eml message pasted or opened as a file is read as one message.

Large mailboxes

A mailbox export can be several gigabytes. The tool does not load it all at once. It reads a slice at a time, splits out the messages in that slice, writes their rows and moves on, so memory use follows the largest single message and not the file size. The page stays responsive and a Cancel button stops the job.

  • The CSV is built in pieces that the browser can keep outside memory, so very large results are possible, within the limits of your browser and free disk space.
  • Only the first 200 rows are kept for the preview, and the summary keeps counts, not the messages.
  • Message boundaries are found by the From line with a date, so a body line that merely begins with the word From does not split a message. Lines such as >From in a message body are turned back into From, as the mboxrd format requires.

Columns you can export

  • Date in ISO form (UTC) and in your browser's time zone.
  • From name and From address, and To, Cc and Bcc with names and addresses.
  • Subject, Message-ID and In-Reply-To, which lets you rebuild conversation threads in a spreadsheet.
  • Gmail labels from the X-Gmail-Labels header.
  • Attachment count and attachment names. The files themselves are not extracted.
  • Message size in bytes and the body text, cut to a length you choose.

Subjects and names with accents or other scripts, such as =?UTF-8?Q?Caf=C3=A9?=, are decoded. Bodies in quoted-printable or base64 are decoded using the charset the message declares. When a message has only an HTML part, tags are removed to give the text.

Filters and one row per recipient

Filters apply while the file is read, so rows you do not need are never written. Combine them freely: for example label Inbox, from a domain and the dates of one quarter. Text filters ignore upper and lower case. A date filter leaves out messages that have no readable date, and the summary says how many.

By default there is one row per message, and recipients are joined in one cell. Switch on One row per recipient to get a row for each To, Cc and Bcc address, with columns for the recipient name, address and type. Use it to count how many messages each person received.

CSV details and safety

Cells that contain the delimiter, quotes or line breaks are quoted, and quotes are doubled, so the file opens correctly in Excel, Google Sheets and LibreOffice. The UTF-8 BOM option helps Excel on Windows show accents and non-Latin letters.

A cell that starts with =, +, - or @ can be run as a formula by a spreadsheet. Because emails can contain text like that, such cells are given a leading apostrophe. This protects you when you open a mailbox that contains untrusted messages.

Limits

  • The tool reads headers and text. It does not extract attachment files or show message images. For a single message, use the EML Viewer.
  • Changing the columns or filters means reading the file again, because the messages are not kept in memory. Press Convert again.
  • Very unusual files, such as an mbox with broken message boundaries, can merge or split messages. The summary shows the count so you can compare it with your mail program.
  • A Date header without a time zone is read as UTC, so the result does not depend on your computer's settings.
  • A file that does not look like an mbox or an email gives no messages, and the tool says so.
  • It converts your own export. It does not connect to an email account.

Once you have the CSV, Merge CSV Files joins several exports, and CSV to Markdown turns rows into a table for a document. VCF to CSV does the same job for a contacts file.

Frequently Asked Questions

Technical Q&A for MBOX to CSV

Common questions about edge cases, character encoding, and privacy guarantees.

Open your .mbox file, choose the columns and press Convert. The CSV is built in your browser and you download it when it is ready.

Export Mail with Google Takeout, then open the .mbox file here. The Gmail labels column is filled from the X-Gmail-Labels header, and you can filter by label.

Yes. Thunderbird stores each folder as an mbox file. Copy the file out of the profile folder and open it here.

The tool sets no limit. The file is read in slices, so size depends on your browser and free disk space for the result, not on the tool.

No. The file is read and converted on your computer, so no message and no address leaves it.

Yes. Download the CSV with the UTF-8 BOM option on and open it in Excel. Choose a semicolon delimiter if your Excel expects one.

Yes. Turn on One row per recipient and every To, Cc and Bcc address gets its own row with its type.

No. It exports the number and names of attachments as columns, not the files.

A message without a Date header, or with one that cannot be read, has no date. Its other columns are still written.

Text that begins with =, +, - or @ could run as a spreadsheet formula, so a leading apostrophe makes the cell safe to open.