Convert MBOX to CSV

Turn MBOX emails into CSV. One row per message with its date, sender address and name, recipients, copy recipients, subject, message id, attached file names, size in bytes and body as plain text; an HTML-only body is reduced to text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MBOX files on the dialor turn it to pick what to do

Your mailbox as one table.One row for each message, in a single CSV file.

  1. What you get

    A CSV file with one row per message in the mailbox. Each row holds the date, the sender address and name, the recipients, the copy recipients, the subject and the message id.

    Each row also has the attached file names, the size in bytes and the body as plain text. If a message has only an HTML body, it is reduced to text.

  2. What it leaves behind

    The attachments themselves are not in the CSV. Only their file names are listed in the row. HTML formatting in the body is not kept, since the body is plain text.

  3. When it fails

    The conversion stops with input_corrupted when the file could not be parsed. In that case no CSV is made.

MBOX and CSV.What each format is.

The formats

From · MBOX

Mailbox

A mailbox file with many emails one after another. What Thunderbird, Apple Mail and Google Takeout export.

Extensions
.mbox
MIME type
application/mbox
Kind
Email
To · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data

In your code.The same MBOX to CSV conversion through the API, for your app or your agent.

terminal
$ cv convert report.mbox report.csv
$ cv convert report.mbox report.csv

Questions.What people ask about MBOX to CSV.

01OF 04

Date, sender address, sender name, recipients, copy recipients, subject, message id, attached file names, size in bytes and body. Each message fills one row.

No. The row lists the attached file names, but the files are not copied into the CSV.

The HTML is reduced to plain text, and that text goes into the body column.

The conversion makes one file from the mailbox you give it. To join several CSV files afterward, you can merge CSV.

More conversions.Other ways in and out of MBOX and CSV.