Skip to content
Mbox Viewer

MBOX

A plain-text file format that stores multiple email messages concatenated together, each beginning with a "From " separator line. It is the format Google Takeout produces when you export your Gmail archive.

MBOX (short for mailbox) is one of the oldest and most widely supported email storage formats. Every message is appended one after another in a single text file, with each message separated from the next by a line that starts with "From " (note the trailing space) followed by the sender address and a timestamp. Because the entire archive lives in a single file, MBOX is easy to copy, compress, and store as a long-term backup.

Google Takeout produces MBOX files when you export Gmail data, sometimes splitting very large mailboxes into multiple files. Other services and desktop clients — Apple Mail, Thunderbird, Postfix — also use MBOX variants (mboxo, mboxrd, mboxcl2), which differ mainly in how they escape embedded "From " lines within message bodies.

Opening a large MBOX file without a specialized tool can be slow because most programs parse the entire file before showing any messages. Mbox Viewer addresses this with a streaming parser that reads the file incrementally and a binary index that enables subsequent opens in under a second, regardless of file size.

Related terms

Read your MBOX files on your Mac