TL;DR
Kage is an open-source tool that clones websites into offline-ready folders or single executable files by rendering pages in headless Chrome, removing scripts and tracking. It enables long-term offline access to websites without relying on live servers or JavaScript.
Kage is a new open-source tool that creates offline copies of websites by rendering each page in a headless Chrome browser, then stripping out all scripts and network calls. It produces a folder of static HTML, images, CSS, and fonts that look and behave like the live site but run entirely offline. This development offers a reliable method for preserving web content for long-term access and offline browsing.
Kage clones websites by launching a real browser instance, allowing pages to fully load and execute their JavaScript, then capturing the final DOM state. It then removes all scripts, disables network calls, and saves the resulting static content, ensuring no tracking or external dependencies remain. Users can clone entire sites or specific sections, and output can be served locally or packed into a single file, such as a ZIM archive or a self-contained executable.
The tool supports various commands: ‘clone’ to fetch sites, ‘serve’ to host the offline content locally, and ‘pack’ to compress the clone into a single file. It requires Chrome or Chromium on the host system, though a container image with Chromium bundled is available, simplifying setup. The project emphasizes ease of use, with instructions for quick cloning and offline browsing, making it suitable for archiving, research, or long-term content preservation.
Why Offline Website Cloning with Kage Matters
By enabling the creation of accurate, script-free offline copies of websites, Kage addresses common issues with web content preservation, such as broken links, outdated scripts, or tracking scripts that compromise privacy. It is particularly relevant for researchers, archivists, educators, and users in areas with unreliable internet. Its ability to produce a single executable or compressed archive simplifies sharing and long-term storage, ensuring content remains accessible regardless of the original hosting site’s status.
This development enhances the reliability of offline browsing and digital archiving, reducing dependency on live servers and third-party scripts. It also offers a privacy-preserving alternative to traditional saving methods, which often retain unwanted tracking code or incomplete content.

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 and Prior Methods of Offline Website Preservation
Historically, saving web pages involved using browser ‘Save As’ functions or specialized tools like HTTrack, which often failed to capture dynamic content or scripts accurately. These methods could result in incomplete or non-functional copies, especially for modern sites heavily reliant on JavaScript. While tools like Wget could mirror static content, they lacked the ability to render pages fully before saving, leading to outdated or broken offline versions.
Kage builds on recent advances in headless browser automation, notably Chrome and Chromium, to render pages as users see them, then converts them into static, script-free files. Its approach aligns with ongoing efforts to improve web archiving, such as the development of formats like ZIM used by projects like Kiwix for offline Wikipedia access. Unlike previous tools, Kage emphasizes accuracy, privacy, and ease of use, targeting both casual users and archivists.
“Kage renders websites in a real browser, waits for everything to settle, then strips out all scripts, leaving a perfect static snapshot that runs offline and without tracking.”
— Kage Developer
website cloning tool
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Remaining Questions About Kage’s Capabilities and Limitations
It is not yet clear how well Kage handles highly dynamic sites or pages with complex client-side rendering. While it renders pages fully before stripping scripts, the effectiveness on sites with frequent updates or extensive multimedia remains to be tested. Additionally, user feedback on performance and compatibility across different systems is still emerging, and long-term stability of the generated offline copies has not been fully evaluated.
headless Chrome website downloader
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Next Steps for Kage Development and Adoption
Developers plan to expand Kage’s features, including support for more complex sites and improved packaging options. User feedback from early adopters and archivists will guide enhancements. Further testing on diverse websites will determine its robustness and limitations. The project’s maintainers also intend to build integrations with popular archiving workflows and explore automated scheduling for regular site snapshots.

Web Archiving
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Can Kage clone sites with dynamic content or only static pages?
Kage renders pages in a real browser, so it can handle dynamic content that loads after initial page load. However, its effectiveness on highly interactive or complex sites still requires testing, and some dynamic features may not be fully preserved.
Does Kage preserve tracking scripts or analytics?
No, Kage strips out all scripts after rendering, removing tracking, analytics, and any network calls, prioritizing privacy and offline stability.
What formats can Kage output for offline use?
Kage can produce a folder of static HTML, images, CSS, and fonts, or pack the site into a single ZIM archive or executable binary for easy sharing and long-term storage.
Is Kage easy to set up and use for non-technical users?
Yes, Kage provides command-line instructions, container images, and prebuilt binaries, making it accessible for users with basic technical skills interested in web archiving.
Source: Hacker News