An MBOX file is essentially a plain-text database that stores an entire folder of email messages (e.g., your "Inbox" or "Sent" folder) as a single, continuous file. Instead of saving each email as an individual file, MBOX concatenates them, separating one message from the next with a specific line that usually starts with the characters "From ". Each message in the file consists of two main parts:
: These use a "Content-Length" header to tell the reader exactly where a message ends, rather than relying solely on separators. Common Uses and Applications MBOX is the "go-to" format for several key scenarios:
Because the format is so simple, several variations have evolved to handle how messages are separated and how "internal" text that looks like a header (like the word "From" at the start of a sentence) is treated: An MBOX file is essentially a plain-text database
MBOX (short for "Mailbox") is one of the most enduring and widely used file formats for storing email message collections. Developed originally for Unix-based systems, it has become a standard for email archiving, migration, and backup across platforms.
: The original format. It "escapes" the word "From" at the start of lines to prevent it from being mistaken for a new message. Common Uses and Applications MBOX is the "go-to"
: Contains metadata like the sender’s address, recipient, subject line, and date.
: The actual content of the email, including text, formatting, and encoded attachments. How MBOX Works: The Variants It "escapes" the word "From" at the start
Mail Terrier — Search PST, EML, MBOX, MSG Files by Keyword