Jay Taylor's notes

back to listing index

GitHub - gildas-lormeau/SingleFileZ: Web Extension for Firefox/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file

[web search]
Original source (github.com)
Tags: html web-archiving cli firefox-addon single-file-webpage gildas-lormeau evernote-web-clipper evernote-publisher webpage-snapshot github.com
Clipped on: 2023-07-29



Latest commit message
Commit time
July 29, 2023 16:17
June 1, 2022 22:12
September 23, 2019 23:29
July 29, 2023 14:00
July 29, 2023 01:34
November 26, 2020 00:18
May 16, 2019 22:58
June 14, 2022 14:56
January 30, 2020 15:57
July 29, 2023 14:01
July 29, 2023 14:01
July 29, 2023 14:01
June 1, 2022 00:04


SingleFileZ is a fork of SingleFile that allows you to save a webpage as a self-extracting HTML file. This HTML file is also a valid ZIP file which contains the resources (images, fonts, stylesheets and frames) of the saved page. This ZIP file can be unzipped on the filesystem in order, for example, to view the page in a browser that would not support pages saved with SingleFileZ.



Here is an example of page produced by SingleFileZ: https://gildas-lormeau.github.io. Here is the same example but protected by a password (thisisapage): https://gildas-lormeau.github.io/private.

Other examples of files can be found here: https://github.com/gildas-lormeau/SingleFileZ/tree/master/examples


SingleFileZ is available on Firefox, Chrome and Microsoft Edge. You can download the extension here:

To open saved pages from the filesystem in a Chromium-based browser, SingleFileZ must be installed and the option "Allow access to file URLs" must be enabled in the details page of the extension (e.g. chrome://extensions/?id=offkdfbbigofcgdokjemgjpdockaafjg). Otherwise, the browser must be started with the switch --allow-file-access-from-files.

To open saved pages from the filesystem in Safari, the option "Disable Local File Restrictions" must be selected in the "Develop" menu


  • JavaScript must be enabled to view saved pages.

Command Line Interface

You can save web pages to HTML from the command line interface. See here for more info: https://github.com/gildas-lormeau/SingleFileZ/blob/master/cli/README.MD.


cf. https://github.com/gildas-lormeau/SingleFileZ/blob/master/faq.md



© 2023 GitHub, Inc.