What Is a .MHT File? (.mht, .mhtml)
A .mht or .mhtml file is a single-file web page archive. It bundles a page's HTML together with its images, stylesheets and other resources into one MIME-encoded file, so the page can be opened offline exactly as it was saved. Chrome and Edge open MHT files, and Word can open them too.
- Extension
- .mht, .mhtml
- Full name
- MIME HTML Web Archive
- Type
- Document file
- MIME type
- multipart/related
About MHT files
MHTML uses the same MIME encoding as email, defined in RFC 2557: the HTML and each resource become parts of one multipart message, with images stored as Base64 text. That makes an MHT self-contained, unlike "Web page, complete", which saves an HTML file plus a separate folder. The cost is size, as Base64 encoding inflates images by about a third.
Internet Explorer popularised the format, and many older Windows tools save MHT files, including the Steps Recorder, which packs its screenshot-by-screenshot recordings as an MHT file inside a ZIP. Chromium browsers save MHTML via Save page as > Webpage, Single File. Firefox does not open MHT files natively, and Safari uses its own .webarchive format instead.
An MHT file can contain HTML, script and links like any web page, and MHT attachments have been used in phishing. Open MHT files only from trusted sources, and preferably in an up-to-date browser rather than legacy Internet Explorer mode.
What MHT files are used for
- Saving a complete web page as one file for offline reading
- Archived pages and receipts from older Windows systems
- Step-by-step recordings from the Windows Steps Recorder (inside its ZIP output)
- Exporting web-based reports as a single attachment
How to open a .mht file
Windows
Open it in Microsoft Edge or Google Chrome by double-clicking or dragging it into a tab. Microsoft Word can also open MHT files.
Mac
Open it in Google Chrome or Microsoft Edge for Mac; Safari does not support MHT.
Linux
Open it in Chrome or Chromium.
Online / any browser
Any Chromium-based browser (Chrome, Edge, Brave, Opera) can display MHT files; Firefox needs an add-on.
How to convert a .mht file
To make a PDF, open the MHT in Chrome or Edge and print it, choosing Save as PDF or Microsoft Print to PDF.
To get plain HTML, open it in Word and use File > Save As > Web Page, or in Chrome use Save page as > Webpage, Complete, which writes an HTML file plus a resources folder.
Renaming .mht to .html does not unpack it; the browser will show raw MIME text.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming MHT files
- Browsers name MHT files from the page title, which can be long and full of site names; shorten to the essentials and add the capture date, for example 2026-03-14_order-confirmation_acme.mhtml.
- Include the source domain in archived pages so you know where they came from later.
- For Steps Recorder files, name them after the problem they document, such as printer-error-repro-steps.mht, before sending them to support.
Renaming lots of .mht files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .html or .htm file is a web page written in HyperText Markup Language. It is plain text with tags that describe headings, paragraphs, links, images and forms, which a web browser renders as a formatted page. Double-clicking an HTML file opens it in your default browser; any text editor can edit it.
A .pdf file is a Portable Document Format document: a fixed-layout file that looks the same on every device, with its text, fonts, images and page geometry packed inside. It is the standard format for sharing finished documents such as invoices, contracts, forms, manuals and scanned paperwork that should not reflow.
A .docx file is a Microsoft Word document saved in the Office Open XML format used by Word 2007 and later. It stores text, formatting, images, tables, comments and tracked changes in a compressed ZIP package, and it is the default format for editable documents in Word, Google Docs exports and most office suites.
A .zip file is a compressed archive that bundles one or more files and folders into a single, smaller file. It uses lossless compression, so everything comes back exactly as it was when you extract it. Windows, macOS, iPhone, Android and Chromebooks all open ZIP files without installing anything.
Frequently Asked Questions
How do I open an MHT file?
Drag it into Microsoft Edge or Google Chrome, or open it in Microsoft Word. Firefox and Safari do not open MHT files natively.
What is the difference between .mht and .mhtml?
None; they are two extensions for the same MIME HTML web archive format.
How do I save a web page as MHT?
In Chrome or Edge, press Ctrl+S (Cmd+S on Mac) and choose "Webpage, Single File" as the type.
Is an MHT file safe?
It is a web page and can contain scripts and links, so treat MHT attachments from unknown senders with the same caution as any web link.