# EML ビューア

> .eml のヘッダー、書式付きの本文、画像、添付ファイルを、言語や文字コードに関係なく正しくデコードします。PDF として保存したり、添付ファイルを ZIP でまとめてダウンロードしたりでき、どの端末でも使えます。

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

## What it does

eml ファイルの開き方：添付ファイルもそのまま表示 .eml のヘッダー、書式付きの本文、画像、添付ファイルを、言語や文字コードに関係なく正しくデコードします。PDF として保存したり、添付ファイルを ZIP でまとめてダウンロードしたりでき、どの端末でも使えます。

## .eml ファイルとは

.eml はインターネット標準の形式（RFC 822 と MIME）で保存されたメール 1 通分のファイルです。From、To、Subject、Date などのテキストのヘッダーに続いて、本文テキスト、HTML 版、添付ファイルが、テキストとして送れるようにエンコードされて入っています。Thunderbird、Apple Mail、Gmail（［メッセージをダウンロード］）、Outlook.com、多くのチケット管理やアーカイブのシステムがこの形式でメールを保存します。テキストエディタでも開けますが、エンコードされたヘッダー、quoted-printable の行、base64 の添付ファイルが含まれるため、ビューアなしでは読みにくくなっています。

## こんな方に

証拠資料、添付ファイル、エクスポートとして .eml を受け取った方。資料をまとめる弁護士や人事担当者、経理担当者、転送されたメールを確認するサポートや IT の担当者、Thunderbird やチケットシステムのメールアーカイブを持っている方、そしてフィッシングメールをメールソフトで開かずに確認したい方に。

## Facts

- **開ける形式:** .eml（RFC 822/MIME）、.emlx、mbox、Outlook .msg
- **デコード:** UTF-8、ISO-8859、windows-1252、ISO-2022-JP、KOI8-R、base64、quoted-printable
- **表示内容:** すべてのヘッダー、HTML またはテキストの本文、埋め込み画像、添付ファイル、会議の招待
- **保存:** メールの PDF、添付ファイル、またはそれらをまとめた ZIP

## How a person does it

1. **.eml を開く.** ビューアにドロップするか、［ファイルを選択］をタップするか、公開されている .eml のリンクを貼り付けます。
2. **読む.** 上部に件名、差出人、宛先、日時、その下に作成時のデザインどおりの本文、間に添付ファイルが表示されます。外部の画像は、読み込みを選ぶまで表示されません。
3. **保存する.** 記録用に PDF として保存したり、添付ファイルをダウンロードしたり、中に添付されたメールを開いたりできます。

## 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/ja-jp/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

.eml にはテキスト版と HTML 版の両方が入っていることがあります。ビューアは HTML 版を表示し、HTML 版がない場合はテキスト版を使います。メールに埋め込まれた画像（cid:）はすぐに表示され、インターネット上の画像は［画像を読み込む］を押した後にだけ表示されます。Received の経路を含む元のヘッダーはすべて［詳細］で確認できます。

## Not done by this tool

- メールの送信、返信、編集はできません
- Outlook のデータファイル（.pst、.ost）は開けません
- S/MIME や PGP で暗号化されたメールは復号できません
- winmail.dat（TNEF）の添付ファイルの展開には、まだ対応していません

## 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

ブラウザ内で開くため、メールはお使いの端末から出ません。アップロードは一切なく、メールの情報がリンクに含まれることもありません。

## FAQ

- **Outlook なしで Windows で .eml ファイルを開くには？** ここにドロップしてください。Windows には標準の「メール」アプリがなくなりました（Microsoft が 2024年12月31日に提供を終了）。新しい Outlook for Windows では、閲覧ウィンドウにドラッグするか［プログラムから開く］を選ぶと .eml を開けます。このビューアはメールソフト不要で、どのパソコンやスマートフォンでも使えます。
- **ソフトで開くと Ã© のような文字化けが出ます。ここでは正しく表示されますか？** ほとんどの場合、正しく表示されます。ビューアはメールで宣言された文字コード（宣言がない場合は windows-1252）を読み取り、エンコードされた件名やファイル名も含めてデコードします。
- **メールの送信元を調べるために、すべてのヘッダーを見られますか？** はい。［詳細］を開き、［すべてのヘッダー］を選んでください。Received の行、Message-ID、Authentication-Results（SPF、DKIM、DMARC）が記載されたとおりに一覧表示され、送信者のチェック結果は［プライバシーと安全性］にまとめて表示されます。
- **mbox のメールボックスは開けますか？** はい。mbox の最初の 500 件のメッセージが左側に一覧表示されます。タップすると読めます。
- **本当に無料ですか？** はい。広告なし、登録不要、制限なし、有料プランもありません。
- **メールはアップロードされますか？** いいえ。ファイルはお使いの端末上で、このページ内で読み込まれます。アップロードボタンもメールの共有リンクもありません。
- **AIエージェントでも使えますか？** はい。エージェントは自分の.emlや.msgをAPI（mail_view、登録不要、無料で呼び出し可能。呼び出し方法は「AIエージェント向け」に記載）に送信し、ヘッダー、本文、添付ファイルをデータとして受け取れます。アップロードされたファイルは結果を返した時点で削除されます。また、公開されている.emlや.msgをリンクでこのビューアーに開くこともできます（?src= とファイルのアドレスを追加）。
- **運営者は誰ですか？** Unmake Labs（Julien Salomon）です。お問い合わせ：hello@unmakelabs.com

## Related pages

- [MSGビューア](https://unmakelabs.com/ja-jp/msg-viewer/)
- [MSG PDF 変換](https://unmakelabs.com/ja-jp/msg-to-pdf/)
- [EML PDF 変換](https://unmakelabs.com/ja-jp/eml-to-pdf/)
