Drop in an .mbox file and read the messages, even when the file is several gigabytes. The page reads it in your browser, in pieces, and sends it nowhere.
Free. No sign-up.
Loading the email file viewer…
What an MBOX file is
An MBOX file is one text file that holds many email messages, one after the other. Several mail programs use it, and Google uses it when you download your Gmail data. It is a simple format, but a mailbox of many years can be a very big file, and most programs cannot open it without importing it into a mail program first.
How to open an MBOX file
- If your file came as a ZIP file, unzip it first. A Google download is an archive file, usually a ZIP file, with the .mbox file inside.
- Drop the .mbox file on the box above, or choose it. The page counts the messages first and shows the number as it grows.
- Pick a label or folder on the left. Search by sender, subject or date.
- Click a message to read it. Save its attachments, save it as an EML file or print it.
Gmail downloads and labels
When you download your mail from Google, each message carries its Gmail labels in a header called X-Gmail-Labels. This page reads that header and builds the folder list from it: Inbox, Sent, your own labels and so on. A message with two labels appears under both. The folder “All messages” holds everything. The page shows the messages as they are in the file. It does not change the file or your Gmail.
In the list, a paperclip means that the message looks like it has attachments, judged from the message type in its header. Open the message to see its attachments for certain.
Checked on November 29, 2026 against Google, “How to download your Google data”. If this has changed since then, write to us from the Contact page.
Big files
The page reads the file in pieces and does not load it into memory. It counts the messages first, and that pass takes about as long as reading the whole file from your disk. After that the list is ready. The largest MBOX tested was 5.0 GB, a made-up file with 4,705 messages and 0.8 MB attachments. Counting took about half a minute in Chrome and about three minutes in Firefox on the test computer. A bigger file may still open. A message is read only when you click it.
An MBOX file has no list of its messages, so the page has to read through the whole file once to find where each message starts. That is the reason for the counting step. You can choose Stop while it counts, and the messages found so far are shown.
A worked example
Choose “MBOX sample” under the box. It is a made-up mailbox with 12 messages and 6 labels. Nothing in it is real mail.
Click the label Invoices. Click a message and read it. Choose Save to download its attachment. Choose “Save as EML” to keep the message as a separate file.
Questions and answers
How do I get an MBOX file from Gmail?
Use Google’s data download. It saves your mail as an .mbox file inside an archive file, usually a ZIP file. You can choose which labels to include. Google’s help page has the steps.
Is my Gmail file uploaded here?
No. The page reads it in your browser. After the page has loaded it works with the connection switched off.
Why does counting take so long?
The page has to read the whole file once to find where each message starts. For a file of many gigabytes, that is as slow as copying the file.
Can I open an MBOX file from Apple Mail or Thunderbird?
Yes, if you have the .mbox file. Thunderbird keeps each folder as a file without an ending, and the page works out the type from what is inside. Apple Mail’s exported mailbox layout was not tested.
Are the pictures and attachments there?
Attachments are inside the messages and can be saved. Pictures inside a message are shown in place. Pictures that a message would load from the internet are blocked.
Can I save the whole file as separate EML files?
Tick the messages you want and choose “Save selected as EML”. You get one EML file for each message, in a ZIP file, up to 2,000 messages at a time. “Select all” in the list picks the messages that match your search.
Guides
Longer guides on this site that go with this page:
- How to download your Gmail as an MBOX file with Google Takeout
- EML, MSG, PDF or MBOX: which format to keep your email in
Sources
Google, How to download your Google data, opened November 29, 2026. It says that Gmail labels are kept in a header called X-Gmail-Labels.
Internet Engineering Task Force, RFC 4155, The application/mbox Media Type, opened November 29, 2026. It describes the MBOX layout and how lines that start with “From ” are escaped.
mboxfileviewer.com is an independent site. It is not connected with Google, and Google has not approved or paid for this page. Product names belong to their owners.
Report a problem with this tool
Other tools
- Email file viewer
Open PST, OST, MSG, EML and MBOX email files in your browser, search the mail and save attachments or messages. Nothing is uploaded. - PST viewer
Open an Outlook data file without Outlook. - MSG viewer
Read one message saved from Outlook. - EML viewer
Read one message saved by a mail program.
Page last updated November 29, 2026.