How to Open an MBOX File Without an Email Client

Last updated

To open an MBOX file without an email client, convert it to PDF: upload one .mbox file of up to 25 MB to MBOX to PDF and read every message in any PDF viewer. The PDF starts with a contents page listing each subject, then gives each message its own page with its main headers and text.

Keep the original MBOX as well. The PDF is a reading copy and does not hold the attachments, the full headers or the folder labels, so the mailbox file stays the source for search, extraction or any later review.

Convert an MBOX File to PDF

What an MBOX File Contains

An MBOX file stores many email messages one after another in a single text file. As the Wikipedia article on mbox explains, each message begins with a line that starts with the word From followed by a space.

Each message keeps its headers, its plain or HTML body and any attachments encoded as text. Folder names, indexes and account settings usually live in the mail program, not in the MBOX itself.

Note where the file came from before you convert it: the account, the program that exported it, the export date and any filter that limited the selection. If completeness matters, record a checksum of the untouched file so working copies can be told apart from the source.

How to Open an MBOX File Without an Email Client

  1. Work from a copy of the mailbox and check that its name ends in .mbox. A file without that extension is not accepted, so rename the copy if needed.
  2. Check the size: MBOX to PDF takes one file of up to 25 MB.
  3. Open the MBOX to PDF tool, choose the file and press Convert To PDF. The file is uploaded to our server.
  4. Download the PDF, which is named after your MBOX file.
  5. Open it in any PDF viewer and compare the message count on the contents page with what you expect.
  6. Keep the PDF as a reading copy and store the original MBOX unchanged.
MBOX to PDF tool with a test MBOX file uploaded and the Convert To PDF button, a way to open an MBOX file without an email client
MBOX to PDF with our three-message test mailbox loaded, before conversion.

Our test mailbox, an 802 B file with three short messages, became a four-page PDF of 20.1 KB in 0.1 seconds: one contents page and one page per message.

What the PDF Shows for Each Message

The first page is titled MBOX to PDF and shows the number of messages and a numbered list of their subjects. Each message page carries a heading such as Email 2 of 3, the subject, and the From, To, CC and Date lines.

Dates are printed in GMT, whatever time zone the message was sent from. Other headers, such as Message-ID, routing lines or authentication results, are not printed, so read them in the MBOX when they matter.

The body is plain text. HTML styling, tables, remote images and colours are not reproduced, so check a few messages with rich formatting against a mail viewer.

How the Tool Splits the Mailbox

The tool starts a new message at every line that begins with From and a space. RFC 4155 notes that many programs escape such lines inside a message body as >From, and the tool leaves that > sign in the text.

If the program that wrote your mailbox did not escape a body line starting with From, the tool treats that line as the start of a new message. A message split in two is the usual sign, so compare the count with the source.

Attachments Stay Inside the MBOX File

When a message has attachments, its page ends with a list of their file names and sizes. The files themselves are not embedded in the PDF and are not rendered as pages.

The attachments remain encoded inside the preserved MBOX. Use a mail program or an extraction tool when you need the separate files, and keep the link between each attachment and its message.

Check Message Counts and Boundaries

Compare the count on the contents page with the count in the source program when you have it. Look at the first message, a few in the middle and the last one, and check subjects, senders, dates, bodies and attachment lists.

Search the PDF for phrases you chose before converting: an unusual subject, a reference number, a sender address. Check long messages across page breaks and non-English names for encoding problems.

Duplicates, Digests and Deleted Mail

An MBOX can contain the same message more than once after copied folders or earlier imports. The tool converts what it finds and does not remove duplicates, nor can it tell whether something was deleted before the export.

A mailing list digest can look like several emails while being one message. Count by the numbered message pages, not by From lines that appear inside a body.

Mailboxes Over 25 MB or Several Files

Do not cut a large MBOX in a text editor, because an arbitrary cut can land inside a message or an encoded attachment. Export smaller folders or date ranges from the mail program instead, and keep the complete original.

For several mailbox files, Merge MBOX to PDF combines them into one PDF, and Merge Emails to PDF takes .mbox and .eml files together. Keep a note of which source file became which pages.

When an Email Program Is the Better Choice

A PDF is good for reading, printing and citing pages. If you need search across folders, the attachments as files or the full headers, import the MBOX into a desktop mail program that reads the format.

For one conversation instead of a whole mailbox, follow the guide to save a Gmail thread as PDF, or for Outlook mail, how to save Outlook email as PDF with attachments. For formal review, see exporting emails to PDF for legal discovery.

Frequently Asked Questions about Opening an MBOX File Without an Email Client

Does converting MBOX to PDF keep all email metadata?

No. The PDF shows the subject, From, To, CC and Date, so keep the MBOX for the full headers and structure.

Are attachments included in the PDF?

Only as a list of file names and sizes. The files stay encoded in the MBOX and need a mail program or extractor to come out.

Can I upload an MBOX file larger than 25 MB?

No. Export smaller folders or date ranges from your mail program instead of cutting the file by hand.

Can I convert several MBOX files together?

Yes, with Merge MBOX to PDF, or with Merge Emails to PDF if you also have .eml files. Record the order you used.

Does the conversion happen in my browser?

No. The MBOX file is uploaded to our server, so confirm that sending the mailbox there fits your privacy and retention rules.