How to save a web page as MHT in chrome?

30

17

How do you save a web page as .mht in Chrome?

I have Chromium 18. It's supposed to be possible but I can't figure out how...

user541686

Posted 2011-12-18T16:34:35.353

Reputation: 21 330

Answers

40

Viewing and creating MHTML files in current versions of Google Chrome is supported by toggling the "Save Page as MHTML" option on the chrome://flags page.

However, enabling this experimental option disables saving pages as HTML-only or HTML Complete files. From the chrome://flags page:

Save Page as MHTML Mac, Windows, Linux
Disables saving pages as HTML-only or HTML Complete; enables saving pages only as MHTML: a single text file containing HTML and all sub-resources.

Rocky

Posted 2011-12-18T16:34:35.353

Reputation: 416

I wonder how these options are ordered, and if we can change this order... Now I have "Webpage, Single file" (mhtml extension/format) as default, which is a nuisance because actually we most often use "Webpage, HTML only" option. – Sadi – 2014-10-22T15:36:19.880

Works with vivaldi://flags too! Moreover, one can chose the file name and where to save it. I only miss the extra line with a link to the original URL at the bottom of the page. I have grown accustomed to this with the UnMHT Firefox extension.

– Serge Stroobandt – 2015-09-15T06:27:29.270

1You saved my life!! +1 I'm sorry I can't give you +1000... ;) – Phantômaxx – 2014-03-20T16:21:06.723

1As of July 2013 there are still lots of short comings with this chrome flag. I'd recommend Vinay's answer if your web pages have complex content – ecoe – 2014-06-09T00:08:46.893

3

Starting June 2019, the Save Page as MHTML flag has been removed from Chrome. A solution that still works (for now?) is adding the --save-page-as-mhtml argument to Chrome's command line.

Michel de Ruiter

Posted 2011-12-18T16:34:35.353

Reputation: 810

Damn, really? :( +1 – user541686 – 2019-06-24T12:31:12.363

3

You can save it as MHTML file by using "SAVE AS MHTML" extension available in chrome web store which will capture the entire site to a compressed file.

Supported by Firefox, Internet Explorer and Chrome.

Vinay

Posted 2011-12-18T16:34:35.353

Reputation: 129

To add to Vinay's answer (Rep less than 50), and slhck's question, the extension is called SingleFile and it also requires SingleFile Core installed to work.<br>Navigate to options by R-clicking button on the right of the address bar. <br>The single file option in the drop-down save-as dialog generates the pa

– Laurie Stearn – 2015-10-21T04:57:26.567

I can't find such an extension. Can you give us the link? – slhck – 2012-12-02T14:32:32.407

0

You can install free WizBrother SaveAs Plus plugin

http://wizbrother.com/saveasplus/index.html

By the way, it supports most of the web browsers, such as, IE, Firefox, Google Chrome, Safari, and Opera etc.

Lu55

Posted 2011-12-18T16:34:35.353

Reputation: 109

This is actually brilliant - nothing before have I found to work on saving complex gmail inbox web pages - this does it, which I find quite incredible! Before that, the best method I found, oddly, was Opera (pre-chromium!) for saving complex webpages with all objects and dependencies in tact. MIND YOU this plugin does take a while to save a page (at least the complex gmail inbox home page I tried) - AND it only worked by saving in IE, then opening in IE - but boy is it worth it if you have an important complex page to archive with FULL formatting in tact! – None – 2013-12-17T13:50:11.990

-1

Nope. That story is incorrect. While Chrome is capable of viewing mhtml files, it still doesn't save webpages to that format.

Yes it is a pain in the rear. But you can use AutoHotkey to read a list of links and save them to mhtml :) AFAIK, this is easiest in IE, since no other browser makes it easy for AutoHotKey to check if the webpage has fully loaded.

surfasb

Posted 2011-12-18T16:34:35.353

Reputation: 21 453

2This is false information. I save to MHTML using Chrome and have been a long time. It creates a single file no different then Firefox or IE. – subjectivist – 2016-05-22T14:48:48.273

@subjectivist: Sigh. This post is five years old. – surfasb – 2016-05-23T00:44:33.540

2@surfasb: FYI, you can always update your answer. – dns – 2018-03-18T19:30:39.413

Also FireFox has an extension for saviong in MHT: UNMHT - in case someone is interested in.

– Phantômaxx – 2014-03-20T19:38:52.067

-1

The "Save Page as MHTML" option (in Chrom://flags) does NOT allow you to view MHTML documents. It only allows (requires) you to save web pages as MHTML. (That is, if you enable it, you lose the ability to save a page as HTML with associated folder of related files. You can ONLY save as MHTML.) MHTML documents on a website are still downloaded, not viewed in Chrome.

JDMArkansas

Posted 2011-12-18T16:34:35.353

Reputation: 1

I could open MHTML file in Chrome, that's false. – Vadim Ovchinnikov – 2018-04-20T08:24:32.293