Conversion – Software to Convert CHM Files to EPUB/Kindle

chmconversionepub

I'm trying to decide whether to buy a Kindle 2, now that it's available in Europe. One thing I would like to do with it is to put several Windows help files on it (for example, the Python documentation). Is there a good way to convert a CHM file to a Kindle-readable format?

Or is this something that other e-readers like Sony's do better since EPUB and CHM are both based on HTML?

Best Answer

If you're using Windows (you can skip directly to step 3 if using a recent versions of Calibre; it now supports importing .chm files directly):

  1. Extract the HTML files from the CHM container from the command prompt with HH.EXE

    Example:

    HH.EXE -decompile C:\Temp\decompile-folder C:\Temp\yourCHM.chm
    

    (Mac users can use Tubby to convert CHM to HTML)

  2. Merge the HTML files into a single file (e.g. with SoftSnow Merger)

  3. Use Calibre to convert it to EPUB.

All programs mentioned above are freeware, and hh.exe is a Microsoft Windows Help utility.

There are commercial programs like ABC Amber CHM Converter that will perform steps 1 & 2 automatically. However, I don't know any software that will convert CHM directly to EPUB. Other commercial applications (for example, Universal Document Converter) can be used to convert CHM to PDF which the Kindle may or may not handle all that well.

Related Question