Convert MBOX to JSON

Turn MBOX emails into JSON. An array with one object per message: addresses, subject, date, every header, the plain and HTML bodies, and the name, type and size of each attached or inline file.

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 data.One JSON array with an object for each message.

  1. What you get

    A single JSON file. It holds an array with one object per message in the MBOX file, in a form that code and APIs can read.

    Each object has the addresses, the subject and the date. It also has every header, the plain and HTML bodies, and the name, type and size of each attached or inline file.

  2. What it leaves behind

    Attachment contents are left out. You get the name, type and size of each attached or inline file, but not the file itself.

  3. When it fails

    If the MBOX file cannot be parsed, the conversion stops with input_corrupted.

    To work with JSON files after the conversion, you can merge JSON or see every JSON conversion.

MBOX and JSON.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 · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

terminal
$ cv convert report.mbox report.json
$ cv convert report.mbox report.json

Questions.What people ask about MBOX to JSON.

01OF 04

Each message is one object. It has the addresses, subject, date, every header, the plain and HTML bodies, and details of each attachment.

No. Only the name, type and size of each attached or inline file are listed. The contents are left out.

You get one file. All messages are in a single array.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

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