A tool to make self-contained HTML files or folders
The HTMLArchiver is a simple tool that can produce a self-contained file for a Web page. You can use it, e.g., to
download a Web page to your computer into a single file (with all image material embedded as Data URIs)
inline all resources (images, style sheets etc.) of an HTML file, so that you can send the file by email.
make a self-contained folder of an HTML file, so that all resources are in the same place.
- archive a Web page or an HTML file.
How it works
The HTMLArchiver is a Java tool that you can download on your computer. Once downloaded, open a terminal and type
java -jar HTMLArchiver.jar INLINE (Web page or source file name) (target file)
This will convert the Web page or the source file into a single file, by inlining all resources as Data URIs.
Alternatively, you can use
java -jar HTMLArchiver.jar BUNDLE (Web page or source file name) (target folder)
This will copy the Web page or source file and all resources to the target folder, and adjust the references in the source accordingly.
Terms and Conditions
The HTMLARchiver was programmed by Fabian M. Suchanek. It is available under a Creative Commons Attribution License. This means you can use the program for free. You can even build on it, if you credit the author. Finally, the license REJECTS ALL WARRANTIES AND GUARANTEES WHATSOEVER FOR THIS PRODUCT. The current version is 2017-08-07.