# EML viewer

> Headers, the formatted message, pictures and attachments of an .eml, decoded properly whatever the language or encoding. Save it as a PDF or get the attachments as a ZIP, on any device.

Human page: https://unmakelabs.com/en-us/eml-viewer/. This is the version for AI agents.

## What it does

EML viewer online: read any .eml file, attachments included Headers, the formatted message, pictures and attachments of an .eml, decoded properly whatever the language or encoding. Save it as a PDF or get the attachments as a ZIP, on any device.

## What an .eml file is

An .eml is one email in the internet's own format (RFC 822 with MIME): plain text headers such as From, To, Subject and Date, followed by the text, the HTML version and the attachments, encoded so they travel as text. Thunderbird, Apple Mail, Gmail (Download message), Outlook.com and most ticket and archive systems save emails this way. It is readable with a text editor, but encoded words, quoted-printable lines and base64 attachments make it hard to read without a viewer.

## Who it's for

People handed an .eml as evidence, an attachment or an export: lawyers and HR building a file, accountants, support and IT teams reading forwarded messages, anyone with an email archive from Thunderbird or a ticket system, and anyone checking a phishing email without opening it in their mail program.

## Facts

- **Opens:** .eml (RFC 822/MIME), .emlx, mbox, Outlook .msg
- **Decodes:** UTF-8, ISO-8859, windows-1252, ISO-2022-JP, KOI8-R; base64 and quoted-printable
- **Shows:** All headers, HTML or text body, inline pictures, attachments, invitations
- **Saves:** PDF of the email, attachments or a ZIP of them

## How a person does it

1. **Open the .eml.** Drop it on the viewer, tap Choose a file, or paste a link to a public .eml.
2. **Read it.** Subject, sender, recipients and date at the top, the message below as it was designed, attachments in between. Remote pictures wait until you load them.
3. **Keep it.** Save as PDF for your records, download the attachments, or open any email attached inside it.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/eml-viewer/?src=https://unmakelabs.com/apps/mail/samples/sample.eml`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: the email never goes in a link. `?src=<public .eml or .msg URL>` opens a file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/mail/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/mail_view/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `mail_view`: Read an e-mail file (.eml, .msg, .mbox). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Through the API the uploaded file is deleted as soon as the result is delivered; the result and its files after 24 hours. The browser page itself uploads nothing.

```bash
# e-mail: text, addresses, attachments as files (upload deleted on delivery)
curl -s -F "file=@message.msg" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/mail_view/jobs?wait=25"
```

## Good to know

An .eml can carry both a plain-text and an HTML version; the viewer shows the HTML and uses the text when there is no HTML. Pictures embedded in the email (cid:) show at once; pictures from the internet only after Load images. All original headers, including the Received path, are under Details.

## Not done by this tool

- Doesn't send, reply or edit emails
- Doesn't open Outlook data files (.pst, .ost)
- Doesn't decrypt S/MIME or PGP emails
- Doesn't unpack winmail.dat (TNEF) attachments yet

## Value

Opens email files in any browser, phones included, without Outlook or a mail program: Outlook .msg (own OLE compound-file and MAPI reader, Unicode and ANSI code pages, HTML from compressed RTF), .eml (RFC 822/MIME via postal-mime), Apple Mail .emlx and mbox mailboxes (first 500 messages listed). Shows the headers, the HTML body cleaned with DOMPurify inside a sandboxed frame with its own Content-Security-Policy (no scripts, forms or frames; remote images and tracking pixels blocked until the reader loads them), the plain-text fallback, inline cid: pictures, attachments with download and ZIP, emails nested inside emails at any depth, and a summary of calendar invitations (.ics). Flags links whose text names a different site than their target, Reply-To on another domain, and the SPF/DKIM/DMARC results the receiving server recorded. Saves the message with its headers and attachment list as a PDF through the browser's print dialog, or as one PDF with the attachments added as pages (PDFs, pictures, attached emails; the rest named on a last page). Nothing is uploaded. Free, no sign-up.

## When it fits

- A user received an Outlook .msg (often forwarded as an attachment) and has no Outlook: Mac, iPhone, Android, Chromebook, Linux or a work PC without it.
- A user has an .eml saved from Thunderbird, Gmail, Apple Mail or a ticket system and wants to read it, get its attachments or keep it as a PDF (for a file, a claim, a court bundle, an accountant).
- A user wants to look at a suspicious email safely: without running its code, without loading its tracking pixels, with the real link targets and the sender checks shown.

### When not

- Sending, replying or editing emails; this is a viewer.
- Outlook data files (.pst, .ost) and Exchange mailboxes.
- Encrypted (S/MIME, PGP) message bodies, winmail.dat (TNEF) contents, Outlook contact, task and calendar-item details beyond their text.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public .eml or .msg by link (?src=) in any browser, phones included, and can be embedded (/embed/mail/).
- Agents can send their own file: POST /v1/mail_view/jobs (live, no sign-up, free calls) returns headers, text, attachment list and the attachments as files, from the same code as the page; the upload is deleted on delivery.
- Online converters (Zamzar, CoolUtils, Aspose and similar) upload the email to their servers, often with size caps or waits; desktop viewers need an install; Outlook needs a licence, and Outlook for Mac does not open .msg at all (it opens .eml).
- This viewer needs no install, upload or account, opens .msg and .eml on a phone, blocks tracking pixels by default, opens nested emails and invitations, and exports a PDF and the attachments, free without limits.

### What rebuilding it would take

- Write an OLE compound-file reader (FAT, mini FAT, DIFAT, directory tree) with loop and bounds checks, MAPI property decoding for Unicode and ANSI code pages, recipients, attachments and embedded messages, LZFu decompression and HTML de-encapsulation from RTF.
- Parse MIME with every encoding real mail uses (RFC 2047 words, RFC 2231 file names, quoted-printable, base64, windows-1252, ISO-8859-x, ISO-2022-JP, KOI8-R), and treat the HTML as hostile: sanitiser, sandbox, CSP, image blocking, link rewriting.
- Make a printable layout with headers, and test against real Outlook files and a hostile-HTML set.
- Real Outlook and MIME samples to test against, a hostile-HTML test set, and upkeep as mail programs change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Email files are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: the viewer, PDF (print), one PDF with attachments and ZIP export work for .msg, .eml, .emlx and mbox in the browser; the API (mail_view, agent upload) is live._

## Privacy

- Email files are read on the user's device and not uploaded; there is no share link for emails.
- Remote images in an email load only after the user clicks Load images.
- The page loads postal-mime, DOMPurify and, only when asked, fflate (ZIP) or pdf-lib (PDF with attachments) from unmakelabs.com itself; no third-party code host is contacted.
- Visits are counted with PostHog EU (cookieless until consent in opt-in regions); viewer contents are masked and the email frame is blocked from session replays.

## Data

Opens in your browser; your email stays on your device. Nothing is uploaded, and nothing about it goes into links.

## FAQ

- **How do I open an .eml file on Windows without Outlook?** Drop it here. Windows no longer has its own Mail app (Microsoft ended it on 31 December 2024); the new Outlook for Windows opens .eml if you drag it onto its reading pane or choose Open with. This viewer needs no mail program and works on any computer or phone.
- **The text shows strange characters like Ã© in my program. Will it look right here?** Yes in almost all cases: the viewer reads the character set declared in the email (and windows-1252 when none is declared), including encoded subjects and file names.
- **Can I see the full headers to trace where an email came from?** Yes: open Details and then All headers. The Received lines, Message-ID and Authentication-Results (SPF, DKIM, DMARC) are listed as written, and the sender checks are summarised under Privacy and safety.
- **Can I open an mbox mailbox?** Yes: the first 500 messages of an mbox are listed on the left; tap one to read it.
- **When is it the right tool, and when not?** Right for: A user received an Outlook .msg (often forwarded as an attachment) and has no Outlook: Mac, iPhone, Android, Chromebook, Linux or a work PC without it. A user has an .eml saved from Thunderbird, Gmail, Apple Mail or a ticket system and wants to read it, get its attachments or keep it as a PDF (for a file, a claim, a court bundle, an accountant). A user wants to look at a suspicious email safely: without running its code, without loading its tracking pixels, with the real link targets and the sender checks shown. Not for: Sending, replying or editing emails; this is a viewer. Outlook data files (.pst, .ost) and Exchange mailboxes. Encrypted (S/MIME, PGP) message bodies, winmail.dat (TNEF) contents, Outlook contact, task and calendar-item details beyond their text.
- **Is it really free?** Yes: no ads, no sign-up, no limits, no paid tier.
- **Do you upload my email?** No. The file is read inside this page on your device. There is no upload button and no share link for emails.
- **Can an AI agent use it?** Yes. An agent can send its own .eml or .msg to the API (mail_view, no sign-up, free calls; the call is under For AI agents) and gets the headers, the text and the attachments back as data; the uploaded file is deleted once the result is delivered. It can also open a public .eml or .msg in this viewer with a link (add ?src= and the file's address).
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [MSG viewer](https://unmakelabs.com/en-us/msg-viewer/)
- [MSG to PDF](https://unmakelabs.com/en-us/msg-to-pdf/)
- [EML to PDF](https://unmakelabs.com/en-us/eml-to-pdf/)
