How to open an .eml file on any device

Open .eml email files on Windows, Mac, iPhone or Android, with or without Outlook. What to do when an .eml opens the wrong app, shows raw code or garbled text.

An .eml file is one email saved in the standard internet format: plain text, with the body and attachments encoded as MIME parts. Unlike Outlook's .msg, almost every mail app can read it, so opening one is usually a double-click. When that double-click does nothing, opens the wrong program or shows a wall of code, the fixes are below.

Quickest: open it in your browser

Drag the file onto the MsgLens viewer, or tap to choose it on a phone. You get the formatted message, the sender and recipients, every attachment for download and the raw headers. The file is parsed in your browser and never uploaded, which you can confirm in the browser's Network tab. Nothing to install, and it works the same on Windows, Mac, Linux, iPhone and Android.

On Windows

  • Outlook, classic or new, opens .eml: double-click the file, or right-click it and choose Open with, then Outlook.
  • Thunderbird is free and opens it too: File, Open, Saved Message.
  • A new PC may have no program for .eml at all. Microsoft retired the built-in Mail app at the end of 2024, and Windows does not open the format on its own.

On a Mac

Apple Mail opens .eml with a double-click, as does Outlook for Mac. If another app grabs the file, see the default-app fix below.

On iPhone and Android

Phones open an .eml that arrives attached to an email, but a saved or downloaded .eml often will not open, or shows up as raw text. The browser viewer above is the reliable route: open msglens.app, tap to choose a file and pick it from Files or Downloads.

In a text editor

Because .eml is text, Notepad or TextEdit will open it. The headers at the top are readable, which is useful for checking who really sent a message and which servers it passed through. The body is usually encoded (base64 or quoted-printable), and attachments always are, so this is for inspection rather than reading.

When it will not open properly

  • It opens in the wrong app. On Windows, right-click the file, choose Open with, then Choose another app, pick your mail app and tick Always. On a Mac, select the file, choose Get Info, set Open with and click Change All.
  • It shows code instead of an email. It opened in a text editor or a browser tab that displays the raw file. Use a mail app or the viewer, which decode it.
  • The text is garbled. The message uses a character set your app did not apply, common with Chinese, Japanese and Cyrillic mail. The viewer decodes the charset the message declares, including encoded subject lines.
  • The only attachment is winmail.dat. The sender used Outlook Rich Text, and the real attachments are packed inside it. Open the winmail.dat to get them out.
  • It is not really an .eml. Files get renamed. The viewer identifies the format from its contents, so a .msg saved with the wrong extension still opens.

Saving or converting it

From the viewer you can save the message as a PDF, which is what most people need for a record or for printing; see converting to PDF. If you are choosing between formats for messages you save from Outlook, EML vs MSG explains what each keeps.

Common questions

What program opens .eml files?

Any standard mail app: Outlook, Apple Mail and Thunderbird all open .eml. Without one installed, a browser-based viewer such as MsgLens opens it with nothing to install.

Can I open an .eml file without Outlook?

Yes. .eml is an open standard, so Apple Mail, Thunderbird and browser-based viewers read it. Outlook is only needed for Outlook's own .msg format.

How do I open an .eml file on iPhone or Android?

Open msglens.app in Safari or Chrome, tap to choose a file and pick the .eml. The file is read on the phone itself and not uploaded.

Why does my .eml file show code instead of the email?

It opened in a text editor or a browser tab that shows the raw file. A mail app or viewer decodes the MIME parts back into the formatted message with its attachments.

Is it safe to open an .eml file?

Treat it like any email from that sender: the body can contain tracking images and links, and attachments can carry malware. MsgLens blocks remote images by default and never runs scripts from the message, but only open attachments you trust.

Open a .msg file right now

No sign-up, no upload, no software to install.

Open the viewer