MHTML Viewer

Open an MHT or MHTML file, a web page saved as one file with its images inside, and see it in your browser: the file stays on your device.

How to open an MHT or MHTML file

  1. Add the file

    Drop the .mht or .mhtml file on the box above, or press Choose a file.

  2. Read the saved page

    The page opens with the images, stylesheets and fonts stored inside the file. Choose Code to read its HTML.

  3. Save it in another format

    Print / Save as PDF opens your browser's print dialog. Download HTML saves the page as one HTML file with the images written into it.

For HTML files, use the HTML viewer. Opening an HTML file on each device: how to open an HTML file.

What is an MHTML file

MHTML (MIME HTML) stores a web page and the files it uses, such as images and stylesheets, in one file. The format is defined in RFC 2557, an IETF specification from March 1999: the page and each of its files become parts of one MIME multipart/related message, and each part has a Content-Location address so that the page can find it.

The format was written so that a complete page could be sent in one email, and RFC 2557 says the same structure can be used "for storage and archiving of complete HTML-documents". Microsoft Word saves a document as a "Single File Web Page (.mht)", which Microsoft describes as "a single file that includes all page elements, such as graphics", and Google's Chrome DevTools Protocol saves a snapshot of a page as MHTML.

MHT and MHTML: the same format

.mht and .mhtml are two extensions for the same format. Microsoft Office's web page options, for example, save "Single File Web Pages (.mht, .mhtml)". This viewer opens both, and it goes by the extension: a file is read as MHTML when its name ends in .mht or .mhtml.

Open an MHT file on a Mac, iPhone or Android phone

We found no help article from Apple, Google, Microsoft or Mozilla that documents opening MHTML files in their own browsers (searched November 22, 2026).

This viewer is a web page: open htmlviewer.app in your browser and choose the file. Two MHTML test files, one saved by Chromium and one written by hand, open with their text and styles in the browser tests in Chrome, Firefox and WebKit, the engine of Safari. It has not been tested on phones yet.

MHTML to PDF

Choose Print / Save as PDF and pick "Save as PDF" as the printer in the print dialog. The browser writes a PDF that includes the images stored in the file. HTML to PDF explains the print settings that change the result.

MHTML to HTML

Download HTML saves the page as an ordinary HTML file. The images, stylesheets and fonts from the MHTML file are written into it as data, so the HTML file shows the page on its own in a browser. Copy code copies the HTML of the page as it was saved.

Scripts and remote files in a saved page

A saved page can still hold scripts and the addresses of files on the web. The viewer shows it with scripts off and nothing loaded from the internet, says how many of each it found, and runs or loads them only when you choose Run scripts or Load remote files. How htmlviewer.app works describes the frames that do this.

Frequently asked questions

What is a MHT file and how do I open it?

An MHT file is a web page saved as one file, with its images and other files inside it, in the MHTML format of RFC 2557. Drop it on this page and it opens in your browser.

Which app can open a MHT file?

A viewer that reads the MHTML format. This page is one and runs in your browser, so you install nothing.

Can I open an MHTML file with Chrome?

Yes, on this page: open it in Chrome and choose the file. We found no page of Google's Chrome help that describes opening MHTML files in Chrome itself.

How can I open an MHTML file on my iPhone?

Open this page in Safari, tap Choose a file and pick the file from Files. It has not been tested on an iPhone yet.

Can I convert MHTML to PDF?

Yes. Open the file, choose Print / Save as PDF and pick "Save as PDF" as the printer in your browser's print dialog.

Can I convert MHTML to HTML?

Yes. Download HTML saves the page as one HTML file with its images written into it, which opens on its own in a browser.

Is the MHT file uploaded?

No. The file is read in your browser and never leaves your device. The site counts visits with Google Analytics, which never receives your files, their names or their contents, and it has no session recording.