TL;DR
Kage clones websites into offline-ready, script-free copies using headless Chrome, stripping out JavaScript and external resources. It can package sites into a single file or executable, facilitating offline browsing and long-term preservation.
Developer Tam Nguyen has released Kage, a tool that clones websites into offline, script-free copies, which can be packed into a single file or folder for persistent offline viewing. The tool uses headless Chrome to generate accurate snapshots of web pages, removing all JavaScript and external dependencies, enabling users to browse websites without an internet connection.
Kage operates by opening each webpage in a real headless Chrome browser, waiting for the page to load fully, then capturing the DOM as a static snapshot. It then deletes all JavaScript, pulls in CSS, images, and fonts, and saves the result as a set of HTML files that look and behave like the original site but run no scripts or network calls. This process creates a fully offline, script-free clone suitable for long-term storage and sharing.
The tool supports multiple commands: clone to create a site mirror, serve to preview locally, and pack to compress the mirror into a single archive or executable. It requires Chrome or Chromium installed on the host system, but also offers a Docker container option that bundles Chromium, simplifying setup. Kage can clone entire sites, subdomains, or specific sections, with options for depth, page limits, and refreshes to update existing clones.
Users can package the clone into a ZIM archive, a standard format used by projects like Kiwix for offline Wikipedia, or into a self-contained executable that serves the site without external dependencies. The tool is designed to preserve the visual and structural fidelity of websites while eliminating all scripts and tracking elements, making it ideal for offline reading, long-term archiving, or environments with limited connectivity.
Why Offline Cloning with Kage Matters
Kage offers a practical solution to the common problem of losing access to web content over time due to site changes or shutdowns. By creating static, script-free copies, users can preserve valuable information, educational resources, or personal data for decades without relying on external servers or internet connectivity. This capability is especially relevant for researchers, archivists, educators, and travelers who need reliable, long-term access to web content.
Furthermore, Kage’s approach enhances privacy and security by removing all scripts and tracking elements, reducing exposure to malicious code or surveillance. Its compatibility with standard formats like ZIM also means it integrates well with existing offline content ecosystems, expanding the possibilities for offline knowledge dissemination and digital preservation.

Pro Tools Perpetual License NEW 1-year software download with updates + support for a year
Full version, permanent License of Avid Pro Tools. Includes 1-Year of software updates and upgrades.
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background on Offline Website Cloning Tools
Offline website copying has traditionally relied on simple tools like wget or HTTrack, which download static pages but often struggle with dynamic content, scripts, and modern web technologies. These methods can produce incomplete or outdated copies, especially for complex sites that heavily depend on JavaScript.
More advanced tools, such as Webrecorder and WARC-based archivers, attempt to capture full site states, including scripts and media, but often require complex setups or produce large, unwieldy files. Kage distinguishes itself by leveraging headless Chrome to generate accurate, complete snapshots of dynamic pages, then stripping out scripts to produce lightweight, reliable offline copies.
This development aligns with ongoing efforts in digital preservation and offline access, addressing the limitations of previous tools by providing a simple, command-line interface that produces portable, script-free site copies.
“Kage drives a real browser, lets the page finish doing whatever it does, grabs the finished result, and then rips every script out of it. No tracking, no network calls, just static HTML files.”
— Tam Nguyen, developer of Kage
website snapshot tool
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Remaining Questions About Kage’s Capabilities
It is not yet clear how well Kage handles highly interactive or media-rich sites that rely heavily on client-side scripting beyond simple rendering. The effectiveness of the stripping process on complex JavaScript frameworks or dynamic content remains to be tested in various real-world scenarios. Additionally, the performance and scalability of the tool for very large sites are still unknown, and user feedback on the fidelity of the offline copies is pending.
single file website archive
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Future Developments and Community Feedback
Developers and users will likely experiment with Kage on diverse websites to evaluate its accuracy and limitations. Future updates may include enhanced options for capturing dynamic content, improved packaging formats, and integration with offline content ecosystems like Kiwix. Community feedback will be crucial in refining the tool, and additional documentation or GUI wrappers could broaden its accessibility.
Monitoring user experiences and potential enhancements will determine how widely Kage can be adopted for digital preservation and offline browsing needs.
offline web page reader
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Can Kage clone websites that heavily rely on JavaScript?
Kage uses headless Chrome to render pages fully before stripping scripts, so it can handle many dynamic sites. However, its effectiveness on highly interactive or complex JavaScript frameworks has not been fully confirmed and may vary.
Does Kage preserve all site functionalities?
No. Kage creates static, script-free copies, so dynamic functionalities like forms, real-time updates, or interactive features will not work in the offline version.
What formats can Kage package the offline site into?
Kage can produce a folder of static files, a ZIM archive compatible with Kiwix, or a self-contained executable that serves the site locally.
Is Kage suitable for long-term digital archiving?
Yes, because it creates stable, script-free copies that do not depend on external servers or scripts, making it suitable for long-term preservation.
What are the system requirements for running Kage?
Kage requires Chrome or Chromium installed on the host system, or the use of its Docker container, which bundles Chromium. It runs on Linux, macOS, or Windows with Docker support.
Source: Hacker News