What an MBOX file is and why you have one
An MBOX file is a single file that holds many email messages — usually all the messages from one email account or folder, stored in plain text. You most often encounter MBOX files when you export or back up email from programs like Thunderbird, Apple Mail, or Gmail. The file itself has no special formatting; it is just text, which is why it can move between different email programs without losing the messages inside.
MBOX files are common because they are a standard way to move email between systems. If you switched email providers, backed up your messages, or received an archive from someone else, the file you got is probably an MBOX file — even if it does not have the .mbox extension. Sometimes these files are named with .eml, .mbx, or no extension at all, but they work the same way.
Key Takeaways
- MBOX files are plain-text archives of email messages that can be opened in most email programs, not just the one that created them.
- The easiest route is to import the MBOX file directly into the email program you already use — Thunderbird, Outlook, Apple Mail, or Gmail all have import functions.
- If you only need to read the messages without importing them, you can open an MBOX file in a text editor like Notepad or Word, though the formatting will be rough.
- The import process differs by program, so you will need to find the import or restore option in your specific email software before you start.
- If the MBOX file is very large or the import fails, breaking it into smaller pieces or converting it to a different format may help.
Importing MBOX files into Thunderbird
Thunderbird is the easiest program to use if you have an MBOX file, because it was designed to work with this format. Open Thunderbird, then go to the menu and select Tools, then Import. Choose Mail from the list. Thunderbird will then ask you to select the folder or file you want to import — navigate to your MBOX file and select it. The program will read the file and place all the messages into a new folder in your account.
If you do not see an Import option, your version of Thunderbird may be newer. In that case, go to File instead, then look for Import or Import Mail. The steps are the same once you find the menu. Thunderbird will create a new local folder called "Imported" or similar, and all your messages will appear there within a few seconds to a few minutes, depending on the file size.
Importing MBOX files into Gmail
Gmail does not have a built-in import tool for MBOX files, so you will need to use a helper program first. The most common approach is to import the MBOX file into Thunderbird (following the steps above), then use Thunderbird's built-in feature to sync with Gmail. Open Thunderbird, go to Settings, then Composition, and look for the option to add a Gmail account. Once you have connected your Gmail account to Thunderbird, you can drag the imported messages from the local folder into your Gmail folders, and they will upload to Gmail.
Alternatively, you can use a free conversion tool like Mailbird or MBOX to PST converter to change the MBOX file into a format that Gmail's import tool accepts. Gmail can import messages from Outlook (.pst) files, so converting to that format first is another valid path. Search for "MBOX to PST converter" and choose a tool with good reviews; most are free and run on Windows or Mac.
Importing MBOX files into Outlook
Outlook does not directly import MBOX files, but it does import .pst files (Outlook's native format). You will need to convert the MBOX file to .pst first using a free tool. Search for "MBOX to PST converter" and read one; Coolutils, Stellar, and Kernel are common options. Run the converter, select your MBOX file, choose a location to save the new .pst file, and let it finish.
Once you have the .pst file, open Outlook and go to File, then Open & Export, then Import/Export. Choose Import from another file, select Outlook Data File (.pst), and navigate to the .pst file you just created. Outlook will then import all the messages into a new folder in your account. This process takes a few minutes for most files.
Importing MBOX files into Apple Mail
Apple Mail can import MBOX files, but the process is less straightforward than Thunderbird. First, rename your MBOX file so it ends with .mbox (if it does not already). Then open Apple Mail, go to File, then Import Mailboxes. Select Files in MBOX format and navigate to your file. Apple Mail will create a new mailbox and import all the messages into it.
If the import option does not appear, your version of macOS may require you to use Thunderbird as an intermediary instead. Import the MBOX file into Thunderbird first, then export it from Thunderbird in Apple Mail format, and import that into Apple Mail. This adds an extra step but works reliably on all macOS versions.
Reading MBOX files without importing them
If you only need to read the messages without importing them into an email program, you can open an MBOX file in any text editor. On Windows, right-click the file, select Open with, and choose Notepad or Word. On Mac, right-click the file, select Open With, and choose TextEdit. The messages will display as plain text, with headers (sender, date, subject) followed by the message body.
The text will be harder to read than in an email program because all the messages are concatenated together and the formatting is minimal. But if you only need to search for a specific message or check that the file contains what you expect, opening it in a text editor is fast and requires no additional software. Use your text editor's Find function (Ctrl+F on Windows, Command+F on Mac) to search for a sender name or subject line.
What to do if the import fails or the file is too large
MBOX files larger than 1 or 2 gigabytes sometimes cause import tools to slow down or fail. If your import stalls or crashes, try splitting the MBOX file into smaller pieces first. Use a free tool like SplitMBOX or MBOX Splitter to divide the file into chunks of 100 to 500 megabytes each. Then import each piece separately into your email program. This usually works even when importing the whole file does not.
If the conversion or import still fails, check that the MBOX file is not corrupted. Open it in a text editor and look at the first few lines — you should see email headers like "From:", "To:", "Subject:", and "Date:". If the file is full of random characters or binary data, it may be damaged or in a different format than you expected. In that case, contact the person or service that gave you the file and ask for a fresh copy or a different format.
Frequently Asked Questions
Can I open an MBOX file on my phone?
Most phone email apps do not support direct MBOX import. Your best option is to import the MBOX file into a web-based email service like Gmail or Outlook.com on your computer first, then access those messages from your phone through the app. Some third-party MBOX reader apps exist for iPhone and Android, but they are less reliable than desktop programs.
What if my MBOX file has no extension?
MBOX files do not require a specific extension to work. If you have a file with no extension that you believe is an MBOX file, try opening it in Thunderbird or a text editor to confirm. If it contains email messages, you can import it the same way you would import a file with the .mbox extension — just select it when the import dialog asks you to choose a file.
Will importing an MBOX file create duplicates of messages I already have?
Yes, if you import an MBOX file into an email account that already contains some of those messages, you will end up with duplicates. Import the MBOX file into a separate folder or a new local folder first, then manually move or copy only the messages you need. Most email programs have a "remove duplicates" feature you can run afterward to clean up.
How long does it take to import an MBOX file?
Import time depends on the file size and your computer's speed. Small files (under 100 megabytes) usually import in seconds to a minute. Large files (500 megabytes to several gigabytes) can take 5 to 30 minutes. If the import appears to be stuck, check your email program's activity window or log to see if it is still working before you cancel it.