Inboxglass

Split an MBOX file

Make one huge mailbox into smaller ones: by size, year, month, sender's domain or Gmail label. Every email keeps its exact bytes. Free, with no account.

Quick answer

To split a large MBOX file, choose it above, then pick how to split it: by size, year, month, sender's domain or Gmail label. You see every new file and its size first, then download them all in one ZIP. Every email is copied byte for byte, and even a 20 GB mailbox needs little memory.

What you get

Split MBOX after choosing to split a 7-email sample mailbox by Gmail label: “This will create 2 files, 5 KB in total”, a note that an email with several labels is in each of their files, and a table of Inbox.mbox (4 emails, 3 KB) and Work.mbox (3 emails, 2 KB).
The preview of the files, splitting a sample mailbox by Gmail label.
  • Split by size: 100 MB, 500 MB, 1 GB or 2 GB files
  • Split by year or by month
  • Split by the sender's domain, like example.com
  • Split by Gmail label, like Inbox, Sent or Work
  • See every file and its size before splitting
  • Keep every email exactly as it was

Step by step

  1. Step 1

    Choose your .mbox file

    From Gmail Takeout, Thunderbird or Apple Mail, up to 20 GB.

  2. Step 2

    Choose how to split it

    By size, year, month, sender's domain or Gmail label. You see each file and its size before anything is made.

  3. Step 3

    Download the ZIP

    The smaller mailboxes in one ZIP. Open them in the MBOX viewer or your email app.

Supported files and limits

FileUp toAt a time
.mbox (a whole mailbox)20 GB, and 50 MB per email in itOne mailbox

These are technical limits, so your browser doesn't run out of memory. There's no account, plan or fee.

Troubleshooting

Something else? Use the problem report form. It sends the error code and your description, never your file.

Other ways to do it

Your privacy

Your files are processed on your device and never uploaded. The tool runs in a sealed, ad-free area of the page that nothing else on the page can access, and it can't connect to other websites. Nothing about your emails is stored on our domain. We can't see your emails — they never reach our servers.

Check it yourself

Frequently asked questions

How do I split a large MBOX file?

Choose it on this page, pick a way to split it, check the preview, then download the smaller mailboxes in one ZIP.

How do I split a Gmail Takeout MBOX by label?

Choose Gmail label as the way to split. Each label becomes its own .mbox file, named after the label, like Inbox.mbox or Work.mbox.

My MBOX file is too big to import: what can I do?

Split it by size (for example 500 MB files) or by year, then import the smaller files one by one.

Is anything in the emails changed?

No. Each email is copied byte for byte. The only exception: if the very last email of your mailbox has no line break at its end, one is added so it can't run into the next file's first email.

Why do the files add up to more than my mailbox?

Only when splitting by Gmail label: an email with several labels, like Inbox and Work, is in each of their files, the way Gmail shows it.

How do I open the new files?

Open each .mbox file here in the MBOX viewer, in Thunderbird with the ImportExportTools NG add-on, or in Apple Mail with File, Import Mailboxes.

Is my email uploaded anywhere?

No. Your files are processed on your device and never uploaded. We can't see your emails — they never reach our servers. Each tool runs in a sealed, ad-free area of the page that other code on the page can't access, and nothing about your emails is stored on our domain.

Last updated by The Inboxglass team