Software to convert CHM files to EPUB/Kindle
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Book End
--
Chapters
00:00 Question
00:40 Accepted answer (Score 23)
01:59 Answer 2 (Score 38)
02:28 Answer 3 (Score 5)
02:49 Answer 4 (Score 1)
03:16 Thank you
--
Full question
https://superuser.com/questions/73638/so...
Question links:
[Kindle 2]: https://en.wikipedia.org/wiki/Amazon_Kin...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#conversion #chm #epub
#avk47
ACCEPTED ANSWER
Score 23
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):
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)
Merge the HTML files into a single file (e.g. with SoftSnow Merger)
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.
ANSWER 2
Score 5
It is a cool workaround by Molly, but you can also use eCub to create ePUB from HTML pages. This way you don't have a one page book, but books with chapters and various pages.
ANSWER 3
Score 1
I have found Sigil to be an excellent tool for creating and editing ePub format e-Books. I use it on Linux, but as far as I know it works equally well on Windows or Mac, so it should not matter at all what operating system you are trying to accomplish this task on. As long as you have the HTML and image files you need (and know enough about HTML to possibly edit the image links or clean up the content if necessary) you should be fine. It requires a bit more work than eCub, but it gives you total control over the end result and with a little practice you can create some quite nice ePub e-Books.
ANSWER 4
Score 1
Why not try chm2pdf? It's available in Ubuntu repository so you can easily install it:
sudo apt-get install chm2pdf
It has a continuous mode to concatenate html pages, as:
chm2pdf --continuous in.chm out.pdf
And a lot of options to control the output appearance.