CHIP - HTML to ePub Converter
Overview
CHIP (Convert HTML Into ePub) is a utility designed to convert a standalone HTML document into a fully formatted ebook in ePub format. CHIP integrates directly into the Windows file explorer context menu. When installed, right-clicking any .htm or .html file will provide the option Convert to ePub. The generated output file shares the base name of the input file with an .epub extension and is saved in the same directory.
Features
- Chapter/Section Detection: Automatically assigns chapter names from headings and embeds each chapter separately into the ePub package.
- Named HTML Entities: Named entities, like
Ä(Ä) orα(α), are automatically encoded as UTF-8 characters. - Table of Contents Generation: Both EPUB2 and EPUB3 compliant navigation files are automatically generated and embedded.
- Asset Embedding: Images referenced within the HTML are automatically detected and embedded directly into the ePub package.
- EPUB Compliance: Output complies with the EPUB v3.3 rules of the w3c EPUBCheck conformance checker.
License
CHIP is free to use and is released under the terms of the GNU Affero General Public License (AGPL).
Download
Download CHIP-v1.01-exe.zip containing the compiled executable chip.exe.
Download CHIP-v1.01-src.zip containing the C source code (compiled using GCC/MinGW-w64).
Note: Because this is an infrequently-downloaded personally-written utility, Microsoft Defender may flag it as an unknown or unsafe program. There's not much I can do about that. You can verify the safety of the code yourself by reviewing the source code and/or checking it at virustotal.com. Otherwise click More Info and Run Anyway if prompted.
Installation and Usage
- Installation: Extract the files to your a folder of your choice. There is no additional installation procedure needed.
- Setup: Double click on the executable
chip.exe(run it without any arguments) to manage its context menu integration. It will ask whether you would like to use it as a context menu option for.htmand.htmlfiles. The context menu integration will be installed or removed accordingly. - Context Menu: Right-click any
.htmor.htmlfile and select Convert to ePub. (Note: On Windows 11 you may need to first select Show more options.) - Usage: Further details of the features, usage, and HTML document structure required can be found in the accompanying documentation (also included in the downloads).