.MBOX

MBOX File

Mbox Mailbox (email container)
Ask a question
QUICK ANSWER

An MBOX file is a mailbox - a single plain-text file that holds many email messages stored one after another. Google Takeout exports Gmail as .mbox, and Thunderbird and Apple Mail use the format too. The standard way to open it is to import it into Mozilla Thunderbird (free) using the ImportExportTools NG add-on. To move the mail into Outlook you need to convert MBOX to PST, since Outlook cannot read mbox directly.

Developer: Originated in Unix mail systems (Fifth Edition Unix, 1970s); no single owner Category: Email Files Open standard MIME: application/mbox
OPENS ON Windows macOS Linux
Related: .RPMSG · .EML · .MSG · .MSF

On this page

19k+ extensions indexed
Last reviewed Aug 27, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MBOX file format?

A file with the .mbox extension is an email mailbox that stores a list of messages for a given recipient in sequential order. .mbox is a plain-text format - each message starts with a From separator line (the word From followed by a space, the sender address, and a timestamp), and messages are concatenated one after another in a single file. The format was informally described in RFC 4155 (2005), which codified conventions that had existed for decades without a formal standard.

.mbox files (short for MailBOX) trace their origins to simple Unix mail clients in the 1970s. macOS, which is based on Unix, adopted the format for its earliest built-in mail client. The format has several known disadvantages:

  • No built-in message encryption - any user with access to the .mbox file can read its contents.
  • Sequential reads from a single file become slow and error-prone for large collections of messages.
  • File locking must be employed to prevent corruption when multiple processes access the mailbox simultaneously.
  • Deleting a message requires rewriting the entire file.

The original .mbox format became the basis for four closely related variants: mboxo, mboxrd, mboxcl, and mboxcl2 - each handling the From line-quoting problem differently. These variants are not fully compatible with each other. Compared to newer formats such as .eml or .emlx, .mbox offers simpler tooling but weaker scalability. .mbox files can be opened in any text editor, though manually editing them is not recommended, as it can introduce parse errors in mail clients.

Security & safety

RISK: MEDIUM

The mbox file is plain text and inert, but it contains real emails - so it carries the usual email risks once opened in a client: malicious attachments, phishing links, and tracking pixels. Open an untrusted mbox in a client that sandboxes content (Thunderbird/ Apple Mail) rather than blindly extracting attachments. Because an mbox can hold years of mail, treat it as sensitive personal data: a Gmail Takeout .mbox is your entire mailbox in one readable file. Avoid uploading confidential mbox files to online converters; use a local tool. The several mbox variants (mboxo/mboxrd/cl/cl2) can cause messages to split incorrectly if a body line starts with 'From ' - a data-integrity, not security, caveat.

Format details

in a nutshell
FULL NAMEMbox Mailbox (email container)
DEVELOPEROriginated in Unix mail systems (Fifth Edition Unix, 1970s); no single ownersince 1970s (Unix mail); informally documented as RFC 4155 (2005)
CATEGORYEmail Files
MIME TYPEapplication/mbox
TYPEPlain-text container concatenating many email messages (RFC 4155)
STANDARDOpen · royalty-free

Programs that open MBOX files

Windows2 apps
Mozilla Thunderbird + ImportExportTools NG Open-source Install the free ImportExportTools NG add-on, then Tools > ImportExportTools NG > Import mbox file. The standard free way to read/import an mbox.
Any text editor (Notepad++ etc.) Open-source Open the .mbox to read the raw messages (each starts with a 'From ' line). Fine for a quick look; no rich rendering or attachments.
macOS2 apps
Apple Mail Built-in Mailbox > Import Mailboxes > 'Files in mbox format', select the .mbox. Native on macOS.
Mozilla Thunderbird + ImportExportTools NG Open-source Install ImportExportTools NG, then import the mbox file. Cross-platform free option.
Linux3 apps
Mozilla Thunderbird Open-source Default mail store IS mbox; import via ImportExportTools NG or point Thunderbird at the file.
Evolution / KMail Open-source GNOME/KDE mail clients that import mbox mailboxes (File > Import).
mutt / command-line tools Open-source mutt -f mailbox.mbox reads an mbox directly in the terminal; classic Unix workflow.

Technical details

deep spec
Format typePlain-text container concatenating multiple email messages in a single file
Message separator`From ` line at the start of each message (the word From, a space, sender address, and a UTC timestamp)
File structureAll messages stored sequentially in one flat file; no internal index or directory
From-line quotingBody lines beginning with `From ` must be escaped (typically prefixed with `>`) to avoid being mistaken for message boundaries; the exact method differs across mbox variants
Sub-format variantsmboxo, mboxrd, mboxcl, and mboxcl2 - four incompatible dialects differing in how they quote `From ` lines and record Content-Length
MIME typeapplication/mbox
EncodingUS-ASCII or UTF-8 plain text; binary attachments are MIME-encoded (typically Base64) inside each message
LockingRequires external file locking (dotlock, flock, or fcntl) to prevent concurrent-write corruption; no built-in locking mechanism
DeletionMessages are soft-deleted via a `Status: D` header; permanent removal requires compacting - rewriting the entire file
Search performanceLinear O(n) scan required; no built-in index - large mailboxes rely on external indexes such as notmuch or a mail client header cache
CompressionNo built-in compression; commonly archived as gzip-compressed `.mbox.gz` files for long-term storage
Multi-user accessSingle-writer model; simultaneous multi-process access requires OS-level locking and risks data corruption without it
PortabilityCross-platform plain text - readable on any OS without proprietary software or special drivers
Magic bytesNone - identification relies on finding a `From ` separator line at the very start of the file
Typical file sizeUnbounded; a single `.mbox` file can contain thousands of messages and grow to several gigabytes in large mail archives
Released1970s (Unix mail); informally documented as RFC 4155 (2005)
Open standardYes · royalty-free
Specificationwww.rfc-editor.org

MBOX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MBOX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MBOX files.

Frequently asked questions

How do I open an MBOX file?
Import it into Mozilla Thunderbird (free, any OS) using the ImportExportTools NG add-on, or on a Mac use Apple Mail's Mailbox > Import Mailboxes. For a quick look you can open the .mbox in any text editor - each message starts with a 'From ' line.
How do I open a Gmail (Google Takeout) MBOX file?
Google Takeout exports Gmail as .mbox. Import that file into Thunderbird with ImportExportTools NG (or into Apple Mail) to browse the messages with attachments; a text editor shows the raw mail.
How do I convert MBOX to PST for Outlook?
Outlook can't read mbox. Import the mbox into Thunderbird first, then migrate to Outlook, or use a dedicated MBOX-to-PST converter. Prefer reputable tools - many 'free' MBOX-to-PST sites are low quality.
What's the difference between MBOX and EML?
An .mbox holds MANY messages concatenated into one mailbox file; an .eml is a SINGLE message. Mbox is for whole-mailbox export/migration; eml is for one saved email.
Can I read an MBOX file without an email client?
Yes - it's plain text, so a text editor shows all the messages (each begins with a 'From ' line). But you won't get rendered HTML or decoded attachments; for that, use a mail client.
Where does Thunderbird/Apple Mail store mbox files?
Thunderbird stores each folder as an mbox file (no extension) in your profile's Mail/ImapMail folders; Apple Mail exports mailboxes as .mbox bundles. Both can re-import standard .mbox files.

References

1IETF RFC 4155 - The application/mbox Media Typewww.rfc-editor.org
2Mozilla Thunderbird - official sitewww.thunderbird.net

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.MDMarkdown Document
7.BINCD/DVD Disc Image (BIN/CUE)
8.M4AMPEG-4 Audio File
9.TMPTemporary File
10.ODTOpenDocument Text

Related extensions

.RPMSGRestricted Permission Message
.EMLE-Mail Message (RFC 822 / MIME)
.MSGOutlook Message (Microsoft Outlook saved email)
.MSFMail Summary File (Mozilla Thunderbird / Mork index)
.PSTOutlook Personal Storage Table
.OFTMicrosoft Outlook Template

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z