Open your first mbox

To open an mbox file, click Open in the top bar, press ⌘O on macOS or Ctrl+O on Windows, or drop the file onto the window. Mbox Viewer reads and indexes the file once. When indexing ends, every message is listed and searchable, and later openings of the same file are instant.

Where do I get an mbox file?

An mbox file holds many messages one after another in a single file. Most mail services and clients can produce one:

Source How to get the file
Gmail Export with Google Takeout (guide)
Thunderbird Copy a folder file from the profile (guide)
Apple Mail Use Mailbox › Export Mailbox… (guide)

The app opens files whose name ends in .mbox or .mbx. Thunderbird and Apple Mail produce files without an extension, so rename the copy before you open it.

Single messages saved as .eml files, Apple Mail .emlx files and whole folders of them open too. Mbox Viewer imports them into an mbox copy first, as explained in Open .eml files and folders.

How do I open the file?

Any of these methods works, and the open dialog accepts several files at once:

Method What to do
Welcome screen Click Open mbox or eml file(s), or drop the file onto the window
Top bar Click Open
Sidebar Click + next to Mailboxes
Menu Choose File › Open… (⌘O on macOS, Ctrl+O on Windows)
Finder or File Explorer Double-click a .mbox file

To open a folder of .eml or .emlx files, click Open a folder of .eml files on the welcome screen or in the menu of the arrow next to Open. You can also choose File › Open Folder… (⌘⇧O on macOS, Ctrl+Shift+O on Windows) or drop the folder onto the window. Several .eml files selected or dropped together become one mailbox.

The welcome screen also lists up to 8 files under Recently opened. A click on one opens it again.

What happens during indexing?

The main area shows Indexing “name” with a progress bar, the number of messages read and a percentage. Indexing goes through three phases:

  1. Reading the file
  2. Indexing messages
  3. Finalizing the index

The sidebar shows Indexing… N% next to the mailbox. When it is done, a notification says “name” is ready: N messages. Search becomes available at that moment.

The name of a mailbox is the file name without its extension. A Gmail export named All mail Including Spam and Trash.mbox therefore appears as "All mail Including Spam and Trash". Rename the file before you open it if you want a shorter name.

What does the window show once the mailbox is ready?

Mbox Viewer sidebar with the Mailboxes section listing All mail with 45 messages and 20 MB, followed by the Labels, Folders and Tags sections with their message counts
The sidebar lists each open mailbox with its message count and size. The labels, folders and tags of the selected mailbox appear below it.

The sidebar lists the open mailboxes with their message count and size. Under the selected mailbox it shows its Labels (for Gmail exports), its virtual Folders and its Tags. Each entry shows its message count. Search help at the bottom opens the list of search operators.

Mbox Viewer main window with the sidebar on the left, the list of 45 messages in the middle and a message open in the reading pane on the right
Once indexing ends, the list shows every message from newest to oldest. A click opens a message in the reading pane.

The message list shows every message from newest to oldest. A click opens the message in the reading pane. The search bar at the top accepts words and operators such as from: or has:attachment. Search basics explains the query language. Each part of the message view is listed under the reading pane.

How do I manage an open mailbox?

Click the … button of a mailbox in the sidebar to open its menu:

Menu item What it does
Reindex Reads the file again and rebuilds its index
Cancel indexing Stops an indexing in progress and deletes the partial index
Remove from list Deletes the index and removes the mailbox from the sidebar. The file stays on disk

A mailbox can show one of these statuses in the sidebar:

Status Meaning and fix
Queued Two other mailboxes are being indexed. It starts when one of them finishes.
File changed The file changed after indexing. Choose Reindex.
Index needs rebuilding The index comes from an earlier version or an interrupted run. The rebuild starts when you open the mailbox.
File not found The file was moved, renamed or deleted. Put it back, or open it at its new location and remove the old entry.
Error Indexing failed. Try Reindex.

What are the limits?

Item Limit
Extensions opened directly .mbox and .mbx
Extensions imported into an mbox copy .eml and .emlx, alone or in a folder
Mail files in one imported folder 500,000
Files associated with the app .mbox
Part of a message that is parsed First 64 MiB
Attachments listed in a very large message Up to 256 MiB into the message
Files under Recently opened 8

Multi-gigabyte Gmail Takeout files are a normal use. The file is read as a stream, so its size is limited by your disk rather than by memory.

Frequently asked questions

Which file types can Mbox Viewer open?

Mbox Viewer opens .mbox and .mbx files directly. It also imports single .eml and .emlx files and folders of them into an mbox copy. A file with another extension, or none, is refused, so rename an mbox file without an extension before you open it.

How long does indexing take?

Indexing reads the whole file once, so the time grows with the size of the archive. The design target is at least 50 MB per second on an Apple Silicon Mac, which means about 30 seconds for 1 GB. The progress bar shows the number of messages read and a percentage.

Do I have to wait for indexing every time I open the file?

No. Mbox Viewer keeps the index on disk. When the file has the same size and modification date as last time, the mailbox opens at once.

Does Mbox Viewer modify my mbox file?

No. The app opens the file read-only. The index, the tags and the virtual folders are stored in the app data folder and never inside the mbox file.

Can I open several mailboxes at once?

Yes. Each file you open appears in the Mailboxes section of the sidebar. When you open several files together, they are indexed two at a time, in the order you opened them, and the others show Queued.

What happens if I move or rename the mbox file?

The sidebar shows File not found for the old location. Open the file at its new location and Mbox Viewer restores its tags and virtual folders, because it recognises the same size and modification date. Then remove the old entry with Remove from list.

What does File changed mean in the sidebar?

Another program, such as Thunderbird, modified the file after it was indexed. Choose Reindex in the mailbox menu to search the current version. Tags and folders follow their messages because they are tied to the Message-ID.

Can I stop indexing?

Yes. Click Cancel under the progress bar, or choose Cancel indexing in the mailbox menu. The partial index is deleted, and the mailbox stays in the list until you reindex or remove it.

Does Remove from list delete my file?

No. Remove from list deletes the index of that mailbox and leaves the mbox file untouched. Its tags and folders are set aside and come back if you open the same file again.

Why is a very large message incomplete?

Mbox Viewer parses the first 64 MiB of each message. A larger message shows a notice and its body may be cut, but every attachment up to 256 MiB is still listed and can be saved.