What Is a .EML File?

A .eml file is a single email message saved as plain text in the standard internet message format. It contains the headers (sender, recipients, subject, date), the body in text or HTML, and any attachments encoded inside. Outlook, Apple Mail and Thunderbird open EML files, and any text editor can read them.

Extension
.eml
Full name
Email Message
Type
Email and calendar file
MIME type
message/rfc822

About EML files

EML follows RFC 5322 and MIME, the same format mail servers use to deliver messages, so saving an email as EML keeps it exactly as received. Attachments are stored inside as Base64 text, which makes an EML about a third larger than the attachments it carries. Gmail's Download message option, Thunderbird and Apple Mail all save messages in this format.

Opening an EML in a text editor shows the raw message, including full headers with the Received lines that trace the servers it passed through. That makes EML the preferred format for forwarding a phishing or spam email to an IT team, because a normal forward strips this detail.

An EML file can contain the same risky content as any email: links to fake login pages and attachments with macros or executables. Opening it in a mail app is like opening the original message, so treat EML attachments you did not expect with the same caution.

What EML files are used for

  • Saving individual emails outside the mailbox for records or legal evidence
  • Forwarding a suspicious email with full headers to IT or security
  • Moving messages between different email apps
  • Attaching one email to another as a file

How to open a .eml file

Windows

Double-click to open it in Outlook, or use Thunderbird (free). Notepad shows the raw message and headers.

Mac

Double-click to open it in Apple Mail, or press Space in Finder for a Quick Look preview.

Online / any browser

Attach the EML to a new email to yourself; Gmail and Outlook on the web can preview attached messages.

Linux

Open it in Thunderbird or any text editor.

How to convert a .eml file

To save an EML as PDF, open it in Apple Mail, Outlook or Thunderbird and print to PDF (File > Export as PDF in Apple Mail).

To get the attachments out, open the EML in a mail app and save each attachment; renaming .eml to .pdf or .doc does not extract anything.

To import many EMLs into a mailbox, drag them into a folder in Thunderbird (with the ImportExportTools NG add-on) or Apple Mail.

Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.

Naming and renaming EML files

  • Start the name with the date and add the sender and subject (2025-03-12-acme-invoice-1042.eml) so saved messages sort like an inbox.
  • Remove characters that Windows forbids, such as colons and question marks, which often appear in subject lines.
  • For legal or compliance archives, never edit the EML itself; rename only, so the headers stay intact.

Renaming lots of .eml files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.

Related file types

Frequently Asked Questions

How do I open an EML file without Outlook?

Use Apple Mail on a Mac, Thunderbird on any computer, or any text editor to read the raw text.

What is the difference between EML and MSG?

EML is the open internet standard used by most mail apps; MSG is Microsoft Outlook's own binary format.

Is an EML file safe to open?

Viewing it is generally as safe as reading an email, but links and attachments inside can be malicious, so do not open unexpected attachments.

How do I save a Gmail email as an EML?

Open the message, click the three-dot menu and choose Download message.

More email and calendar file extensions · all file extensions