[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"extension:v3:en:mhtml":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"popularity":10,"summary":11,"howToOs":12,"quickAnswer":18,"answerIntro":19,"whatIs":20,"description":21,"furtherReading":22,"openInstructions":38,"commonIssues":52,"securityNotes":71,"faq":75,"aliases":88,"mimeTypes":90,"relatedExtensions":93,"breadcrumbs":139,"categoryAnchor":149,"categoryFuturePath":150,"metaDescription":151,"availableHowToOs":152,"openOnDeviceLinks":153,"cannotOpenReasons":169,"cannotOpenFixes":170,"convertOptions":171,"securityAffiliateMessaging":172,"securityAffiliates":173},false,"mhtml","MHTML (MIME HTML) Web Archive","web","Web","2026-06-12T09:26:25.064Z",35,".mhtml is a single-file web page archive that packages an HTML document together with its images, stylesheets, and other resources using a MIME multipart structure.",[13,14,15,16,17],"windows","mac","linux","ios","android","To open .MHTML files on Windows, try double-clicking the .mhtml file to open it in your default browser (commonly Microsoft Edge or Google Chrome/Chromium, depending on your setup).","To open a .mhtml file, use a web browser that supports MHTML—commonly Google Chrome/Chromium or Microsoft Edge. You can usually open it by double-clicking the file or dragging it into an open browser window.","MHTML (also seen as .mht) is “MIME encapsulation of aggregate documents” where a web page and its referenced resources are bundled into one file. Technically it uses MIME multipart structures (commonly multipart/related) to embed the main HTML and each referenced resource as separate parts. The format is defined in RFC 2557 and is used as a “Save page as…” archive format in some browsers.","MHTML is designed to capture a web page as a single portable file, keeping the page content and its dependencies together for archiving, transfer, or offline viewing. Instead of storing a folder of resources next to an .html file, MHTML stores everything as MIME parts inside one document.\n\nIn practice, MHTML is associated with web browsers and “save page” features. Chromium-based browsers support saving pages as MHTML (including via a command-line switch), and Chrome extensions can also capture the current tab as MHTML.\n\nBecause it is MIME-based, MHTML resembles email-style multipart messages: it has headers and multiple body parts. Different MIME types may be encountered in the wild for MHTML-related content (for example multipart/related and sometimes message/rfc822 are referenced in descriptions of the format), but the key idea is a single-file web archive built from MIME parts.",[23,26,29,32,35],{"title":24,"url":25},"MHTML (Wikipedia)","https://en.wikipedia.org/wiki/MHTML",{"title":27,"url":28},"Media Types (IANA Registry)","https://www.iana.org/assignments/media-types/",{"title":30,"url":31},"chrome.pageCapture API (Chrome for Developers)","https://developer.chrome.com/docs/extensions/mv2/reference/pageCapture",{"title":33,"url":34},"Chromium: Save-Page-As (MHTML support notes)","https://chromium.googlesource.com/chromium/src/%2B/66.0.3359.158/content/browser/download/docs/save-page-as.md",{"title":36,"url":37},"Microsoft Edge policy: InternetExplorerIntegrationZoneIdentifierMhtFileAllowed","https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/internetexplorerintegrationzoneidentifiermhtfileallowed",{"windows":39,"macos":42,"linux":45,"ios":48,"android":50},[40,41],"Try double-clicking the .mhtml file to open it in your default browser (commonly Microsoft Edge or Google Chrome/Chromium, depending on your setup).","If it does not open correctly: open Chrome/Edge, then drag the .mhtml file into the browser window (or use Ctrl+O and select the file).",[43,44],"Open Google Chrome (or another Chromium-based browser you have installed).","Drag the .mhtml file into the browser window, or use File → Open File… and select the .mhtml.",[46,47],"Open Chromium or Google Chrome.","Drag the .mhtml file into the browser window, or start the browser and use Ctrl+O to open the file.",[49],"If your iPhone/iPad does not render the file well in a mobile browser, transfer the .mhtml to a desktop and open it with Chrome/Chromium or Edge.",[51],"Try opening the .mhtml in Chrome; if it does not display properly, transfer the file to a desktop Chrome/Chromium or Edge for viewing.",[53,59,65],{"title":54,"description":55,"steps":56},"The file downloads but won’t open (or opens as plain text)","Some apps don’t recognize .mhtml and will treat it like a generic text file even though it is a MIME multipart web archive.",[57,58],"Open it from within a supporting browser (Chrome/Chromium or Microsoft Edge): use the browser’s Open File (Ctrl+O) or drag-and-drop the file into the browser.","If double-clicking uses the wrong program, change the file association so your browser opens .mhtml by default.",{"title":60,"description":61,"steps":62},"Page looks incomplete or broken (missing images/CSS)","MHTML is supposed to embed resources as MIME parts, but some saved archives may be incomplete or rely on external URLs that were not captured.",[63,64],"Re-save the page as MHTML from a Chromium-based browser to ensure resources are included (Chromium documents MHTML as a Save Page As option).","If you received the file from someone else, ask them to re-capture it or provide the original page URL so you can save it again.",{"title":66,"description":67,"steps":68},"Organization policy blocks opening downloaded .mht/.mhtml","In managed environments, browsers may restrict how downloaded MHT/MHTML files are handled due to security controls and zone/mark-of-the-web style considerations.",[69,70],"If you are using Microsoft Edge in a managed environment, check with your IT administrator—Edge policies exist that specifically govern opening downloaded MHT/MHTML files.","As a workaround for legitimate use, view the content in a controlled environment (for example, a non-managed machine or isolated profile) if your organization allows it.",[72,73,74],"An .mhtml file is essentially a packaged web page; if it contains active web content, opening it in a browser can run page scripts or load referenced content depending on how it was saved and how the browser handles it. Treat MHTML from untrusted sources like any other web content you didn’t request.","Because MHTML is a multipart MIME container, it can embed multiple different content types as separate parts. Be cautious with archives you did not create, especially if they appear to include unexpected attachments or content.","Some enterprises manage MHT/MHTML handling in Microsoft Edge via policy (including rules about opening downloaded MHT/MHTML files). If your browser warns or blocks the file, follow your organization’s guidance rather than bypassing controls.",[76,79,82,85],{"question":77,"answer":78},"What is the difference between .mhtml and .mht?","They are two common extensions for the same MHTML web archive format; both refer to a single-file archive that encapsulates an HTML page and its resources using MIME multipart structure.",{"question":80,"answer":81},"How is an .mhtml file structured internally?","It uses MIME encapsulation (RFC 2557): typically a multipart/related message where the first part is the main HTML document and subsequent parts contain embedded resources (images, CSS, etc.).",{"question":83,"answer":84},"Can Chrome save a page as .mhtml?","Yes. Chromium-based browsers support saving pages as MHTML, and Chrome extensions can capture a tab as MHTML using the pageCapture API.",{"question":86,"answer":87},"Is MHTML an official IANA media type?","The common underlying type used for MHTML-style packaging is multipart/related, which is listed in the IANA media types registry. In practice, MHTML is associated with MIME types like multipart/related (and is also sometimes described alongside message/rfc822 in discussions of MHTML).",[89],"mht",[91,92],"multipart/related","message/rfc822",[94,100,106,111,117,121,127,133],{"ext":95,"name":96,"category":7,"categoryName":8,"popularity":97,"summary":98,"howToOs":99},"jsx","JSX (JavaScript XML) source file",75,".jsx is JavaScript source code that includes JSX, an XML-like syntax commonly used to write React UI components. You open it in a code editor (for viewing/editing) and typically compile it to plain JavaScript with tools like Babel or TypeScript.",[13,14,15,16,17],{"ext":101,"name":102,"category":7,"categoryName":8,"popularity":103,"summary":104,"howToOs":105},"war","Web Application Archive (WAR)",55,".war is a Web Application Archive used to package Java/Jakarta servlet-based web applications for deployment on a servlet container (for example, Apache Tomcat or Jetty). It is a ZIP-based Java archive that contains application classes, libraries, and web resources in a standard layout.",[13,14,15,16,17],{"ext":107,"name":108,"category":7,"categoryName":8,"popularity":103,"summary":109,"howToOs":110},"wasm","WebAssembly binary module",".wasm is the binary module format for WebAssembly, designed to run fast and efficiently in web browsers and other runtimes. You typically “open” it by loading it in a WebAssembly runtime (often via JavaScript in a browser) or by running it with a standalone runtime such as Wasmtime.",[13,14,15,16,17],{"ext":112,"name":113,"category":7,"categoryName":8,"popularity":114,"summary":115,"howToOs":116},"css","CSS stylesheet",39,".css is a Cascading Style Sheets (CSS) text file used to control the look and layout of web pages. You can open it in any text editor, and it is commonly edited with code editors that understand CSS.",[13,14,15,16,17],{"ext":89,"name":118,"category":7,"categoryName":8,"popularity":10,"summary":119,"howToOs":120},"MHTML (Web Archive) file",".mht is an MHTML web archive that saves a complete web page (HTML plus images/CSS and other referenced files) into a single file. It’s commonly opened in modern web browsers such as Google Chrome and Microsoft Edge.",[13,14,15,16,17],{"ext":122,"name":123,"category":7,"categoryName":8,"popularity":124,"summary":125,"howToOs":126},"htm","HTML document",34,".htm is an HTML document (a text file that describes a web page). You can usually open it in any modern web browser or a plain-text/code editor.",[13,14,15,16,17],{"ext":128,"name":129,"category":7,"categoryName":8,"popularity":130,"summary":131,"howToOs":132},"svgz","SVGZ image",27,".SVGZ is a gzip-compressed SVG (Scalable Vector Graphics) image. It opens in most software that supports SVG, including modern web browsers and vector editors that can read compressed SVG.",[13,14,15,16,17],{"ext":134,"name":135,"category":7,"categoryName":8,"popularity":136,"summary":137,"howToOs":138},"xml","XML document",26,".XML files are used for web pages, browser rendering, and front-end assets. Open with web browsers, code editors, or build tools for web development. This guide covers opening methods, troubleshooting, and security best practices. Common MIME type: application/xml.",[13,14,15,16,17],[140,143,146],{"label":141,"to":142},"Home","/",{"label":144,"to":145},"File Extension Index","/file-extension",{"label":147,"to":148},".MHTML","/file-extension/mhtml","category-web","/category/web","Learn what .MHTML files are, how to open them on every platform, common fixes, and security best practices.",[13,14,15,16,17],[154,157,160,163,166],{"os":13,"label":155,"to":156},"Open .MHTML on Windows","/how-to/open-mhtml-on-windows",{"os":14,"label":158,"to":159},"Open .MHTML on Mac","/how-to/open-mhtml-on-mac",{"os":15,"label":161,"to":162},"Open .MHTML on Linux","/how-to/open-mhtml-on-linux",{"os":16,"label":164,"to":165},"Open .MHTML on iOS","/how-to/open-mhtml-on-ios",{"os":17,"label":167,"to":168},"Open .MHTML on Android","/how-to/open-mhtml-on-android",[54,60,66],[57,58],[],"untrusted_source",[174,178],{"name":175,"description":176,"affiliateUrl":177},"Avast","Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.","https://www.avast.com/lp-aff-consumer-store?expid=inf601",{"name":179,"description":180,"affiliateUrl":181},"Norton","Norton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.","http://buy.norton.com/aff_home?utm_campaign=en-ww_nor_n36_aff_nas_nau_nah_cj_nad_low:_sec_nat_mktc_norton_360"]