Frontend Development 5 min read

SingleFile: Browser Extension and CLI Tool for Saving Complete Web Pages as a Single HTML File

SingleFile is a cross‑browser extension and command‑line utility that lets users capture entire web pages—including images and resources—into a single HTML file, offering multiple installation methods, Docker support, detailed usage commands, and integration with custom user scripts.

IT Services Circle
IT Services Circle
IT Services Circle
SingleFile: Browser Extension and CLI Tool for Saving Complete Web Pages as a Single HTML File

SingleFile is a browser extension and CLI tool that quickly saves complete web pages as a single HTML file, compatible with major browsers such as Chrome, Firefox, Edge, Vivaldi, Brave, Waterfox, Yandex, and Opera.

Installation options include adding the extension from each browser's store, downloading the zip from GitHub, or using Docker images. Docker commands:

docker pull capsulecode/singlefile
docker tag capsulecode/singlefile singlefile

Manual installation can be performed via npm, git clone, or building the Docker image from source, with example commands provided for each method.

The CLI syntax is single-file <url> [output] [options ...] , with options for help, URL list files, and examples such as saving a page directly to a file or processing a list of URLs.

SingleFile also supports integration with user scripts, allowing custom events before and after page capture; sample scripts demonstrate how to remove images before saving and restore them afterward, as well as how to dispatch and listen for custom events.

CLIDockerJavaScriptNode.jsBrowser ExtensionSingleFileweb page archiving
IT Services Circle
Written by

IT Services Circle

Delivering cutting-edge internet insights and practical learning resources. We're a passionate and principled IT media platform.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.