Convert CHM to TXT

Turn CHM books into TXT. The help pages become chapters in the order of the help file's table of contents.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop CHM files on the dialor turn it to pick what to do

A help file as plain text.The pages come out as chapters in one TXT file, in the order of the table of contents.

  1. What you get

    One TXT file with the title and author first. The help pages follow as chapters, in the order of the help file's table of contents.

    Each paragraph sits on one line. Tables become aligned columns, and notes stay where the book places them.

  2. What it changes

    Images become their descriptions, so the text holds words where the pictures were. Plain text has no formatting, so the result is only text.

  3. What it leaves out

    Scripts, embedded objects, the help index and search, and pictures loaded from the web are left out. Pages that nothing in the help file links to are also left out.

CHM and TXT.What each format is.

The formats

From · CHM

Compiled HTML Help

Microsoft's compiled help file: HTML pages, pictures, a table of contents and an index packed into one compressed file, opened by Windows Help.

Extensions
.chm
MIME type
application/vnd.ms-htmlhelp
Kind
Ebooks
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

In your code.The same CHM to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert report.chm report.txt
$ cv convert report.chm report.txt

Questions.What people ask about CHM to TXT.

01OF 04

Yes. The pages become chapters in the order of the table of contents.

Tables become aligned columns in the text.

No. Each image becomes its description. Pictures loaded from the web are left out.

You get one file. For more on the format, see every TXT conversion, or merge TXT to join files.

More conversions.Other ways in and out of CHM and TXT.