How to Open an MBOX File on Any Operating System
Learn how to open MBOX files on Windows, Mac, and Linux. Methods include Thunderbird, Apple Mail, online viewers, and format conversion.
What Is an MBOX File
MBOX is one of the oldest and most widely used email storage formats. It stores multiple email messages in a single plain-text file, with each message separated by a line that begins with “From ” (the word “From” followed by a space). This straightforward structure has made MBOX a standard for email archiving and transfer across different platforms for decades.
The format has several variants, including mboxrd, mboxcl, and mboxcl2, but they all share the same core principle: concatenating email messages sequentially in one file. Despite its age, MBOX remains relevant because major email clients and services continue to use it as an export and backup format.
An MBOX file can contain anywhere from a handful of messages to hundreds of thousands. File sizes range from a few kilobytes to multiple gigabytes depending on the number of messages and whether they include attachments. The plain-text foundation means that technically you could open an MBOX file in any text editor, but doing so with large files is impractical and the raw MIME content is difficult to read.
Where Do MBOX Files Come From
MBOX files appear in a variety of contexts. Understanding where yours originated helps determine the best method for opening it.
Google Takeout
When you export your Gmail data through Google Takeout, Google delivers your emails as one or more MBOX files. This is the most common way people encounter MBOX files today. The export may produce a single large MBOX file for your entire mailbox, or separate files for each label depending on your export settings.
Mozilla Thunderbird
Thunderbird stores all local email data in MBOX format. Each folder in Thunderbird (Inbox, Sent, Drafts, custom folders) corresponds to an MBOX file on disk. If you have backed up Thunderbird data or received MBOX files from someone who uses Thunderbird, these files follow the standard MBOX format.
Apple Mail
Apple Mail can export mailboxes as MBOX files through its Mailbox > Export Mailbox menu option. While Apple Mail natively stores emails as individual EMLX files, the MBOX export function is commonly used for backups and migrations.
Unix and Linux Mail Systems
MBOX originated in the Unix world and remains the default format for many Unix-based mail systems. Server administrators, developers, and anyone working with Linux mail servers will frequently encounter MBOX files from mail spools, Postfix, Dovecot, and similar systems.
How to Open MBOX Files on Mac
macOS users have several options for reading MBOX files, starting with the built-in email client.
Using Apple Mail
Apple Mail can import MBOX files directly:
- Open Apple Mail.
- Go to File > Import Mailboxes.
- Select Files in mbox format and click Continue.
- Navigate to your MBOX file and select it.
- Apple Mail imports the messages into a folder called “Import” in the sidebar.
This method works well for moderate-sized MBOX files. For very large exports (multiple gigabytes), Apple Mail may take considerable time to process the import and could use significant disk space as it converts messages to its native EMLX format.
Using Mozilla Thunderbird
Thunderbird is available for macOS and handles MBOX files natively since it uses MBOX as its own storage format. You can place an MBOX file directly into Thunderbird’s profile directory, or use the ImportExportTools NG add-on to import MBOX files through a graphical interface.
How to Open MBOX Files on Windows
Windows does not include any built-in application that can read MBOX files. You need third-party software or an online service.
Using Mozilla Thunderbird
Thunderbird is the most straightforward option for Windows users:
- Download and install Thunderbird from the Mozilla website.
- Install the ImportExportTools NG add-on from the Thunderbird Add-ons menu.
- Right-click on Local Folders in the sidebar and select ImportExportTools NG > Import mbox file.
- Select your MBOX file. Thunderbird creates a new folder containing all the messages.
This method is reliable and handles large files well. Thunderbird parses the MBOX format natively, so message formatting, attachments, and metadata are preserved accurately.
Using Microsoft Outlook (via PST conversion)
Outlook does not support MBOX files directly. To open MBOX content in Outlook, you need to convert the file to PST format first. Upload your MBOX file to mailtopst.com/convert/mbox-to-pst, download the resulting PST, and then import it into Outlook using File > Open & Export > Import/Export. For a detailed walkthrough, see How to Import MBOX Into Outlook.
How to Open MBOX Files on Linux
Linux users have the most options since MBOX originated in the Unix ecosystem.
Using Thunderbird
Thunderbird works on Linux just as it does on Windows and macOS. Install it through your distribution’s package manager (apt, dnf, pacman) and use the ImportExportTools NG add-on to import MBOX files.
Using mutt
mutt is a terminal-based email client available on most Linux distributions. You can open an MBOX file directly from the command line:
mutt -f /path/to/your/file.mbox
This loads the MBOX file and presents the messages in a text-based interface. mutt is lightweight and handles large files efficiently, making it a good choice for quick inspection of MBOX contents on servers or headless systems.
Using mail or mailx
The classic Unix mail command can read MBOX files:
mail -f /path/to/your/file.mbox
This is available on virtually every Unix-like system and requires no additional software installation. The interface is minimal but functional for reading individual messages.
Using Python
For developers and technical users, Python’s built-in mailbox module can parse MBOX files programmatically:
import mailbox
mbox = mailbox.mbox('/path/to/your/file.mbox')
for message in mbox:
print(message['subject'])
print(message['from'])
print(message['date'])
print('---')
This approach is useful for searching, filtering, or extracting specific messages from large MBOX archives without loading everything into an email client.
Open MBOX Files Online Without Software
If you do not want to install any software, online tools provide a convenient alternative. MailtoPst lets you upload an MBOX file directly in your browser to preview its contents or convert it to another format.
This approach is particularly useful in several scenarios:
- You received an MBOX file but do not use any email client that supports it natively.
- You are on a work computer where you cannot install additional software.
- You need a quick look at the contents without committing to a full import.
The online method also serves as a starting point for format conversion. Once uploaded, you can convert the MBOX to PST for Outlook, EML for individual message files, or other formats depending on your needs.
Converting MBOX to Other Formats
Sometimes opening an MBOX file is only the first step. You may need the messages in a different format for your target email client or archiving system.
MBOX to PST
The most common conversion. If you need to move your emails into Microsoft Outlook, convert your MBOX to PST using MailtoPst’s MBOX to PST converter. The resulting PST file preserves folder structure, message metadata, and attachments. This is the standard path for Gmail to Outlook migrations.
MBOX to EML
If you prefer to work with individual email files, convert your MBOX to EML format. Each message in the MBOX becomes a separate .eml file that can be opened by most email clients, including Outlook, Thunderbird, and Apple Mail. Use the MBOX to EML converter to split your archive into individual files.
Choosing the Right Format
Consider your end goal when choosing a conversion target:
- PST if you need to import into Outlook or create an Outlook-compatible archive.
- EML if you need individual message files that can be opened by any email client.
- Keep as MBOX if you plan to use Thunderbird, Apple Mail, or a Unix-based mail system.
For more on converting between formats without installing desktop tools, see Convert Email Files Without Installing Software.
MBOX File Size and Performance
MBOX files can grow very large, especially when they contain years of email with attachments. A Google Takeout export for an active Gmail account can easily produce MBOX files exceeding 10 GB.
Working with large MBOX files presents several practical challenges:
Opening speed. Email clients may take minutes to parse a multi-gigabyte MBOX file. Thunderbird handles large files better than most, but the initial import can still be slow.
Text editors. Never try to open a large MBOX file in a text editor. Most editors will freeze or crash when attempting to load a file larger than a few hundred megabytes.
Splitting large files. If you are having trouble with a large MBOX file, consider splitting it into smaller segments before processing. Some command-line tools can split MBOX files by message count or date range. Alternatively, when converting through MailtoPst, the service handles large files server-side, avoiding the memory and performance limitations of local software.
For strategies on handling very large email archives, see How to Convert Large Email Archives.
Start Reading Your MBOX Files
Whether you received an MBOX file from Google Takeout, backed up your Thunderbird email, or exported from Apple Mail, there are multiple ways to access your messages on any operating system. For the simplest approach with no software installation required, upload your file to MailtoPst and either preview the contents directly or convert to PST or EML format.
You get 100 MB free credit to test with your own MBOX file. If you need to bring your emails into Outlook, the MBOX to PST converter handles the entire process in the cloud.
Ready to convert your files?
100 MB free credit. No software to install. Works on any device.
Related articles
How to Open PST Files Without Outlook (Windows, Mac, Linux)
Open and read PST files without Microsoft Outlook. Methods for Windows, Mac, and Linux including online viewers and format conversion.
How to Read an OST File Without Exchange Server
Access and read orphaned OST files when your Exchange server is unavailable. Convert OST to a readable format without needing an active connection.
How to Open a PST File on Mac Without Outlook
Step-by-step guide to open and read PST files on macOS without purchasing Microsoft Outlook. Free online method included.