A CHM file opens with a double-click on Windows and almost nowhere else. macOS, iPadOS, Android and ChromeOS have no built-in viewer for Microsoft's Compiled HTML Help, and Gmail refuses to send .chm attachments at all. Converting the manual to PDF gives you one file that opens in every browser, prints cleanly and can be passed on without warnings.
When converting CHM to PDF makes sense
- Reading on a Mac, tablet or phone. Apple Books, Preview and every mobile browser read PDF. None of them reads CHM.
- Printing a manual. The Windows help viewer prints topic by topic. A PDF prints as one document with consistent pages.
- Sending documentation by e-mail. CHM can run scripts, so mail services treat it like a program. Google lists
.chmamong the file types blocked in Gmail. - The CHM shows blank pages. Windows blocks help files downloaded from the internet or opened from a network share. A PDF made from the same file is not affected.
- Keeping old documentation. Microsoft froze HTML Help at version 1.4 years ago. Manuals for hardware you still own are safer in a format with an ISO standard behind it.
If the file is interactive help that you use on Windows every day, keep it as CHM. The Index and Search tabs are faster than anything a PDF offers.
Compiled HTML Help file to PDF: what the converter does
A CHM is a compressed archive of ordinary web pages plus a contents tree. Our converter unpacks it, reads the contents tree and lays the topics out one after another as a single document.
- Table of contents. The headings of the Contents tab become PDF bookmarks with the same nesting, so the outline panel of your PDF reader replaces the left pane of the help window.
- Topics. Text, headings, lists, tables and images are kept with the styling of the original pages. Fonts are embedded in the PDF.
- Cross-references. Links from one topic to another remain clickable and jump to the right place inside the PDF.
- Pages. US Letter, 8.5 × 11 inches, with one-inch margins. No page numbers or running headers are added.
- Help without a contents tree. Some small CHM files have none. The converter then starts at the default topic and follows the links from there, so the order of topics is the order in which they are linked.
What does not survive
- The keyword index and the full-text search tab. Use the search of your PDF reader, the text in the PDF is real text.
- Anything produced by scripts or ActiveX controls: expanding sections, pop-up definitions, buttons that open related topics. Scripts are not run, so collapsed text may stay hidden or appear all at once, depending on how the page was written.
- Window layout. Help pages were designed for a resizable window. Wide tables and long unbroken lines of code may be squeezed or cut at the right margin of a fixed page.
Common problems
Garbled characters in the PDF
The converter takes the text encoding from the language recorded inside the CHM. Help files compiled without that information are read as Western European text, which turns Czech, Polish, Russian or Greek letters into nonsense. The remedy is to unpack the CHM (7-Zip can do it), and convert the HTML pages with the correct encoding declared.
The PDF is US Letter and I need A4
Letter is 6 mm wider and 18 mm shorter than A4. For printing, choose Fit or Scale to paper size in the print dialog. The reduction is a few percent.
Pages are missing
Topics that are neither in the contents tree nor linked from another topic cannot be found, because nothing points to them. This happens with context help that the program opens by number. Unpacking the CHM gives you every HTML file regardless.
The conversion fails or takes too long
A file that is not a real CHM (it must start with the letters ITSF) is rejected. Very large help systems with thousands of topics can exceed our limit of ten minutes per conversion. The upload limit is 100 MB per file.
Doing it yourself, and when this converter helps
On Windows you can print from the help viewer: select a heading in the Contents tab, click Print, choose to print the heading together with all its subtopics and pick Microsoft Print to PDF as the printer. It works for a chapter. The result has no bookmarks.
The free e-book manager calibre converts CHM on Windows, macOS and Linux and lets you set A4 paper and your own margins. If you only need the raw pages, 7-Zip unpacks a CHM into its HTML files and images.
Our converter suits the other situations: you are on a Mac, a Chromebook or a phone, you have no rights to install software, or you want the manual as PDF now. No registration, up to 10 files at once, results available for 14 days. For reading on an e-reader choose EPUB as the target instead of PDF, because its text adapts to a small screen. More about the source format is on our CHM format page.
CHM and PDF compared
| CHM | ||
|---|---|---|
| Developer | Microsoft, 1997, with Internet Explorer 4 | Adobe, 1993 |
| Standard | none, last version HTML Help 1.4 | ISO 32000 |
| Content | HTML pages, images, scripts, contents, index, search index | fixed pages, embedded fonts, bookmarks |
| Compression | LZX | per object, mostly Deflate and JPEG |
| Opens in | Windows help viewer; third-party readers elsewhere | any browser or PDF reader |
| Can run code | yes, scripts and ActiveX | not in the file we produce |
Microsoft still hosts the HTML Help 1.4 documentation as archived content. The UK National Archives describe the format in the PRONOM registry.