simple & easy
Mbox-Splitter - The best tool to divide large MBOX files online!
I'm the bigger brother of mbox-viewer.deabout
What is Mbox Splitter
It often happens that E-Mail providers specify a limited file size when importing mbox files. In my example it was 40 mb. So I thought about what to do. There were two options:
- 1. I always mark a part of my E-Mails, for example always 200 E-Mails, instead of marking them all at once and export them. First I have to test if 200 E-Mails are ok at all and if they don't exceed the maximum file size. I repeat the process until I have exported all E-Mails.
- 2.The second option is to write a script that splits the large file the way you want it.
Data information
What happens to my E-Mails?
Absolut nothing!
I have absolutely no interest to do anything with your e-mails. Neither do I store them on a server, nor do I read them out and look at them. The file is split via a javaScript code through your browser. So everything runs through your browser.
Story of mbox splitter
Why mbox-splitter.com exists
How it started
I have many domains and have been with a reputable hosting provider here in Germany for years. Strato was the standard hosting provider for me. Cheap and sufficient. However, I always had problems with the speed of my websites and the websites of my customers. I did everything to speed up the website (compress images, compress JS etc.) but still this didn't change the speed of the websites too much. As CMS I often use Wordpress, because you can easily and super fast create websites with it.
The problem
At some point I came across the hosting provider 1blu.de through a customer of mine. 1blu offers a performance package, where a high-end NVMe-SSD hard drive ensures that you have ultra-fast access to databases and files. I tried it out and was pleasantly surprised. The website was much faster than usual. I started to move some domains from Strato to 1blu. Here, of course, I had to move the e-mail address as well. I had to create the e-mails of the domain I want to move at 1blu and then export the e-mails at Strato and import them at 1blu. I exported the e-mails through the Strato webmailer by selecting all of them and then exporting them as an .mbox file. The resulting file was 450.5 mb in size. I didn't think anything of it and logged into 1blu webmailer with my new email address to import them. It didn't work and I saw as error message: "There is only a maximum of 40mb allowed".
The solution
This frustrated me enormously and I thought about what I should do now. I didn't want to mark a certain amount, export it and then import it to 1blu. I opened the .mbox file and saw a structure that was always the same. I wrote a script on my local machine that allowed me to specify a max size to split the large mbox file accordingly. And here we are. I want to share this script and this possibility with the world.
How to
How can I export my E-Mails to a .mbox file?
There are several ways to export your E-Mails as .mbox file. Depending on the email software you use, the export to .mbox file happens automatically. For example with the Apple Mac E-Mail software. Here the complete mailbox with all contained E-Mails will be exported automatically as an .mbox file. With Thunderbird or Outlook it is a little different. Here the default export format is not an .mbox file. In this section I will explain the export via the Mac E-Mail software.
Export your E-Mails via Mac to a mbox file
- 1. Open mail on your Mac and select your mailbox
- 2. In the menu bar at the top, select Mailbox and then → Export mailbox
- 3. Choose a destination folder for the mailbox exports
- 4. And that's it. Wait a little. Depending on the mailbox size, the export may take a few minutes.
How can I Split my mbox file?
Using the mbox-splitter you can simply upload your file at the top, enter the size you need for splitting and enter a name for the respective files. After that you just have to click on "Split" and that's it. Your files will be split automatically.
History of mbox
Mbox, short for mailbox, is a file format used to store multiple emails in a single file. It was first introduced in the fifth edition of Unix. All messages in an mbox file are concatenated and stored in a single file as plain text. Each message begins with the four characters "From" followed by a space (called the "From" line) and the sender's e-mail address. RFC 4155 defines another delimited space followed by a UTC timestamp. If you are interested in the topic, you can have a look at this great wikipedia entry: Wikipedia
Founder
This is me

Since I was 21 years old, I have been developing my own projects with full enthusiasm. When I put an idea or a goal in my head, it doesn't give me a moment's peace until I've put that thought into action. To name a problem is right. Working on it is important. Solving it is crucial.
let's talk to each other