Home › Developer Tools › EML File Viewer

EML File Viewer

Open an .eml file to read the email exactly as it was sent: the formatted HTML message, the plain-text version, every header and the raw MIME source. Attachments can be saved one by one or as a ZIP, and the file never leaves your device.

Last updated:

Advertisement
Advertisement

How to use the EML File Viewer

  1. Open the file: drop an .eml file on the box or click to choose it. A sample email is shown until you do.
  2. Read the message on the Message tab. Use Plain text to see the text version, or Load remote images if you trust the sender.
  3. Save attachments from the Attachments tab, individually or with Download all (ZIP).
  4. Check the headers for the sender, recipients, Message-ID, authentication results and delivery path.
  5. Export the email as an HTML file to archive or print it, or copy the text, headers or raw source.

What is inside an .eml file

An EML file is plain text. It starts with header lines such as From: and Subject:, followed by an empty line and the body. Modern emails use MIME to nest several parts: a typical message is multipart/mixed (body plus attachments), whose first part is multipart/alternative (a plain-text and an HTML version of the same message), sometimes wrapped in multipart/related to carry inline images. This viewer walks that tree, picks the best version to display and lists everything else as attachments.

HeaderWhat it tells you
From, Reply-ToThe displayed sender and where replies go. Both can be set freely by the sender, so they are not proof of identity.
To, CcVisible recipients. Bcc recipients normally do not appear in received copies.
DateWhen the sender's program created the message, with its time zone offset (for example +0200).
Message-IDA unique identifier; replies refer to it in In-Reply-To and References to build threads.
ReceivedOne line per mail server that handled the message, newest on top. Read bottom-up to trace the route.
Authentication-ResultsThe receiving server's verdict on SPF, DKIM and DMARC checks.
Content-TypeThe MIME type of the body, the character set and, for multipart messages, the boundary string between parts.
Content-Transfer-EncodingHow a part was made safe for transport: base64, quoted-printable, 7bit or 8bit.

Encodings you may see in the raw source

  • Encoded words such as =?UTF-8?B?UTPigJM=?= or =?UTF-8?Q?Mar=C3=ADa?= carry non-English characters in headers (RFC 2047). B means base64, Q a quoted-printable variant where _ is a space.
  • Quoted-printable bodies keep plain letters readable and write other bytes as =XX; a = at the end of a line joins it to the next line.
  • Base64 blocks of 76-character lines are used for attachments and images; they make files about 37% larger in the email (4 characters for every 3 bytes, plus line breaks).
  • RFC 2231 parameters like filename*=UTF-8''r%C3%A9sum%C3%A9.csv encode long or international attachment names.

How to save an email as .eml

Mail programSteps
Gmail (web)Open the message, click the three-dot menu › Download message.
Outlook (new / web)Three-dot menu › Save as or Download, which saves an .eml file.
ThunderbirdFile › Save As › File, or drag the message to a folder.
Apple MailFile › Save As and choose Raw Message Source, or drag the message to Finder.

Need to trace where a message came from? Paste its headers into the Email Header Analyzer to see each relay hop and delay.

Frequently asked questions

What is an .eml file?

An .eml file is a single email saved in the standard Internet message format (RFC 5322 with MIME). It contains the headers (From, To, Subject, Date and the delivery trail), the message body in plain text and usually HTML, and any attachments encoded as text. Outlook, Thunderbird, Apple Mail, Windows Mail and many webmail exports use it.

How do I open an EML file without Outlook?

Drop it onto this page. The email is decoded in your browser, so you can read it, see the attachments and save them on Windows, Mac, Linux, Chromebook or a phone without installing a mail program.

Is it safe to open a suspicious email here?

The HTML is shown in a sandboxed frame that cannot run scripts or submit forms, and remote content is blocked, so opening the file does not tell the sender you read it. Attachments are only saved when you press Download; treat unexpected attachments with care and scan them before opening, just as you would in a mail program.

Is my email uploaded anywhere?

No. The file is read and decoded by JavaScript in your browser. Nothing is sent to a server; the only optional network activity is loading remote images if you press Load remote images, or the ZIP library when you download all attachments at once.

Why are some images missing?

Many newsletters load images from the sender's server. Those remote images are blocked by default to protect your privacy and avoid tracking pixels; press Load remote images to show them. Images embedded in the file itself (cid: inline images) always display.

Can it open Outlook .msg files?

No. .msg is Microsoft's own binary format, not MIME text. The viewer recognizes .msg files and tells you so. Outlook on the web and the new Outlook for Windows can save a message as .eml from the message's … menu; then open that file here.

How can I convert an EML file to PDF?

Open the email, press Download as HTML, open the saved HTML file in your browser and print it to PDF (Ctrl+P or Cmd+P, then choose Save as PDF). The header block with From, To, Date and Subject is included at the top.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.Quoted-Printable Encoder / DecoderEncode or decode quoted-printable email text (MIME) with UTF-8 and 76-character soft line breaks.Base64 Encoder DecoderEncode or decode Base64 text and files, and make data URIs.File Info ViewerCheck file size, type, date and MD5/SHA hashes.CSS InlinerMove CSS from style blocks into inline style attributes so HTML emails render in every client.EML to PDFConvert .eml emails to PDF with sender, recipients, date, formatted body, images and attachments.Online Python CompilerRun Python 3 in your browser with input(), numpy, pandas, charts and share links.JSON EditorEdit JSON in a tree and as code side by side: add, rename, drag, change types, undo and download.Unzip FilesOpen and extract ZIP files online.RAR & 7z ExtractorOpen RAR, 7z and other archives online and extract files.Regex TesterTest and debug regular expressions live.SQLite ViewerOpen .db and .sqlite files in your browser, browse tables and run SQL queries.DOCX ViewerOpen and read Word .docx files in your browser, then print or save them as HTML.EPUB ReaderOpen and read EPUB e-books in your browser with pages, a table of contents and font controls.What Is My BrowserSee your browser, version, OS, engine, screen and which web features it supports.Font ViewerPreview TTF, OTF, WOFF and WOFF2 fonts with sample text, waterfall, glyphs and metadata.Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Regex Cheat Sheet75+ ready-to-use regex patterns for emails, URLs, IPs and dates, each with a live test box.JavaScript Keycode FinderPress any key to see its JavaScript key, code, keyCode, which, location and modifiers.QR Code ScannerScan QR codes with your camera or from an image and safely read the link or text.RAID CalculatorUsable capacity, efficiency and fault tolerance for RAID 0, 1, 5, 6, 10, 50 and 60 arrays.JSONPath TesterTest JSONPath expressions live: filters, slices, wildcards and recursive search, with matches highlighted.Mermaid Diagram EditorWrite Mermaid code and see flowcharts, sequence, Gantt and ER diagrams live. Export SVG or PNG.Country Codes ListSearch ISO 3166 alpha-2, alpha-3 and numeric country codes with calling codes and TLDs.CSS Selector TesterTest CSS selectors on your HTML: highlighted matches, match count and specificity.Git Cheat SheetSearchable Git command reference by task, with copy buttons and an undo/rename/fix wizard.HAR File ViewerOpen a .har file to see a waterfall timeline, headers, bodies, timings and size totals.jq PlaygroundRun jq filters on JSON in your browser with live output, flags and an example library.Markdown Cheat SheetInteractive Markdown syntax reference: edit every example and see the live rendered preview.Regex ExplainerPaste a regular expression and get a plain-English breakdown, railroad diagram and flag notes.XPath TesterTest XPath expressions on XML or HTML: highlighted matches, node paths, values and examples.Graphviz Online ViewerWrite Graphviz DOT code and render graphs live; switch layout engines, export SVG or PNG.JavaScript Online CompilerWrite and run JavaScript in your browser with a console, timing, error lines and share links.Jupyter Notebook ViewerOpen .ipynb files and read code, Markdown, math, tables, plots and errors without Python.LaTeX Table GeneratorEdit a table like a spreadsheet or paste from Excel and get LaTeX tabular or booktabs code.Log File ViewerOpen huge log files with level colors, regex and time filters, JSON pretty-print and tail -f.Logic Gate SimulatorBuild logic circuits with AND, OR, NOT, XOR gates and flip-flops; see live outputs and truth tables.MSG File ViewerOpen Outlook .msg emails in your browser: sender, recipients, body, headers and attachments.Diff ViewerPaste a git diff or .patch file and view it side by side or inline, with file navigation.EditorConfig GeneratorBuild an .editorconfig with indent, charset, line endings and trim rules per file pattern.Folder Compare ToolCompare two folders by file list, size and SHA-256 hash, then open a text diff of changed files.Glob Pattern TesterTest glob patterns like **/*.js, {a,b} and !exclusions against a list of file paths.JMESPath TesterEvaluate JMESPath expressions against JSON live, the query language used by the AWS CLI.MongoDB Query TesterTest MongoDB find filters, projections and aggregation pipelines on sample JSON documents.Semantic Version CalculatorBump, compare, sort and test SemVer versions against npm ^, ~ and x ranges.XSLT TesterRun an XSLT 1.0 stylesheet on XML in your browser and see the output as HTML, XML or text.ASCII Diagram EditorDraw boxes, arrows and text on a character grid and copy plain-text diagrams for code and READMEs.DBF File ViewerOpen dBase .dbf files and shapefile tables, search and sort records, export CSV or XLSX.MBOX File ViewerOpen .mbox mail archives: list and search messages, read them, save attachments, export EML.MDB File ViewerOpen Access .mdb and .accdb databases in your browser: list tables, view rows, export CSV.Shapefile ViewerView zipped shapefiles on a map with the attribute table, then export to GeoJSON or CSV.Online Code EditorVS Code-style editor in your browser: tabs, 50+ languages, find/replace, autosave.Online Hex EditorOpen any file as hex and ASCII, edit bytes, search, inspect values and save the result.PHP Online CompilerRun PHP 8 code in your browser with output, HTML preview, error lines and share links.PlantUML EditorWrite PlantUML and see sequence, class, activity and more diagrams live. Export SVG or PNG.Sorting Algorithm VisualizerWatch bubble, insertion, merge, quick, heap and radix sort step by step with live counters.Lottie ViewerOpen Lottie JSON or .lottie files to play, pause, scrub frames, change speed and see details.
See all 53 Code Playgrounds & Testers →