Map Extract
Free tool

Combine EML files into an MBOX mailbox

Gather a pile of saved emails into a single mailbox file. Choose .eml files (and Outlook .msg files, which are converted on the way), put them in date order, leave out duplicates, and download one MBOX that Thunderbird, Apple Mail and most mail tools can import as a folder.

Runs in your browser. Nothing you enter is uploaded.

Building the mailbox

  1. Choose the messages

    Select many .eml, .emlx or .msg files at once, for example everything in a folder. Up to 50,000 can go into one MBOX.

  2. Set the order

    Oldest first is the default because mail programs expect it. Newest first and Keep the file order are the alternatives.

  3. Leave duplicates out

    With the box ticked, messages sharing a Message-ID appear once. Where a message has no ID, the date, subject and sender are compared instead.

  4. Check the figures

    Messages in the MBOX, duplicates left out, how many came from MSG files and the total size.

  5. Download

    Download MBOX for the file itself, MBOX in a ZIP to make it smaller to email or upload, or a CSV index of date, sender, subject and source file.

Example: survey enquiries saved one by one

A surveying firm (fictional) had saved enquiry emails to a shared folder as .eml files over a fortnight, and one had been saved twice under a different name. Combining them gives a single mailbox the office can open in Thunderbird.

Four files go in, three messages come out: the copy of the party wall enquiry has the same Message-ID and is left out. Each message is written after a From line built from the sender and date, in the order the messages were sent.

Input
enquiry-ridgeway.eml
enquiry-mill.eml
enquiry-mill-copy.eml
enquiry-canal.eml
Order: Oldest first   Leave out duplicates: on
Result
Messages in the MBOX: 3   Duplicates left out: 1   From MSG files: 0
From [email protected] Fri Jan 02 13:30:00 2026
From [email protected] Tue Jan 06 10:00:00 2026
From [email protected] Mon Jan 12 08:15:00 2026

About the MBOX this produces

MBOX stores messages one after another, each introduced by a line beginning From and a space. Because a line in a message body could also start with From, the file uses the mboxrd convention: such lines are quoted with a > when written, and mail programs that read mboxrd remove it again. That keeps message text intact on the round trip.

Messages saved as EML are written exactly as stored. Messages that came from Outlook MSG files are first rebuilt as standard messages, which keeps sender, recipients, date, subject, body and attachments but not Outlook's own transport headers.

  • Thunderbird: install the ImportExportTools NG add-on, then import the MBOX into a local folder.
  • Apple Mail: File, Import Mailboxes, choose Files in mbox format.
  • Gmail does not import MBOX directly; use a mail client connected to the account and copy the folder across.

Before importing a combined mailbox

  • Open it in the MBOX viewer first to check the count and the date range.
  • Import into a new local folder rather than straight into an inbox, so nothing is mixed up with live mail.
  • Keep the original EML files until you have confirmed the import worked.
  • If you are moving the mailbox to someone else, check they are entitled to the correspondence it contains.

Questions people ask

How do I convert EML files to MBOX?

Choose all the .eml files on this page, keep the order as oldest first and press Download MBOX. The messages are joined into one mailbox file in date order with duplicates removed. Import that file into Thunderbird or Apple Mail to see them as a single folder.

Can I add Outlook MSG files to the same MBOX?

Yes. Mix .msg files with .eml files in the same selection. Each MSG is converted to a standard message before it is added, and the figures show how many came from MSG files. Outlook-only details such as categories and flags are not carried over.

How are duplicate emails detected?

By Message-ID, the unique identifier mail servers give each message. Two files with the same ID are the same email saved twice, so only one is kept. If a message has no ID, the date, subject and sender address together are used instead.

Why should messages be oldest first?

Mail programs generally show messages sorted by date whatever order they are stored in, but some importers and archive tools read the file in sequence and expect chronological order. Oldest first is the safe default. Choose Keep the file order only if the order of your selection matters to you.

Where your data goes

The EML and MSG files are read and joined into an MBOX by your browser. Nothing is uploaded, and the mailbox file, the ZIP and the CSV index are written directly to your device.

Checked against the tool on

Top