Postage

MBOX viewer: open, search and split an mbox file

Drop an .mbox file here to browse every message, search by sender, subject or text, and save single emails as .eml. You can also split a large mbox into smaller files, all inside your browser.

Runs in your browser. Your files are read on your device and never uploaded.

How to use it

  1. Drop your .mbox file on the box, or choose it. A Gmail Takeout mbox, an Apple Mail export and a Thunderbird folder all work. For Apple Mail, open the exported .mbox folder and choose the file named mbox inside it. Large files are indexed in pieces, so a multi-gigabyte file does not freeze the page.
  2. Type in the search box to filter by sender, recipient, subject or date. Tick Also search message text to look inside bodies too.
  3. Click a message to read it, see its headers and download its attachments. Download .eml saves that one message.
  4. To cut up a big file, use the split buttons: a zip of one .eml per match, or several smaller .mbox files with the message count you choose.

What an mbox file is

An mbox is one text file holding many emails back to back. Each message begins with a line that starts with From followed by a sender and a date, and the line before it is blank. Any line inside a message that begins with From is written as >From so it cannot be mistaken for a new message. The viewer undoes that escaping when you save a message as .eml.

Gmail Takeout produces one mbox per label, Apple Mail exports a mailbox as a folder with an mbox file inside, and Thunderbird keeps each folder as an extension-less mbox file.

Limits

The viewer reads the file in slices and keeps only an index of the messages in memory, so size is rarely the problem. Zip and split downloads are built in memory, so one export holds up to 1 GB of mail; for more, search by year or sender and export in batches. Remote images in HTML emails are blocked on purpose, which also keeps tracking pixels from loading.

Questions

How do I open a Gmail Takeout mbox file?

Export from Google Takeout, unzip the download, and drop the .mbox file for the label you want on the box above. Each label is its own file, and attachments are included inside the messages.

Is my email uploaded anywhere?

No. The file is read by your browser from your disk and nothing is sent over the network. You can turn off Wi-Fi after the page loads and it keeps working.

How do I split a large mbox file?

Open the file, optionally search to narrow it, then choose how many messages each part should hold and press Split into .mbox files. You get a zip with numbered mbox files that import cleanly into mail apps.

Can I save one email out of an mbox?

Yes. Click the message and press Download .eml. The result opens in Apple Mail, Outlook and most other mail apps. Use the EML viewer if you want to read that file on its own.

Why do some messages show no body?

A message can hold only attachments or an image, or use a text encoding the browser does not know. The headers and attachments still show, and Download .eml keeps the original bytes.

Keep your mail on your Mac and let your tools reach it

Postage is a native Mac email client with fast search over everything you have kept and a local MCP server, so your own agents can read and draft mail without the mailbox leaving your computer. See how agents work with Postage.

More free tools