What Google Takeout actually gives you
When you export your Gmail through Google Takeout, you do not get a folder of separate emails. You get one big archive file with the extension .mbox (or .mbox.gz when it is compressed). That single file often holds thousands of messages stacked one after another. It is meant as a backup, not as something pleasant to read.
It is tempting to convert that whole archive to PDF in one go. It sounds efficient, but you end up with a mountain of PDF files (or one PDF that runs into hundreds of pages) where you will never find anything again. In practice you usually need only a handful of messages: an invoice, a booking confirmation, an email thread for a case file.
The smarter order is therefore: review and select first, convert afterward. Mbox Viewer is built for exactly this. It is a Chrome extension that opens your .mbox and .mbox.gz files directly and lays them out like a tidy mailbox, the way you know it from Gmail or Thunderbird. A .mbox.gz from Takeout is unpacked automatically, so you do not have to extract the file yourself first.
Why browsing first is the better move
- You stay in control. The list on the left shows every message side by side. You can read what is inside before exporting anything.
- You export less. Only the messages worth keeping become PDFs. No noise, no spam, no newsletters from years ago.
- You find it again later. A small folder of five well chosen PDFs is useful. A 2,000 page PDF is not.
- It stays private. Mbox Viewer runs entirely on your own device. Nothing is sent to a server or the cloud. Your archive is never uploaded.
Everything stays local
Mbox Viewer processes your archive 100% offline inside your own browser. The extension ships with empty Chrome permissions and sends no telemetry. Your emails are stored locally in your browser database (IndexedDB) and you can wipe them again from Settings, Clear database. You can read more at https://mbox-viewer.online.
Step by step: from Takeout archive to the right PDFs
Review first, export afterward
- Open Mbox Viewer in Chrome.
- Drag your Takeout file (
.mboxor.mbox.gz) onto the window. A.mbox.gzis unpacked automatically. - Wait for the message list to load on the left. Click a message to read it on the right in the Preview tab.
- Search with intent using the search bar. Type something like
from:billing@ subject:invoiceto show only invoices, orhas:attachment after:2025-01-01for recent messages with attachments. - Move through the results with
jandk, and open a message with Enter to confirm it really is what you want. - Select the right messages: press
xon a message to tick it, or tick several. Use Shift+A to select everything in the current view. - Choose export. For just a few messages, export each one as PDF. For several at once, choose PDF ZIP, which gives you a tidy folder with one PDF per email.
- In the PDF options decide what to include: headers, the message text, and optionally the attachment list or the forensic report. Confirm and save the file to your device.
Picking exactly the right messages
Search is the heart of this approach. Mbox Viewer understands handy search operators that let you zoom in on precisely what you need. You simply chain them together.
| You want... | Type this in the search bar |
|---|---|
| Only mail from a sender | from:name@company.com |
| Only mail to someone | to:client@example.com |
| Filter by subject | subject:invoice |
| Only messages with an attachment | has:attachment |
| Messages within a period | after:2025-01-01 before:2025-04-01 |
| Recent messages | newer_than:30d |
| An exact phrase | "payment reminder march" |
| Exclude something | newsletter NOT promo |
Besides searching, you can organize as you browse. Star a message as a favorite, attach a label (tag) to a group of related mails, or add a short note to a message. Later you find that group again with is:starred or tag:rental-case. This way you build up your selection calmly before exporting a single thing.
Build your selection with labels
Go through the archive once at your own pace and give every message you want to keep the same label, for example tag:keep. Then search for that label, press Shift+A to select all, and export in one go as a PDF ZIP. You end up with exactly your selection, nothing more and nothing less.
One message or a whole selection to PDF
There are two ways to export to PDF, depending on how many messages you picked.
- A single message. Open the message and choose export as PDF. Handy when you need only one or two mails.
- Multiple messages. Select them and choose PDF ZIP. You get a zip file with a separate PDF per email. Clear and easy to share.
In the PDF options you decide what goes into the PDF: the headers (sender, recipient, date), the message text, the raw source, a list of attachments, and optionally the forensic report. For an everyday archive, headers plus text is usually enough.
External images stay off by default
Mbox Viewer does not load external images automatically, so senders cannot see whether and when you open an old mail (tracking pixels). Those images therefore also stay out of the PDF. If you do want them in the PDF, first load them per message with the dedicated button. Only then does the extension need one time internet access to fetch that single image.
What if you do want to keep everything?
Sometimes you genuinely need to capture the complete archive, for instance for a legal case file. Even then the rule holds: review first, so you know what is inside. After that you can use Shift+A to select everything and export in bulk. Besides PDF ZIP you might then consider a CSV with the metadata of all messages, or a forensic case file containing the emails, hashes and a manifest. But for the everyday goal, saving a few mails as PDF, the targeted selection is almost always the more pleasant route.
Do I have to unpack my .mbox.gz myself first?
No. Drag the .mbox.gz file exactly as it comes out of Google Takeout straight into Mbox Viewer. The extension unpacks it automatically and shows the messages as a mailbox.
Does my email archive go to a server or the cloud?
No. Mbox Viewer works entirely locally in your own browser. Nothing is uploaded and there is no telemetry. Your data lives in your browser database on your own device and you can remove it again from Settings, Clear database.
How do I quickly select multiple messages for a PDF export?
Tick messages with the x key, or first gather a group (for example with tag:keep or from:sender) and then press Shift+A to select everything in that view. Choose PDF ZIP to get each selected email as its own PDF.
Do I get one PDF per email or a single PDF for everything?
You decide. Export a single message and you get one PDF for that message. Select multiple messages and choose PDF ZIP, and you get a zip with a separate PDF per email.
Why do I see no images in my messages or PDF?
External images are blocked by default to prevent tracking. Load them per message with the dedicated button if you want to see them or include them in the PDF export.
Can I later find which mails I already saved?
Yes. While browsing, give messages a star or a label, and optionally a note. After that you find them again with is:starred or tag:your-label, even in a later session.