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
A .msg file is a single Outlook item, usually an email, saved in Microsoft Outlook's own binary format. It keeps the message body, sender, recipients, dates, attachments and Outlook-specific properties. MSG files open with Outlook for Windows; other email apps generally cannot read them without a converter.
A .pst file is an Outlook data file that stores copies of emails, contacts, calendar items and tasks on your computer. People use PSTs to back up or archive a mailbox and to move mail between accounts. Classic Outlook for Windows opens and imports PST files; the new Outlook has more limited support.
A .mht or .mhtml file is a single-file web page archive. It bundles a page's HTML together with its images, stylesheets and other resources into one MIME-encoded file, so the page can be opened offline exactly as it was saved. Chrome and Edge open MHT files, and Word can open them too.
A .ics file is a calendar file in the iCalendar standard. It contains one or more events, with title, start and end time, time zone, location, description and reminders, as plain text. Google Calendar, Outlook and Apple Calendar can import it, which is why websites offer an Add to calendar ICS download.
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