What Is an MHT File?

How to open, edit, and convert MHT files

A file with the .MHT file extension is an MHTML Web Archive file that can hold HTML files, images, animation, audio, and other media content. Unlike HTML files, MHT files are not restricted to holding just text content.

MHT Files in a folder.
Lifewire / Tim Fisher 

MHT files are often used as a convenient way to archive a web page because all the content for the page can be gathered into a single file, unlike when you view an HTML web page that only includes links to images and other content stored in other locations.

How to Open MHT Files

Probably the easiest way to open MHT files is to use a web browser like Internet Explorer, Google Chrome, Opera, or Mozilla Firefox (with the Mozilla Archive Format extension).

You can also view an MHT file in Microsoft Word and WPS Writer.

HTML editors can open MHT files too, like WizHtmlEditor and BlockNote.

text editor can open MHT files as well but since the file might also include non-text items (like images), you won't be able to see those objects in the text editor.

Files ending in the .MHTML file extension are Web Archive files too and are interchangeable with EML files. This means that an email file can be renamed to a Web Archive file and opened in a browser and the Web Archive file can be renamed to an email file to be displayed within an email client.

How to Convert an MHT File

With the MHT file already open in a program like Internet Explorer, you can hit the Ctrl+S keyboard shortcut to save the file in another similar format like HTM/HTML or TXT.

CoolUtils.com is an online file converter that can convert an MHT file to PDF.

Turgs MHT Wizard can convert the MHT file to file formats like PST, MSG, EML/EMLX, PDF, MBOX, HTML, XPS, RTF, and DOC. It's also an easy way to extract the page's non-text files to a folder (like all the images). Keep in mind, however, that this MHT converter is not free, so the trial version is limited.

Doxillion Document Converter might work as a free MHT file converter. Another is the MHTML Converter that saves MHT files to HTML.

More Information on the MHT Format

MHT files are very similar to HTML files. The difference is that an HTML file only holds the text content of the page. Any images seen in an HTML file are really just references to online or local images, which are then loaded when the HTML file is loaded.

MHT files are different in that they actually hold the image files (and others like audio files) in one file so that even if the online or local images are removed, the MHT file can still be used to view the page and its other files. This is why MHT files are so useful for archiving pages: the files are stored offline and in one easy-to-access file regardless of whether or not they still exist online.

Any relative links that were pointing to external files are remapped and pointed to the ones contained within the MHT file. You don't have to do this manually since it's done for you in the MHT creation process.

The MHTML format is not a standard, so while one web browser might be able to save and view the file without any problems, you might find that opening the same MHT file in a different browser makes it look a bit different.

MHTML support also isn't available by default in every web browser. Some browsers provide no support for it. For example, while Internet Explorer can save to MHT by default, Chrome and Opera users have to enable the function.

Still Can't Open Your File?

If your file doesn't open with the suggestions from above, you might not really be dealing with an MHT file at all. Check that you're reading the file extension correctly; it should say .mht.

If it doesn't, it might instead be something very similar to MTH. Unfortunately, just because the letters look similar doesn't mean that the file formats are the same or related. MTH files are Derive Math files used by Texas Instrument's Derive system and can't be opened or converted in the same way that MHT files can.

NTH is similar as well but used instead for Nokia Series 40 Theme files that open with Nokia Series 40 Theme Studio.

Another file extension that looks like MHT is MHP, which is for Maths Helper Plus files used with Maths Helper Plus from Teachers' Choice Software.

Was this page helpful?