How to save html pages as one file?

Dimitri Vorontzov picture Dimitri Vorontzov · Apr 23, 2013 · Viewed 31.3k times · Source

I want to be able to save / archive HTML pages as one file (without those pesky external folders).

I want the resulting file to contain all styles, images, and links (videos and Flash would be nice, too, but not as crucial).

I want the resulting file to be searchable, and editable.

Microsoft's MHT is one of such tools, but unfortunately, it's not searchable under Linux. MHT is good, but I don't want to be locked under one operating system or one company. What would be a good alternative – or perhaps there's some entirely different solution I wasn't thinking about?

Thank you in advance for your suggestions!

Answer

zTrix picture zTrix · Dec 15, 2015

The SingleFile chrome extension is a good solution.

I have also written my own python tool to solve this problem which I would recommend giving a try: https://github.com/zTrix/webpage2html