Map Extract
Free tool

Split a large MBOX file

Cut a large mailbox export into smaller MBOX files that are easier to open, upload or import. Split by size in megabytes, by number of messages, into one file per year or month, or into one file per sender domain. Messages are copied exactly as stored and the original file is left untouched.

Runs in your browser. Nothing you enter is uploaded.

The five ways to split

PresetRuleTypical reason
25 MB piecesFiles up to the size you type, in megabytesUpload limits, email attachment limits, slow importers
1,000 messages eachFiles of the message count you typeTools that choke on very long mailboxes
One file per yearGrouped by the year each message was sentArchiving and retention
One file per monthGrouped by year and monthFiner archives, monthly reviews
By sender domainOne file per domain in the From addressSeparating a client's or supplier's correspondence

Splitting a mailbox

  1. Open the MBOX

    Pick one MBOX file. Large exports are read in slices; up to 200,000 messages.

  2. Choose how to split

    Pick a preset. For size and count, type your own number in the box that appears.

  3. Check the plan

    Figures show the number of messages, the number of files and the largest and smallest file. The table lists each file with its message count and size.

  4. Download

    Download all the files in a ZIP, take only the first file, or save the split plan as a CSV showing which dates went into each file.

Example: a sales mailbox split by month and by sender

The same five-message export (fictional) split two ways. By month it gives three files, named after the original file with the month added. By sender domain it gives four, which puts the account holder's own sent messages in one file and each correspondent's in theirs.

For a real mailbox with years of mail, One file per year is the usual first cut, followed by size pieces for any year that is still too large.

Input
brightline-sales.mbox (5 messages)
Result
One file per month: 3 files
brightline-sales-2026-02.mbox   2 messages   34.7 KB
brightline-sales-2026-03.mbox   1 message     0.3 KB
brightline-sales-2026-04.mbox   2 messages   43.4 KB

By sender domain: 4 files
brightline-sales-brightline-bookings.example.mbox  2 messages
brightline-sales-northgate-dental.example.mbox     1 message
brightline-sales-harbourcafe.example.mbox          1 message
brightline-sales-invoices.example.mbox             1 message

Why large MBOX files cause trouble

A Google Takeout export of a busy mailbox can run to many gigabytes in a single .mbox file. Import tools time out, cloud storage uploads fail partway, and anything that loads the whole file into memory struggles. Splitting first means each piece imports quickly, and a failure only affects one piece.

Splitting by sender domain is handy in a business context: one file with every message from a particular client or supplier is easy to hand over, convert to PDF for a dispute, or keep with that customer's records. Messages without a recognisable sender go into their own group.

Questions people ask

How do I split a large MBOX file?

Open it on this page and pick how to split it: by size in megabytes, by message count, by year, by month or by sender domain. The plan appears straight away with the number of files and their sizes. Download them all in a ZIP. The original file stays exactly as it was.

Will splitting change or lose any emails?

No. Each message is copied exactly as stored into one of the new files, and the files are written with mboxrd quoting so lines in the body that start with From survive. Every message ends up in exactly one piece; the split plan CSV shows how many went where.

What size should each piece be?

It depends on where the files are going. The 25 MB preset suits email attachments and many upload forms. For importing into Thunderbird or Apple Mail, a few hundred megabytes per file is usually comfortable. Type any number into the size box to match the limit you are working with.

Can I split by sender to extract one company's emails?

Yes. Choose By sender domain and the mailbox is divided into one file per domain in the From address. Download all, or open the ZIP and keep just the file for the company you need. Messages you sent are grouped under your own domain.

Where your data goes

The split happens in your browser: the MBOX is read from your disk, grouped and rewritten into new files on your device. No part of the mailbox is uploaded.

Checked against the tool on

Top