Save Web pages in MHT using Firefox

Recently somebody asked me how to save web pages in MHT Format using Firefox. For those who don’t know MHT is a compressed format to save webpages into a single file and all images/css/text related to webpage is embedded into a single page(.mht). Firefox does not have support for MHT format maybe because MHT is a Microsoft created format.

But that does not mean Firefox users can’t use it. There was a extension for Firefox earlier known as Mozilla Archive Format. It was working good until Firefox 1.5. But then developer stopped working on it and it does not work on Firefox 2.0. ๐Ÿ™

No Way! There has to be a way out. Why would otherwise I waste a long post telling you about it? Well there is a way out. ๐Ÿ˜€ We will forcibly make it compatible with Firefox 2.0. ๐Ÿ˜ˆ Here are the easy steps:

  1. Download the extension from here. Download but don’t install. To override Firefox default installer either paste the link in your download manager or open this link in any browser other than Firefox. Since it won’t install on FF saying compatibility problems.
  2. Rename the downloaded file maf-0.6.3.xpi to
  3. Open the zip file using Winzip or any zip utility.
  4. Extract install.rdf file
  5. Open install.rdf file and find this code:
  6. <!– Firefox –>

  7. In this change




  8. Save install.rdf and put the new install.rdf back in replacing the old one.
  9. Rename to maf-0.6.3.xpi
  10. And now open the xpi file with firefox if xpi is not set to open with Firefox. Install the extension and it will work for you.

That’s all. It will work now with your latest Firefox Not Tested on 3.0 alpha release. If anyone can test with 3.0 alpha and post here, I will update the status here.

UPDATE: I should have updated this post long before. Firefox has now a extension to save pages as MHT – UnMHT. Get it from

I have tested it on Firefox 3 Final Version. It works really.


    1. If you check the post above, I have mentioned about it already.

  1. IE Tab > Click > Save page as *.mht

    1. (apologies to setya5785, who’s earlier post I missed)

  2. Is there any other way to save it with the flash and other audio/video streaming associated with the pages?

  3. Mozilla Archive Format is now actively developed again; the latest version, compatible with Firefox 3, can be found at:

  4. This is a 5-minutes-later red-faced retraction to my unMHT-doesn’t-work letter.
    I was a victim of assumptionitus: save options normally appear in save dialog box but unMHT doesn’t: it appears as entry in mouse right-click menu!
    And, hallujeah, it works too [in my 3.04]!

  5. It does not install with Firefox 3… any updates soon?

  6. Well… thanks!

  7. False alarm!!!
    “save as MHT” DOES indeed appear, but only as a specific, alone-standing option in the pull-down menu (file โ€บ save as MHT)!!!
    I didnโ€™t see it, โ€™cos Iโ€™m used to the Ctl+S shortcut, as I basically select the whished format directly from the regular save-dialog-box (which I hope isnโ€™t sooo far-fetched: your initial tweak seemed to function this way too…)! Maybe the guys at UnMHT should write sthg about that…

  8. Gโ€™day!

    โ€” UnMHT 4.5 re-installed since yesterday.
    โ€” Also uninstalled some FFox 3 beta that lurked on my HD (potential conflict?).
    โ€” Current FFox version: 3.0 french final v.

    Parameters in the UnMHT dialog-box:
    โ€” UnMHT activated.
    โ€” Add “save as MHT” in context menu checked.
    โ€” made up some shortcut in order to save as MHT.

    –โ€บ only the shortcut-gimmick works : it calls a dialog-box “save as MHT”, declined in two variants (which subtlety I donโ€™t fully get โ€” BTW, there seems to be an misencoding in the french version as I get sort of html-entity in the name of the second type/variant).
    I still get no mention of MHT or whatsoever in the “regular” list-box (“Save page as”)…

    1. It won’t show in regular save page as dialog box nor it has been designed to do so. It will either show in File menu as Save as MHT or in right click context menu.

      You can even add the button on toolbar by right clicking Customise in toolbar area and dragging the Save as MHT toolbar button to the toolbar.

  9. Besides, “UnMHT” only works for me in order to open .mht-archives in FFox. The option “save as… mht” simply doesnโ€™t appear in the list box (I checked everything in the add-onโ€™s option dialog-box and everything seemed ok).

    I guess Iโ€™ll better use Opera instead…

    1. @laurent: Strange … it works for me…I am using UnMHT 4.5 and Firefox 3 Final Version. Reinstall the latest version from and then retry.

  10. Sorry, but though the installation worked fine, my version of FFox (3.0, French locale) ISNโ€™T actually ABLE to produce any archive-file (nothing happens).

  11. It doesn’t work for me on Firefox 3 ๐Ÿ™ just doesn’t save it even when we specfify the format to be saved as… helppppppppp

  12. Bravo! Works like a charm.

  13. Thank you Chris so much for the UNMHT recommendation, I’ve been screwed without MAF working on FF3, you have made FF3 usable for me, so I can now fully switch over. Thank you!

  14. Thank you…
    Now I can save wikipedia pages with correct layout, no problem.

  15. ๐Ÿ˜›
    Thanks very much for this trick!
    I like archive format and because Mozilla didn’t support it, I usually use MS IE, but I can use FIREFOX now because there is all I want in it.

  16. I like these plugins. Thank you for sharing.

  17. I think this is the greatest add-on to firefox ever created…. Thanks for making it version compatible ๐Ÿ˜€

  18. awesome! thanks ๐Ÿ™‚

  19. Thanks for MHT tips & UnMHT info, I will give it try…

    Handphone’s last blog post..UniDic

  20. This may help all of you out a LOT more than what the author’s trick does (no offense, I’m glad I came across this post) so..

    UnMHT, a firefox save/view MHT extension… the development continues…

    1. This might work, if you studied it closely enough, and [preferably] have some programming background. For us browser monkeys tho it’s a joke.
      It doesn’t add an .mht entry in the file save dialog box.
      I don’t want to discourage the author because he’s obviously closer than anybody else [Mozilla seems indifferent!] but this is not ready for prime time…

  21. Is there any good reason why firefox can’t save a page in a single file?

    I know IE can do it, and some people keep using IE to do just this ๐Ÿ™

  22. i installed it successfully in firefox 3.0 b4, but when i try to save page in any kind of MAF format (ZIP, MHT) – nothing creates, no files, nothing at all appears.

  23. It installed successfully in Firefox 3.0b3, but none of the functions work.

  24. I tried and it had been successful.

    han’s last blog post..ๆˆ‘็‚บไป€้บฝไธๅšๅนนไบ‹

  25. i’ve tried the extension, but the mht result seem loss some css ๐Ÿ˜
    btw, why not just use ie tab, if you change webpage rendering using ie tab, then you can save into mht (well basically ie tab wrap ie on firefox tab)

    setya5785’s last blog post..Tales of Innocence Walkthrough

  26. thanks for the info.. LOL, Nspeaks hacking yourself..yes, its much better. hehehehe

  27. i can’t install it on firefox
    i want it badly!!

  28. i can’t install it @_@ what happen?!

  29. ๐Ÿ˜ˆ


    You posted the updated link at the end! Here I am opening up notebook to modify it.



  30. Thanks NSPEAKS, you rock.

    (To vaypay,

    you should change the xxxxx under “firefox”, not “mozilla”.

    I did the same mistake, yet I solved this myself. I suggest you to think thru it next time, before you ask others for help.)

  31. Does not install on v2.0.0.11. It says it will only work with FF 1.5.

  32. lovelltiong:
    May be MAF saves text in MHT in QuotedPrintable format?

  33. Doesn’t really seem to work with FF 3.0b1 (poratbleapps version). Installs OK. But maintains a stoic silence when I try to save pages in mht format or try to access the extension options in Tools menu. Anybody else?

  34. I think MAF’s .mht is bigger because it’s not compressed. IE & Opera compresses the .mht file using Zip, IIRC.

  35. Are you saying that mht created in firefox is larger than html files created from IE and Opera? MHT files will always be larger since they have all images, stylesheet, javascripts code embedded in a single file, whereas html files have just the text and images and rest of things are in a folder.

  36. Works with FF Thanks! But the mht files are about a third larger than those saved under IE and Opera. ๐Ÿ˜• โ“

  37. Thanks for reminding. I am using that extension. But hacking yourself gives satisfaction! ๐Ÿ˜ˆ

  38. Use “Mr.Tech Local Install” extension. One of the many great things it does is allow you to ignore maxversion number.Then you don’t have to mess with it! :mrgreen:

    Thanks for the heads up on the MHT extension! Glad I’m not the only one that uses MHT!

  39. Yeah forgot to mention…you can use this trick to work on any unsupported extension provided code does work on latest firefox too. ๐Ÿ˜Ž

  40. I am trying to make other old extensions to work too by same trick… ๐Ÿ˜Ž Amazing trick.

  41. Wow..awesom

Comments are closed.