Map Extract
Free tool

Convert MBOX to MHTML (web archive)

MHTML wraps a web page and everything it needs into one file, the format browsers use for Save page as single file. This converter lays out a mailbox as a web page, with a linked list of messages at the top, and packages it as one .mhtml archive for systems and colleagues that work with that format.

Runs in your browser. Nothing you enter is uploaded.

Building the archive

  1. Open the mailbox

    An MBOX export, or a set of EML and MSG files.

  2. Set what is included

    The details block for each message, Keep formatting for HTML structure and Embedded images for pictures stored in the messages.

  3. Choose the order

    Oldest or newest first. The archive always holds the whole mailbox in one file.

  4. Download

    Press Download MHTML. The file is named after the mailbox; a Message index (CSV) is the other option.

Example: archiving a project folder

A small architecture practice (fictional) keeps a closed project's emails in its document system, which stores web archives. The project folder was exported from Thunderbird and converted here with the defaults.

Inside, the .mhtml is a standard multipart/related message holding one HTML part, encoded in base64. When it is opened in Edge or Chrome on Windows, the page shows the Messages list, each subject linking to its message further down.

Input
Project 118 Harbour Road.mbox (5 messages)
Order: Oldest first
Result
Download MHTML: Project 118 Harbour Road.mhtml
MIME-Version: 1.0
Content-Type: multipart/related; type="text/html"; boundary="..."
  part 1: text/html; charset="utf-8", base64
One MHTML file with 5 messages.

Where MHTML files open

ProgramOpens .mhtml?
Microsoft Edge and Google Chrome on desktopYes, directly
Microsoft Word on WindowsUsually, as a web layout document
Firefox and SafariNot without an extension or conversion
Phone browsersGenerally not; use HTML or PDF for mobile reading

What the archive does and does not contain

The archive contains the rendered page: subjects, details, message text with headings, lists, tables and links, and pictures that were stored inside the emails when Embedded images is ticked. It does not contain the attachments, which are listed by name in each message's details, or any picture the emails would load from the web.

Because everything is in one file, MHTML is easy to attach to a record or move between folders without broken links. It is not a substitute for the original MBOX if you may need to import the messages back into a mail program, so keep the mailbox file as well.

Questions people ask

What is an MHTML file?

MHTML, or MIME HTML, is a single-file web archive. It stores a page and its resources in one file using the same multipart structure as email. Edge and Chrome save pages in this format when you choose to save as a single file, and Word on Windows can open and save it.

How do I open an MHTML file?

On Windows or a Mac with Edge or Chrome installed, double-click it or drag it into a browser window. Word on Windows can also open it. Firefox and Safari do not open MHTML natively. If the people you are sending to use those, convert the mailbox to HTML or PDF instead.

Does MHTML keep the email attachments?

No. Each message's details list the attachment names and sizes, but the files are not included in the archive. Save them separately with the email attachment extractor if the record needs them.

Can I convert the MHTML back into emails?

Not in a useful way. The archive holds a laid-out page, not the original messages with their headers. If you may need the emails as emails again, keep the original MBOX file, or split it into EML files, alongside the MHTML.

Where your data goes

The page and the MHTML package around it are generated in your browser. The mailbox is not uploaded, and the archive contains no references that would make a browser contact the original senders.

Checked against the tool on

Top