MBOX Guides

How to Split an MBOX File by Year or Month Yearly Mail Archives That Stay Small and Easy to Search

Leena Taylor Paul By Updated September 27, 2026 7 min read
Quick Answer

To split an MBOX file by year, pick a mode that reads the Date header on each message and writes one file per calendar year. A month mode does the same in twelve-part slices. Each file holds only the mail from that period.

A yearly split turns one long mailbox into a short shelf of files you can open and search on their own. A month split suits a heavy account where a single year is still too big.

One mailbox file that holds ten years of mail is slow to open and awkward to search. Breaking it into one file per year fixes both. Each year becomes a small file you can back up on its own, drop on a stick or hand to someone without sending the whole decade. This guide shows which date the split reads, how a message that starts one year and gets a reply the next is handled and three ways to make the yearly files. One is a mail program, one is a free script and one is the Univik MBOX Splitter.

A long MBOX archive separated into yearly files, with monthly files nested under a heavy year.
A year split creates one archive per calendar year; monthly parts suit an unusually heavy archive.

Which Date Does a Year Split Use in an MBOX File?

A year split reads the Date header that sits at the top of every message. That header records when the message was sent or received, so the split drops each message into the year that date falls in. This matters because a mailbox is not stored in neat date order. Messages can sit in any sequence inside the file. The split does not care about their position. It reads the date on each one and files it under the right year, so a message from 2019 lands in the 2019 file no matter where it sat in the source.

Should You Split an MBOX by Year or by Month?

Pick year for most archives and month only for a heavy account. A year split gives you a handful of files, one per calendar year, which is enough to keep each one small and quick to search. A month split cuts finer and suits an inbox so busy that a single year still runs to several gigabytes. On one test export of four years the year mode made four files while the month mode made thirty-six. The trade is simple. Fewer, larger files by year are easier to browse. More, smaller files by month are easier to move and import one at a time.

The By years view in Univik MBOX Splitter
In the app: the Years view lists your mail per calendar year with a count for each, so you know what a year split will produce before you run it.
What you wantYear modeMonth mode
Files createdOne per calendar yearOne per calendar month
Number of filesFewMany
Best forA normal archiveA very heavy account
Easy to search one periodGoodBest
Fits on a FAT32 stickYes if a year is under 4 GBAlmost always

What Happens to a Conversation That Crosses a Year?

A conversation that starts in December and gets its reply in January can be kept whole. The two messages carry different Date headers, so a plain year split would put them in two files. A splitter that keeps conversations together spots that the reply belongs to the same thread and holds both in one file. To make room it may start a file a little before the new year begins. The result is that you read the whole exchange in one place rather than chasing the second half into the next year's file. If you would rather have a strict cut on the calendar, turn the keep-together option off.

How Do You Split an MBOX by Year on a Windows PC?

On Windows the shortest route is a tool made for the job. The Univik MBOX Splitter opens the mailbox, groups the mail by the Date header and writes one file per year or per month into a new folder. It reads each file back afterwards so you know the count adds up, and it lists every message in split-index.csv so you can find any one later. The three steps below cover it.

1
Open the mailbox file
Load the .mbox file into the splitter. It lists the mail by year and month so you can see the spread before you start.
2
Choose the year or month mode
Pick a split by year or by month. Leave the keep-conversations option on if you want a December thread to stay with its January reply.
3
Pick a folder and run it
Choose where the dated files should go. The tool writes one file per period, checks every part against the source and drops a split-index.csv listing next to them.
One file per year, every year checked

Univik MBOX Splitter splits by year or month, keeps each conversation whole and lists every message in split-index.csv.

Free Download See all features

What Free Ways Split an MBOX by Date?

Yes, two free routes exist. Thunderbird can do it by hand. You import the mailbox, sort a folder by date, select a year of messages and export them to their own file with the ImportExportTools NG add-on, then repeat for each year. It works but it is slow and manual. The second route is a script. The open-source Perl tool ryosama/mbox_spliter splits a mailbox by day, week, month or year from the command line, which suits anyone happy to run a script. Both routes give you dated files. Neither reads the parts back to prove the count, and neither writes an index of where each message went, so you check the result yourself.

Key Takeaways
  • A year split reads the Date header on each message and files it under the matching calendar year.
  • Year mode makes a few large files; month mode makes many small ones for a heavy account.
  • A keep-conversations option holds a December thread and its January reply in the same file.
  • On Windows the Univik MBOX Splitter writes dated files, checks each one and indexes every message.
  • Thunderbird by hand and the Perl script ryosama/mbox_spliter are the free date-split routes.
  • A yearly file under 4 GB fits on a FAT32 stick for offline backup.

Yearly files are the archive people actually open again. Ten years in one file is a backup nobody reads.

Nick Rogers, Founder of Univik
Nick Rogers
Founder, Univik
Archive and backup tools since 2013

MBOX Year and Month Split Questions

Open the mailbox in a splitter, choose a year mode and pick a folder. The tool reads the Date header on each message and writes one file for every calendar year. On Windows the Univik MBOX Splitter does this and verifies each part after writing it.

Yes. A month mode makes one file per calendar month, which suits an account so busy that a single year is still very large. On a four-year test export the month mode produced thirty-six files against four for the year mode.

It uses the Date header written at the top of each message, the time it was sent or received. The order of messages inside the mailbox does not matter, since the split reads each date and files the message under the right period.

Switch the keep-conversations setting on and a whole thread stays in one file even when the reply lands in the next year. The tool may begin a part slightly early to fit the exchange. Leave the setting off if you want a strict cut on the calendar.

Yes. Thunderbird exports a year of mail at a time by hand with the ImportExportTools NG add-on. The open-source Perl tool ryosama/mbox_spliter also cuts a mailbox by day, week, month or year. Neither route verifies the parts or writes an index for you.

Yes. Each dated file is a standard mbox that any mail program which reads mbox can open, so a 2019 file imports into Thunderbird or Apple Mail the same way the full mailbox would.

No. A good splitter only reads the source and writes the dated files into a new folder. The Univik MBOX Splitter leaves the original untouched and never writes back over it.
Leena Taylor Paul

This year-split guide comes from Leena Taylor Paul working alongside the Univik crew, who build archive and backup software for Windows since 2013. The year and month counts here come from our own test export. Last checked September 2026. Need a different date split? Contact our support team.