Attachments take up a large share of an MBOX file because the file stores them as encoded text inside every email. Four methods compress MBOX file data and they are Thunderbird, a ZIP or Gzip archive, Apple Mail and MBOX Compress software. Free methods delete attachments in a mail client or pack the file as an archive. MBOX Compress removes attachments from many files together and filters them by date, size and type. Check the new file size and open one email before you delete the original.
Large MBOX files slow down your mail client and use up your storage.
Many users compress MBOX file archives from Thunderbird, Apple Mail or Google Takeout before a backup or a transfer. Your method matters because a wrong step deletes attachments you still need.
Software steps follow the official MBOX Compress guide. Fixes and a comparison table follow below.
Why Compress a Large MBOX File?
Large archives cause four problems and a smaller file fixes them.
- Slow Mail Client. Mail clients open and search a large mailbox slowly.
- Storage Limits. FAT32 storage devices store no file above 4 GB and cloud plans cap your space.
- Slow Transfers. Big files take long to copy or upload.
- Backup Size. Every backup copy of a large file uses the same space again.
How Does an MBOX File Store Attachments?
MBOX saves a mailbox folder as a single text file. Every email holds its attachments as encoded text. One email with a large PDF adds the size of that PDF to the file.
Learn more in our MBOX file format guide.
Two kinds of compression exist. Archives pack the data while attachment removal cuts the data inside the file.
What to Check Before You Compress MBOX Files?
Four checks protect your emails before you start.
- Back up the MBOX file and work on the copy.
- Save attachments you still need because removal deletes them from the file.
- Close Thunderbird or Apple Mail before you copy the file.
- Free up disk space equal to the file size because the new file sits next to the original.
Delete the original only after the compressed file opens in your email client.
How to Reduce MBOX File Size Manually?
Three free methods compress MBOX file data. Two delete attachments inside a mail client and one packs the file into an archive.
Thunderbird (Free, Deletes Attachments in the Client)
Thunderbird saves every folder as one MBOX file. Deleting attachments and compacting the folder shrinks that file.
- Open Thunderbird and select the folder that matches your MBOX file. Add the file under Local Folders first with the Thunderbird steps in our Split MBOX File guide.
- Open an email that carries a large attachment.
- Right click the attachment name and choose Delete. Choose Detach to save a copy on your PC before Thunderbird removes it.
- Select Attachment in the Quick Filter bar to list only emails with attachments. Repeat the step for the next emails.
- Right click the folder and choose Compact. Thunderbird rewrites the file and frees the space.
- Open the Local directory path from Settings and check the new file size.
Handling one email at a time takes long. Use this method for small mailboxes.
Delete removes the attachment from your email for good. Choose Detach when you need a copy.
ZIP and Gzip Archive (Free, Saves Storage Only)
Archives shrink the file on your PC but mail clients cannot open an archive. Extract the file before you import it.
- Close your email client and locate the MBOX file.
- Right click the file. Windows 11 users choose Compress to ZIP file and Windows 10 users choose Send to > Compressed (zipped) folder. Mac users choose Compress.
- Linux and Mac users can use the command below in Terminal. Option k keeps your original file and creates big.mbox.gz beside it.
gzip -k big.mbox
- Replace big.mbox with your file name and compare the sizes of both files.
Images and PDFs carry their own compression so archives shrink them less than plain email text.
Apple Mail (Free, for Mac)
Apple Mail removes attachments from selected emails and keeps the email text.
- Open Apple Mail and select the mailbox with large emails.
- Press Command + A to select every email in the mailbox.
- Click Message in the menu bar and choose Remove Attachments.
- Select the mailbox, click Mailbox and choose Export Mailbox. Select a folder to save the new MBOX file.
- Check the size of the exported file.
Need the full export steps? Follow our Import and Export MBOX in Apple Mail guide.
Remove Attachments deletes the files from the selected emails. Choose File > Save Attachments first when you need copies.
How to Compress MBOX File With MBOX Compress?
EmailDoctor MBOX Compress removes attachments from MBOX files and saves a smaller MBOX file in a folder you select. MBOX, MBX and MBS files open in the software and MBOX files with no extension work too. Filters narrow the attachments by date, size and type.
Windows 11, 10, 8 and 7 work with the software and so do Windows Server editions. Install .NET Framework 4.5 or above before you start.
Six features help with large files.
- Many File Types. Compress MBOX, MBX and MBS files and MBOX files with no extension.
- Two Removal Modes. Remove attachments or remove them and save copies in a folder.
- Date Filter. Include or exclude a date range.
- Size and Type Filters. Set Upto or More Than from 1 KB to 100 MB and include or exclude file extensions.
- Search Files. Find MBOX files on your disks when you forget the location.
- CSV Report. Get a report for every compressed file.
Compress an MBOX File on Windows
- Start MBOX Compress. Windows users right click the shortcut and choose Run as Administrator. Main screen tabs are Add, Select, Filter and Compress.
- Select MBOX/MBS or MBX to match your file type.
- Click Add File(s) for one file, Add Folder for a full folder or Search Files to find MBOX files on your disks.
- Check the file path and the size in KB under File Path. Select a wrong file and click Remove or click Remove All to clear the list.
- Select Remove Attachments under Options to delete the attachments from the compressed file.
- Select Remove and Save Attachments in a Folder to keep copies of the attachments. Click Next.
- Review the folder tree on the Select tab. Untick the folders you want to exclude.
- Click Change under Destination Path, select the output folder and click OK. Click Next.
- Open the Filter tab. Select Include under Date Filter to remove attachments only from emails in a date range. Click Add, enter the Start Date and End Date and click Add again.
- Select Exclude to skip a date range and keep its attachments.
- Tick File Size under File Filter. Select UpTo or More Than, enter a number and select MB or KB.
- Tick File Type and select Include or Exclude. Type extensions separated by commas like txt,doc,pdf.
- Click Next to start the compression.
- Watch Success Count, Fail Count, Attachment Count and Status on the Compress tab. Click Stop to end the process early.
- Click OK on the message that says the MBOX files have been compressed successfully.
- Go to your destination folder and find the new MBOX file next to a Report folder. Compare the new file size with the original.
Try the free demo on one small MBOX file first. Demo mode compresses 15 items per folder of every file.
MBOX Compress works on Windows only and Mac users follow the Apple Mail method above. Need to extract attachments instead of removing them? Follow our Extract Attachments From MBOX File guide.
Which Method Suits Your MBOX File?
All four methods compress MBOX file data but they differ in what they remove and where they work.
| Feature | Thunderbird | ZIP or Gzip | Apple Mail | MBOX Compress |
|---|---|---|---|---|
| What shrinks | Attachments you delete | File size for storage | Attachments in selected emails | Filtered attachments |
| Opens in email client | Yes | No, extract first | Yes | Yes |
| Platform | Windows, Mac and Linux | Windows, Mac and Linux | Mac | Windows |
| Many files | Slow, one email at a time | Archive every file | One mailbox at a time | Add Folder loads many files |
| Cost | Free | Free | Free | Demo free then license |
I suggest Thunderbird or Apple Mail for a small mailbox, an archive for storage and MBOX Compress when you need many files or filters.
What Problems Appear While Compressing MBOX Files?
Six problems stop MBOX compression.
- File Size Does Not Shrink. Right click the folder in Thunderbird and choose Compact because deleted attachments free space only after compaction.
- Archive Will Not Open. Extract the ZIP or Gzip file first. Mail clients open MBOX files only.
- Attachment Needed Later. Restore the file from your backup. Choose Detach or the Remove and Save Attachments in a Folder option next time.
- Folder Missing in Thunderbird. Close Thunderbird, remove the file extension and copy the file to the Local directory.
- Software Does Not Start. Right click MBOX Compress and choose Run as Administrator. Confirm that .NET Framework 4.5 or above exists on your PC.
- Demo Compresses 15 Items. Free demo mode compresses 15 items per folder. Buy a license to compress the full file.
Frequently Asked Questions
Does Compressing Delete Any Emails?
No. Attachment removal keeps the emails and archives keep everything. Keep the original file until you check the new one.
When Should I Compress MBOX Files?
No fixed rule applies. Compress an MBOX file when your mail client slows down or a storage limit stops you.
How Long Does Compression Take?
Time depends on the file size and the number of attachments. Test one small file first to estimate the time.
Can I Compress an MBOX File Without Removing Attachments?
Yes. ZIP and Gzip pack the file and remove nothing. Extract the archive before you open it in a mail client.
Can I Save the Removed Attachments?
Yes. Select Remove and Save Attachments in a Folder in MBOX Compress. Thunderbird users choose Detach and Apple Mail users choose Save Attachments.
Which File Types Open in MBOX Compress?
MBOX, MBX and MBS files open in the software and so do MBOX files with no extension. Files from Thunderbird and Apple Mail work.
Can I Compress Many MBOX Files Together?
Yes. Click Add Folder to load every MBOX file in a folder. MBOX Compress creates a report for every file.
Can I Filter Attachments by Date, Size or Type?
Yes. Date Filter includes or excludes a date range. File Size accepts Upto or More Than from 1 KB to 100 MB and File Type includes or excludes extensions.
Where Does MBOX Compress Save the File?
MBOX Compress saves the new MBOX file in the Destination Path you select. MBOX Compress places a Report folder beside it.
Does MBOX Compress Work on Mac?
No. MBOX Compress works on Windows only. Mac users follow the Apple Mail method above.
Do I Need Thunderbird or Outlook for MBOX Compress?
No. System requirements list .NET Framework 4.5 or above and no email client.
Final Words
People compress MBOX file archives because attachments fill the space. Free methods delete attachments in a mail client or pack the file into an archive.
Back up the file and test one small file first. Open the new file in Thunderbird and check the email count and attachments before you compress MBOX file copies in bulk.
MBOX Compress then handles large archives. Filters select the attachments and the report shows the result for every file you compress.
- Attachments take up a large share of an MBOX file.
- Thunderbird and Apple Mail delete attachments one email at a time while archives save storage space only.
- MBOX Compress removes attachments from many MBOX files together on Windows and applies three filters.
Next Read: Split MBOX File
Also Read: What is MBOX File | Extract Attachments From MBOX File