Monolith fetches a web page and embeds CSS, images, and JavaScript into one HTML5 file. Saved pages render offline like the live site.
Overview
Monolith turns any web page into a single HTML file you can store and open locally. Unlike a basic browser save, it pulls the document and embeds stylesheets, images, and scripts as data URLs so one file holds the whole page.
Compared with mirror tools that keep separate asset folders, embedding everything lets a browser show the saved page the way it looked online, even without a network. Output defaults to HTML; you can also choose MHTML, WARC, or compressed WARC, and process several URLs so cross-links point at local files.
Options cover domain allow and deny lists, cookie files, custom user agents, timeouts, reader-style simplification, and stripping images, scripts, or styles. It can read targets from WARC, HAR, MHTML, or WebArchive without going online when you use archive mode.
For pages that need a real browser engine, an optional mode opens Firefox or Chromium (or compatible forks), renders headlessly from a temporary profile, scrolls to load lazy content, then saves the result. Content security policies in the saved file are adjusted for offline use. The same browser rendering is available from a GUI action and when other programs use Monolith as a library.
Pre-built binaries are published for Windows and GNU/Linux, including non-standard CPU architectures. You can run it in the cloud via a hosted actor on Apify without local installation.
Key features
- Single-file HTML with embedded assets
- HTML, MHTML, WARC, and WARCGZ output
- Offline replay from WARC, HAR, and MHTML archives
- Optional headless browser rendering
- Domain blacklist and whitelist
- Reader-style simplified saves
- Multi-page batches with local link rewriting
- Library API for embedding in other apps
Use cases
- Archiving open browser tabs to disk
- Offline copies of documentation or articles
- Preserving pages when links may break
- Processing captures from existing web archives
- Saving dynamic pages after browser render