Guides ·

How to open an EML file

An .eml file is a single email saved as a file, often downloaded from Gmail, exported from a ticket system or sent as evidence. This post explains what is inside one, which programs open it, and how to read it safely, attachments included, without a mail program.

Drop your .eml on the free EML viewer to read it, with its attachments and invites, in your browser.Try it on your own file
The EML viewer showing a pizza party invite: three attachments (an .ics, a menu and a picture), a calendar event box and the formatted text
robot-pizza-party.eml in the EML viewer: attachments, the invite as a calendar box, then the text. Sample email: made by unmake.

What an .eml file is

An .eml is one email in the internet's own format. The headers come first, one per line: From, To, Subject, Date and others. Their rules are in RFC 5322, the Internet Message Format, which replaced the older RFC 822; that is why some programs, the viewer included, still say RFC 822. Then comes the body.

The body uses MIME, the standard that lets one email carry several parts. A typical email has a plain-text version, an HTML version with the formatting, and attachments. Each part starts with a short boundary line and its own Content-Type. Attachments are turned into long lines of letters and digits called base64, so a picture can travel as text.

Inside robot-pizza-party.eml: plain text with the headers first, then a text version, an HTML version and three attachments written out as base64 text
The same email as plain text: headers, two versions of the message, then the attachments as base64. Diagram: unmake, shortened lines from the file.

Where .eml files come from

In Gmail, the menu on an open message has Download message, which saves it as an .eml. Thunderbird saves messages as .eml, and dragging a message out of Apple Mail onto the desktop does the same. Help desks and archives often export emails this way too.

Opening it with what you already have

On a Mac, double-clicking an .eml opens it in Apple Mail. On Windows, the classic Outlook opens it, and so does Thunderbird if you use it. The old Windows Mail app is no longer an option: Microsoft ended support for Mail and Calendar on December 31, 2024.

A text editor such as Notepad or TextEdit also opens it, because it is plain text. The headers are readable. The rest is harder: the HTML is mixed with code, long lines end in "=" signs, and attachments are pages of base64.

Reading it in your browser

With no mail program, or for a strange email, use the EML viewer. Drag the file onto the page or click Choose a file. The viewer decodes the parts and shows the email the way a mail program would: subject and sender at the top, the header, the attachments, then the formatted text.

It also keeps you safe while reading. Scripts, forms and frames in the email are switched off, and pictures that would load from the internet are held back, so opening the email tells the sender nothing. The file is read in your browser and not uploaded.

Attachments and calendar invites

Each attachment gets a card with its type, its size and a Download button. Calendar invitations are .ics files (the iCalendar format, RFC 5545). The viewer reads them and shows a Calendar event box with the title, the time and the place, so you see the invite without importing it. To add it to your calendar, download the .ics and open it.

Save as PDF makes one PDF with the email first and the attachments as pages after it. More holds Email only as PDF and a ZIP of all the attachments.

Seeing every header

Open Details on the right; a link like "All 6 headers" shows each header as it was written. In a real received email this list is longer: Received lines show the servers it passed through, and Authentication-Results holds the sender checks (SPF, DKIM, DMARC) that the receiving server recorded. The Privacy and safety panel summarises those checks when they are present.

A worked example: a robot's pizza party invite

  1. The file: robot-pizza-party.eml, 19 KB and 300 lines of plain text, our own test invite from "Kitchen Robot".
  2. In a text editor, the first four lines are readable: From, To, "Subject: Robot pizza party: Friday 18:00" and "Date: Fri, 04 Dec 2026 09:12:00 +0100". After the text and HTML versions come three attachments as base64; the picture alone takes 228 lines.
  3. In the EML viewer, the header shows Friday, December 4, 2026 at 9:12 AM (our computer runs on Central European Time, matching the +0100).
  4. The attachment card reads "3 attachments, 13 KB": pizza-party.ics (229 B), menu.txt (73 B) and robot.png (13 KB).
  5. A Calendar event box reads "Robot pizza party", Friday, December 4, 2026 at 6:00 PM – 9:00 PM, Workshop, bench 2.
  6. The text appears formatted, with "all six screws" in bold. Opened, Details shows Format: EML (RFC 822) and "All 6 headers".
  7. Email only as PDF, under More, made a one-page PDF. Its header gives the local time and, under it, "Date header (sender's clock): Fri, 04 Dec 2026 09:12:00 +0100".
  8. Save as PDF made a 4-page PDF: the email, menu.txt as text, robot.png as a page, and a contents page saying pizza-party.ics can't be turned into pages. The ZIP held all three files (13,506 bytes).

Common mistakes

Questions

Is an .eml the same as a .msg?

No. An .eml is plain text in the internet's standard format; a .msg is Outlook's binary container. The EML viewer opens both.

Can I open an .eml without any mail program?

Yes. Open it in a browser viewer to read it with its attachments, or in a text editor to see the raw headers.

What is the .ics file attached to my email?

A calendar invitation in the iCalendar format. Open it with your calendar app to add the event.

Can I save the email as a PDF?

Yes. Save as PDF gives one file with the attachments as pages and names any it couldn't include; Email only as PDF, under More, gives the email alone.

Sample file: robot-pizza-party.eml · ours (made by unmake for testing)

Sources

Drop your .eml on the free EML viewer to read it, with its attachments and invites, in your browser.Try it on your own file