What an MBOX file is and why you have one

An MBOX file is a single file that holds many emails in plain text format. Instead of storing each message separately like your email program normally does, MBOX bundles them all together. You most often encounter MBOX files when you export emails from Gmail, Outlook, Apple Mail, or Thunderbird, or when someone sends you a backup of their email account.

The file itself looks like a single document — it might be named something like "backup.mbox" or "archive.mbox" — but inside it contains hundreds or thousands of complete email messages, including the subject line, sender, date, and body text of each one. Your computer cannot open it the way it opens a Word document or a PDF. You need either an email program that understands the MBOX format, or a converter tool that turns it into something more readable.

Key Takeaways

  • MBOX files are email backups that hold many messages in one file, and you cannot open them by double-clicking like a normal document.
  • The easiest method is to import the MBOX file directly into an email program like Thunderbird, Outlook, or Apple Mail, which will sort the messages into folders automatically.
  • If you do not have an email program installed, free online converters can turn your MBOX file into individual EML files or a readable format, though you should only use converters you trust with your data.
  • Some email programs require you to create a new folder or account before importing, so check the program's import menu before you start.

Importing MBOX into Thunderbird (Windows, Mac, or Linux)

Thunderbird is a free email program from Mozilla that handles MBOX files natively and works on every operating system. If you do not have it installed, download it from mozilla.org/thunderbird. Once Thunderbird is open, go to the menu at the top and select Tools, then Import. A window will open asking what you want to import. Choose Mail, then click Next.

On the next screen, select Thunderbird as the source program (even if your MBOX came from Gmail or Outlook — Thunderbird just needs to know you are importing mail, not settings). Click Next again. Thunderbird will ask you to locate the MBOX file on your computer. Click Browse, navigate to where you saved the file, select it, and click Open. Thunderbird will then import all the emails and sort them into a folder. This can take several minutes if the file is large.

Importing MBOX into Outlook (Windows)

Outlook does not have a built-in MBOX import tool, but you can use a free workaround. First, download and install Thunderbird (see the section above), import your MBOX file there, then export it from Thunderbird in a format Outlook understands. Once the emails are in Thunderbird, right-click the folder containing them, select Export Folder as mbox, and save it. Then open Outlook, go to File > Open & Export > Import/Export, choose Import from another program or file, select Outlook Data File (.pst), and Outlook will walk you through converting the Thunderbird data.

Alternatively, if you have access to the original email account (such as your Gmail account), you can often re-download the emails directly from the provider rather than converting the MBOX file. This is usually faster and more reliable than file conversion.

Importing MBOX into Apple Mail (Mac)

Apple Mail can import MBOX files, but the process is less straightforward than Thunderbird. Open Apple Mail and go to File > Import Mailboxes. A dialog will appear asking what format you are importing from. Select Files in MBOX format. Click Continue, then navigate to your MBOX file and select it. Apple Mail will import the messages into a new mailbox, usually named after the file.

If the import menu does not appear, your version of Apple Mail may not support direct MBOX import. In that case, use Thunderbird to import the MBOX file first, then export it from Thunderbird and import it into Apple Mail using the standard import process.

Converting MBOX to individual EML files

If you want to read individual emails without importing them into an email program, you can convert the MBOX file into separate EML files — one file per email. Each EML file can then be opened in any text editor or email program. To do this, download a free MBOX converter tool such as Thunderbird (which can export individual messages), CloudMigrator, or Aid4Mail. These tools take your MBOX file and split it into individual messages you can browse and open one at a time.

Be cautious when using online converters that require you to upload your MBOX file to a website. Only use converters from sources you trust, since email files can contain sensitive information like passwords, financial details, or private conversations. Downloaded desktop tools are generally safer because the conversion happens on your own computer.

Reading MBOX files in a text editor

If you open an MBOX file in a plain text editor like Notepad (Windows) or TextEdit (Mac), you will see the raw email data. Each message starts with "From:" and contains headers like "Subject:", "Date:", and "To:", followed by the message body. This is readable but messy — you will see all the technical email information mixed in with the actual content, and multiple emails will run together in one long document.

This method works if you just need to search for a specific word or phrase across all your emails, or if you want to copy a single message's text. But for actually reading and organizing your emails, importing into an email program is much more practical. A text editor shows you everything at once with no way to sort by sender, date, or subject.

Troubleshooting common problems

If Thunderbird or another email program says it cannot find the MBOX file, check that the file name does not have a space or special character that might confuse the import tool. Also verify that the file actually ends in ".mbox" — sometimes MBOX files are saved without an extension, and the program cannot recognize them. If that is the case, rename the file to add ".mbox" to the end.

If the import completes but you see no emails, the MBOX file may be corrupted or empty. Try opening it in a text editor to confirm it contains email data. If it does contain data but the import program cannot read it, try a different email program — sometimes one program's MBOX format is slightly different from another's, and a different tool may handle it better. If the file is very large (over 500 MB), the import may time out; in that case, try splitting the MBOX file into smaller pieces using a tool like SplitMbox before importing.

Frequently Asked Questions

Can I open an MBOX file on my phone?

Most phone email apps do not support MBOX import directly. Your best option is to import the MBOX file into an email program on your computer first, then sync that account to your phone, or convert the MBOX file to individual EML files and email them to yourself.

What if the MBOX file is corrupted and will not import?

Try opening it in a text editor to see if the data is actually there. If it is, try importing it into a different email program — sometimes one tool can read a file that another cannot. If multiple programs fail, the file may be genuinely damaged, and recovery may not be possible.

Is it safe to use an online MBOX converter?

Online converters work, but they require uploading your email file to someone else's server. Since emails can contain passwords, financial information, and private messages, use only converters from sources you trust. Desktop tools that run on your own computer are safer because your data never leaves your device.

How do I export emails from Gmail as an MBOX file?

Go to Google Takeout (takeout.google.com), sign in, select Mail, and choose the format MBOX. Google will create a download file containing all your Gmail in MBOX format. This can take several hours for large accounts.

Can I edit emails inside an MBOX file?

Not directly. MBOX files are meant for storage and backup, not editing. If you need to modify an email, import it into an email program, copy the text you need, and create a new message. You cannot edit the original email within the MBOX file itself.