Map Extract
Free tool

Email text extractor

Get the readable content out of saved email files without opening a mail program. Choose EML, Apple Mail EMLX, Outlook MSG or MBOX files and extract the headers and body as plain text, every email address mentioned, a list of attachments, or structured JSON for another tool.

Runs in your browser. Nothing you enter is uploaded.

Extracting text from email files

  1. Pick what to extract

    Headers and body, Email addresses, Attachment list or JSON. You can change this afterwards with the View switch.

  2. Choose one or more files

    EML, EMLX, MSG and MBOX are accepted. Each file gets a chip so you can move between them or remove one.

  3. Check the figures

    Words, characters, what the file contains and its format are shown above the output, along with any warnings from reading it.

  4. Copy or download

    Download the current view as TXT or JSON, copy it, or export the messages as an Excel or CSV table. With several files, All as ZIP saves one output per file.

What each view gives you

ViewOutputGood for
Headers and bodySubject, from, to and date, then the message text, for each messageQuoting an email in a report or ticket
Email addressesEvery address in the From, To and Cc fields and in the body text, de-duplicated and sortedCollecting contacts mentioned in a thread
Attachment listFile name, type, size in bytes and the message subject, one per lineAn index of what was sent
JSONThe parsed content as structured dataFeeding another script or tool
Excel or CSV exportOne row per message: date, from, to, cc, subject, attachment names, bodySorting and filtering many messages

Example: addresses from a supplier thread

A buyer at a garden centre (fictional) saved a long thread with a wholesaler as an EML file. The thread mentions colleagues in the body ("copying in our accounts team at [email protected]") as well as in the headers.

The Email addresses view lists both kinds, because it reads the message text as well as the address fields. Addresses are lowercased for de-duplication and sorted.

Input
Order query - spring bedding.eml
From: Ruth Ellis <[email protected]>
To: [email protected]
Cc: Marcus Hale <[email protected]>
Body: Thanks for the order. I'm copying in our accounts team at [email protected] about the credit terms.
Result
[email protected]
[email protected]
[email protected]
[email protected]

Files this tool does not open

Outlook's PST and OST data files are not read. They are large proprietary databases of whole mailboxes, and the practical route is to export the folder you need to MBOX or drag the messages out of Outlook as MSG files, then open those here.

Image-only content is another limit. If a message body is a scanned letter or a screenshot, there is no text in the file to extract; you would need OCR on the image instead. HTML messages are converted to readable text, so tables and links come through as plain lines.

Questions people ask

How do I extract text from an EML file?

Choose the EML file here and keep the Headers and body view. The sender, recipients, date, subject and message text appear in the box, ready to copy or download as a TXT file. HTML emails are converted to plain text. For many files at once, choose them together and use All as ZIP.

Can I open a PST file here?

No. PST and OST files are Outlook's own mailbox databases and are not read by this tool. In Outlook, export the folder you need to MBOX if your version supports it, or select the messages and drag them to a folder, which saves them as MSG files that this tool can read.

Does it find email addresses in the message body?

Yes, in the Email addresses view. It reads the From, To and Cc fields and searches the body text for anything shaped like an address, then removes duplicates. Addresses inside images or attachments are not found, and an address written with words, such as name at domain dot com, is not recognised.

What is an EMLX file?

EMLX is the format Apple Mail uses to store each message on a Mac. It is a standard email message with a byte count at the start and some Apple data at the end. This tool reads the message part and ignores the rest, so EMLX files behave exactly like EML.

Where your data goes

Every file is parsed by code running on this page. Message text, addresses and attachment names stay on your computer, and nothing is sent to a server when you extract, copy or download.

Checked against the tool on

Top