Map Extract
Free tool

Extract attachments from MBOX, EML and MSG files

Save every attachment from a mailbox export in one go instead of opening messages one by one. Filter by file type and minimum size to skip signature logos, choose how the ZIP is organised, and get a CSV list of every file with its sender, subject and date.

Runs in your browser. Nothing you enter is uploaded.

Example: finding the documents in a sales inbox

Sam (fictional) exported his sales mailbox to collect every proposal and invoice that came through it. The mailbox holds three attachments: a 26 KB PDF summary, a 4.5 KB PDF invoice and a 28 KB PNG screenshot.

The Documents by sender preset keeps PDFs, Word and text files of 20 KB or more, in one folder per sender domain. Only the summary qualifies; the small invoice is under the size floor and the screenshot is not a document. Lowering the smallest file to 0 would bring the invoice back.

Input
brightline-sales.mbox (5 messages)
Preset: Documents by sender (Documents, smallest file 20 KB, one folder per sender domain)
Result
Messages read: 5   Attachments found: 1   Total size: 25.4 KB   From messages: 1
ZIP contents:
brightline-bookings.example/Brightline-summary.pdf

Extracting attachments

  1. Choose the files

    Pick an MBOX export, any number of EML files, Outlook MSG files, or a mixture. Large MBOX files are read in slices and you can stop at any time.

  2. Start from a preset

    Every attachment, Documents by sender, PDFs in one folder, or Photos and images. Each preset sets the four controls below, which you can then adjust.

  3. Set type, size and folders

    File types: all, documents, PDF only, spreadsheets, images, or ZIP and archives. Smallest file in KB. Folders in the ZIP: per message, per sender domain or all in one.

  4. Decide about inline images

    Logos and pictures embedded in the message body are left out unless you tick Include inline images.

  5. Download

    Download all builds one ZIP. List (CSV) gives file name, type, size, date, sender and subject for every file found. Any single file can be saved from the table.

File type groups

GroupExtensions included
Documents.pdf, .doc, .docx, .odt, .rtf, .txt, .pages, .md
PDF only.pdf
Spreadsheets.xls, .xlsx, .xlsm, .ods, .csv, .numbers
Images.jpg, .jpeg, .png, .gif, .webp, .heic, .bmp, .tif, .tiff, .svg
ZIP and archives.zip, .7z, .rar, .gz, .tar

Practical uses for small businesses

Pulling attachments out of a mailbox is common when someone leaves and their inbox needs handing over, when an accountant asks for a year of supplier invoices, or when a client wants every signed quote and purchase order in one folder. The CSV list is useful in its own right as an index of what was received from whom and when.

For prospecting teams it is a quick way to gather the price lists, brochures and stock files suppliers and partners have sent over time, with the sender domain telling you which company each came from. Folder names in the ZIP are made from the message date and subject, or the sender's domain, so the archive stays readable.

  • An attachment inside a forwarded message is saved as the forwarded message file (.eml), not opened further.
  • Duplicate file names in the same folder get a number added so nothing is overwritten.

Questions people ask

How do I extract all attachments from an MBOX file?

Choose the MBOX here, pick the Every attachment preset and press Download all. Every file attached to every message is saved into one ZIP, with a folder per message by default. Change the folders option to group by sender domain or put everything in one folder, and use the CSV list to see where each file came from.

How do I skip email signature logos?

Set Smallest file to 20 KB or so, which is what the Documents and Photos presets use. Logos and social icons in signatures are usually a few kilobytes. Leave Include inline images unticked as well, since most signature images are embedded in the message body rather than attached.

Can it open attachments in Outlook MSG files?

Yes. MSG files saved from Outlook are read without Outlook, and their attachments are listed and saved like any other. You can mix MSG with EML and MBOX in one run. If an Outlook message arrived elsewhere with a winmail.dat attachment, use the Winmail.dat opener to unpack that file.

Is there a limit to how many messages it can read?

The tool reads up to 50,000 messages in one run. The practical limit is your computer's memory, because attachment data is kept until you download the ZIP. For very large mailboxes, split the MBOX by year or size first, or filter to one file type to keep the ZIP manageable.

Where your data goes

Messages and their attachments are decoded in your browser and the ZIP is assembled locally. No email or file is uploaded at any point, so this is safe to use with client documents, invoices and contracts.

Checked against the tool on

Top