Save Bulk Gmail Attachments

What Is an EML File? How to Open, Read and Convert It

By Ladislav Martincik — Founder & Developer, Save Bulk Gmail Attachments ·

Quick answer: An EML file is one email saved as a file. It holds the sender, recipients, date, subject, body and every attachment as plain text, in the standard internet message format. Double-click it to open it in Outlook, Apple Mail or Thunderbird. With no mail app, open it in our free EML Viewer.

You usually meet an EML file in one of two ways. Someone forwards you an email “as an attachment”, or you click Download message in Gmail and a file ending in .eml lands in your Downloads folder. Both times the file is a complete copy of one email.

Open an EML file now: drop it on our free EML Viewer. It shows the email and its attachments in your browser, works on phones too, and never uploads the file.

This guide explains what is inside it, how to open it on each device, and how to get the attachments out.

What is inside an EML file

An EML file follows the internet message format defined in RFC 5322. Attachments and formatted bodies use MIME, defined in RFC 2045. In practice that means one text file with three parts:

Because it is plain text, you can open an EML file in Notepad or TextEdit and read the raw headers. The body and attachments will look like long blocks of letters, which is the encoded form. A mail app or viewer decodes them back into a readable email.

Where EML files come from in Gmail

Gmail creates EML files in two places, both documented on Google’s Download and send emails as attachments help page:

  1. Download message. Open an email, click the three-dot More menu, then Download message. Gmail saves that one email as an .eml file. The steps, and when to pick a PDF instead, are in how to save emails from Gmail.
  2. Forward as attachment. Select emails, click More, then Forward as attachment. Each selected email becomes an .eml file attached to a new message. See how to attach an email in Gmail for every way to do it.

How to open an EML file

In your browser (any device)

The fastest option needs no install. Open our free EML Viewer, then choose the file or drop it on the page. It shows the sender, recipients, date, subject and body, and lists each attachment with a Save button. The page reads the file in your browser and does not upload it. It opens files up to 100 MB and reads both .eml and Apple Mail’s .emlx.

On Windows and Mac

Double-click the file. Your computer opens it in the default mail app. Outlook opens EML files on Windows, and Apple Mail opens them on a Mac. Thunderbird opens EML files on Windows, Mac and Linux. If no mail app is set up, the system asks which app to use. Pick a mail app, or use the browser option above.

On iPhone and Android

Phones have no built-in EML opener. Open the EML Viewer in Safari or Chrome, tap Choose .eml file, and pick the file from Files or Downloads. The email and its attachments appear on the page.

In Gmail

Gmail has no command to open a file from your computer. The workaround is to send it to yourself:

  1. Compose a new email to your own address.
  2. Attach the .eml file and send it.
  3. Open the message you receive and click the attachment. Gmail shows a preview of the email.

Google’s help page says a downloaded EML file needs a desktop mail client, so for anything more than a quick look, use a mail app or the viewer.

EML vs MSG vs MBOX vs EMLX

These four formats come up in the same searches. They are not interchangeable.

FormatWhat it holdsWho makes itWhat opens it
.emlOne email, open standardGmail, Thunderbird, Apple Mail, most toolsAlmost every mail app, browser viewers
.msgOne email, Microsoft binary formatOutlook on WindowsOutlook; few other apps
.mboxMany emails in one fileGoogle Takeout, Thunderbird, Apple Mail exportThunderbird, Apple Mail, MBOX readers
.emlxOne email plus Apple metadataApple Mail’s own storageApple Mail, some viewers (ours included)

If you exported your whole mailbox with Google Takeout, you have an MBOX file, not a folder of EML files. Our guide to backing up Gmail emails with attachments covers how to read it. Our EML Viewer does not open .msg files yet.

How to convert an EML file to PDF

A PDF is better than an EML when a person will read it, print it or file it as a record.

  1. Open the EML file in the EML Viewer or in your mail app.
  2. Click Save as PDF in the viewer, or Print in the mail app.
  3. Choose Save as PDF as the destination and save.

The PDF holds the email itself, not the attached files. Save the attachments separately. For an email that is still in your inbox, skip the EML step and follow how to save a Gmail email as a PDF.

Is it safe to open an EML file?

The file is text and cannot run by itself. What matters is what it carries:

Open EML files from strangers in a viewer that blocks scripts and remote images. Ours renders the body in a sandboxed frame that runs no scripts, keeps remote images blocked until you allow them, and never opens attachments, it only saves them. The security overview explains how the site and extension handle files. Do not run an attachment you did not expect, whatever app you use.

Why is the EML file bigger than its attachments?

Email can only carry text, so attachments are converted to Base64 before they go into the file. Base64 turns every 3 bytes into 4 characters, which adds about a third to the size. A 9 MB PDF inside an email makes an EML file of roughly 12 MB, plus the headers and body.

Getting the attachments out of EML files

For one EML file, open it in a viewer or mail app and save each attachment.

It gets slow when the EML files are sitting in your Gmail as attachments, for example when a colleague forwarded you 30 emails as attachments, each with its own invoices inside. Opening each attached email and saving each file by hand takes a while.

Save Bulk Gmail Attachments handles that case. Select the emails in Gmail and save their attachments to a ZIP or to Google Drive in one step. When an attachment is itself an email, the extension opens it and saves the files inside it too, including emails attached inside attached emails. The free plan covers 7 attachments a day, and Pro is $9 a month for unlimited files. The guide to downloading Gmail attachments in bulk compares it with the manual methods.

Frequently Asked Questions

What is an EML file?

An EML file is a single email saved as a file. It follows the internet message standard (RFC 5322, with MIME for attachments), so it holds the sender, recipients, date, subject, body and every attachment in one plain-text file that most mail apps can open.

How do I open an EML file without Outlook?

Double-click it to use another mail app, such as Apple Mail or Thunderbird. With no mail app installed, open it in a browser-based viewer. Our free EML Viewer reads the file in your browser without uploading it.

How do I open an EML file in Gmail?

Gmail has no command to open a file from your computer. Attach the .eml to an email to yourself, send it, then click the attachment in the message you receive. Gmail shows a preview of the email.

Can I open an EML file on my phone?

Yes. On iPhone or Android, open a browser-based EML viewer, tap the button to choose a file, and pick the .eml. The email and its attachments show on the page.

What is the difference between EML and MSG?

EML is the open internet standard that almost every mail app reads. MSG is Microsoft Outlook's own binary format. Outlook opens both. Most other apps and viewers open only EML.

Are EML files safe to open?

An EML file is text and cannot run by itself. The risk is in what it carries: phishing links, scripts in the HTML body, tracking images and harmful attachments. Open it in a viewer that blocks scripts and remote images, and do not run attachments you did not expect.

Can I edit an EML file?

Yes. It is plain text, so any text editor opens it and shows the raw headers. Editing it means the file is no longer an exact copy of the email that arrived, so do not edit a file you keep as evidence.