---
title: "How to Convert MBOX to CSV, EML, and Text (and Extract Attachments)"
description: "A practical guide to exporting an MBOX file into CSV spreadsheets, individual EML messages, plain text, and PDF — plus how to extract every attachment in bulk — using Mbox Viewer on Mac."
url: https://mboxviewerpro.com/guides/convert-mbox-to-csv-and-eml/
language: en
updated: 2026-05-18
source: Mbox Viewer
---

[All guides](https://mboxviewerpro.com/guides/)

# How to Convert MBOX to CSV, EML, and Text (and Extract Attachments)

A practical guide to exporting an MBOX file into CSV spreadsheets, individual EML messages, plain text, and PDF — plus how to extract every attachment in bulk — using Mbox Viewer on Mac.

PublishedMay 18, 2026

An [MBOX](https://mboxviewerpro.com/glossary/mbox/) file is a great archive, but sometimes you need your email in a *different* shape: a spreadsheet for analysis, individual `.eml` files for another mail client, plain text for grepping, or just the attachments pulled out into a folder. This guide shows you how to do all of that on a Mac with [Mbox Viewer](https://apps.apple.com/app/mbox-viewer-pro/id6759237715).

## Choosing the right output format

Each format serves a different purpose. Pick the one that matches what you’re trying to do.

| Format | Best for | What you get |
| --- | --- | --- |
| **CSV** | Analysis, reporting, audits | One row per email with date, sender, recipient, subject, size |
| **EML** | Importing into another mail app | One standalone file per message, headers intact |
| **Text** | Search with command-line tools, plain reading | Readable plain-text body of each message |
| **PDF** | Sharing, legal, printing | A formatted, fixed snapshot of a message |
| **Attachments** | Recovering files | The original files, saved to a folder |

## Convert MBOX to CSV

A CSV export turns thousands of emails into a tidy spreadsheet you can open in Numbers or Excel. It’s ideal for spotting who emails you most, auditing a date range, or handing a summary to someone else.

1.  Open your `.mbox` file in **Mbox Viewer**.
2.  (Optional) **Search or filter** to narrow down to the messages you care about — for example `from:billing@ date:2025`.
3.  Select the messages you want (or press **Cmd-A** to select all).
4.  Choose **File → Export → CSV**.
5.  Pick a destination and save.

Each row contains the key metadata fields, so you can sort, pivot, and chart your mail however you like.

## Convert MBOX to EML

[EML](https://mboxviewerpro.com/glossary/eml/) is the universal “one message, one file” format. Exporting to EML is the cleanest way to move selected emails into Apple Mail, Outlook, or Thunderbird without dragging the whole archive along.

1.  Select one or more messages in Mbox Viewer.
2.  Choose **File → Export → EML**.
3.  Choose a folder.

Mbox Viewer writes one `.eml` file per message, preserving headers, formatting, and attachments. You can then drag those files straight into another mail client.

## Export to text or PDF

-   **Text:** Select messages and choose **Export → Text** to get clean, readable bodies — perfect for `grep`, indexing, or pasting into a document.
-   **PDF:** Select a message and choose **Export → PDF** for a formatted, shareable snapshot. This is the go-to format for legal hand-offs and printing, because the layout is fixed.

## Extract attachments in bulk

Hunting through hundreds of emails for that one PDF invoice is tedious. Mbox Viewer can pull **every [attachment](https://mboxviewerpro.com/glossary/attachment/)** out at once.

1.  Select the messages (or all of them).
2.  Choose **File → Export → Attachments**.
3.  Pick a destination folder.

The app saves each attachment with its original filename, so you end up with a clean folder of documents, images, and files — no email wrapper around them.

> **Tip:** Combine search with extraction. Run `has:attachment from:accounting@` first, then export attachments to grab just the invoices.

## A typical workflow

Here’s how these pieces fit together for a common task — *archiving a year of project email*:

1.  Open the MBOX and search `subject:"Project Atlas" date:2025`.
2.  Export the matching messages to **EML** for safekeeping.
3.  Export the same set to **CSV** for a quick index.
4.  Extract **attachments** into a `Project Atlas/Files` folder.

In a few minutes you’ve turned one giant archive into organized, reusable pieces — and nothing ever left your Mac.

## Your email, in any format you need

Mbox Viewer makes MBOX a starting point, not a dead end. Convert, export, and extract with a few clicks.

[Get Mbox Viewer on the Mac App Store →](https://apps.apple.com/app/mbox-viewer-pro/id6759237715)

## Open your archive with Mbox Viewer

Native Mac and Windows app. Streams MBOX and EML files of any size, fully offline.

[Mac App Store](https://apps.apple.com/app/mbox-viewer-pro/id6759237715) [Microsoft Store](https://apps.microsoft.com/store/detail/9NW3GVFG7DDB)
