Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to extract content of old .chm file into individual html files.

Is there an app or command line tool for this?

share|improve this question
up vote 1 down vote accepted

For $1 (instead of $18 for FileJuicer) you might consider this app:

CHM Decompiler

It worked correctly for me. (I have no relationship with the developer, just a happy customer.)

share|improve this answer

Perhaps http://echoone.com/filejuicer/formats/chm will do the job for you.

FWIW, my chm to HTML workflow differs though. I use iCHM app (http://www.macupdate.com/app/mac/28171/ichm) for OS X to convert chm to PDF to preserve formatting. After editing it (using Adobe Acrobat) as necessary, only then do I convert to HTML.

share|improve this answer

Tubby.

From the website:

Tubby is no longer maintained or supported. It is a CHM file expander, opening Combined HTML Help files and outputting their contents in a folder of the same name. You can access the source on the side and use as you see fit.

Requirements. Tubby runs on Mac OS X 10.3.9 or higher.

share|improve this answer

This is pretty easy to do for free you just have to use Terminal and install Homebrew and chmlib.

  1. Open Terminal. (/Applications/Utilities/)
  2. Install Homebrew by visiting http://brew.sh/ and follow the installation instructions. Or just copy paste this command into Terminal and run it.

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  3. After the install is complete type brew install chmlib in Terminal and press enter.

  4. Move the file you want to extract to your Desktop.
  5. Go back to Terminal and type:

    extract_chmLib ~/Desktop/name_of_the_file.chm ~/Desktop/name_of_the_file
    

    Just be sure to replace name_of_the_file.chm with the actual name of the file. This will create a new folder on your desktop.

  6. Open the folder and double click the file index.html. This will open the document in your web browser.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.