Microsoft Compiled HTML Help
Template:Short description Template:Infobox file format {{#invoke:Infobox|infobox}}Template:Template other {{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y| AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo class | logo size | logo title | logo upright | logo_alt | logo_caption | logo_class | logo_size | logo_title | logo_upright | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | qid | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot class | screenshot size | screenshot title | screenshot upright | screenshot_alt | screenshot_class | screenshot_size | screenshot_upright | service_name | size | standard | title | ver layout | website }}Template:Main other{{#invoke:Check for conflicting parameters|check | template = Template:Infobox software | cat = Template:Main other | logo size; logo_size | logo class; logo_class | logo alt; logo_alt | logo title; logo_title | logo caption; logo_caption | screenshot size; screenshot_size | screenshot upright; screenshot_upright | screenshot class; screenshot_class | screenshot alt; screenshot_alt | screenshot title; screenshot title | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | programming language; programming_language | operating system; operating_system }}
Microsoft Compiled HTML Help (CHM)Template:Efn is a Microsoft proprietary online help format, consisting of a collection of HTML pages, an index and other navigation tools. The files are compressed and deployed in a binary format with the extension .CHM. The format was intended to succeed Microsoft WinHelp.
Although the format was designed by Microsoft, it has been successfully reverse-engineered and is now supported by many document viewers.
History
CHM was introduced as the successor to Microsoft WinHelp with the release of Windows 95 OSR 2.5. Within the Windows NT family, the CHM file support is introduced in Windows NT 4.0[1][2] and is still supported in Windows 11.[3]
| Month | Year | Description |
|---|---|---|
| February | 1996 | Microsoft announces plans to stop development of WinHelp and start development on HTML Help. |
| August | 1997 | HTML Help 1.0 (HH 1.0) is released with Internet Explorer 4. |
| February | 1998 | HTML Help 1.1a ships with Windows 98. |
| January | 2000 | HTML Help 1.3 ships with Windows 2000. |
| July | HTML Help 1.32 releases with Internet Explorer 5.5 and Windows Me. | |
| October | 2001 | HTML Help 1.33 releases with Internet Explorer 6 and Windows XP. |
| March | At the WritersUA (formerly WinWriters) conference, Microsoft announces plans for a new help platform, Help 2, which is also HTML based. | |
| January | 2003 | Microsoft decides not to release Microsoft Help 2 as a general Help platform. |
Microsoft has announced that they do not intend to add any new features to HTML Help.[4]
File format
Help is delivered as a binary file with the .chm extension. It contains a set of HTML files, a hyperlinked table of contents, and an index file. The file format has been reverse-engineered and documentation of it is freely available.[5][6]
The file starts with bytes "ITSF" (in ASCII), for "Info-Tech Storage Format", which is the internal name given by Microsoft to the generic storage file format used for CHM files.[7]
CHM files support the following features:
- Data compression (using LZX)
- Built-in search engine
- Ability to merge multiple .chm help files
- Extended character support, although it does not fully support Unicode.[8]
The Microsoft Reader's .lit file format is a modification of the HTML Help CHM format. CHM files are sometimes used for e-books.[9]
Viewers
In addition to Microsoft Windows, the following apps support CHM:
| Name | Operating system | Website | |
|---|---|---|---|
| Okular | Linux, Unix-like, Windows | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }}
{{#invoke:URL|url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} |
Uses hh.exe on Windows
|
| Calibre | Windows, macOS, Linux | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| Sumatra PDF | Windows | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| GnoCHM | Linux, BSD | Template:SourceForge | |
| CHM View | None/Uncompiled | Template:GitHub | |
| kchmviewer | Windows, Linux | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| KCHM | Linux, BSD, Solaris | Template:SourceForge | |
| CHMPane | Windows, macOS, Linux | Template:SourceForge | |
| CHMate Neue | iOS, iPadOS, visionOS | Template:ITunes | |
| iChm | iOS, macOS | Template:ITunes | Discontinued |
| ChmPlus | iOS, iPadOS, macOS, visionOS | Template:ITunes | |
| Chmox | macOS | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| Clearview | macOS | Template:ITunes | |
| DisplayCHM | Linux | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| KOReader | Android, Linux | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | |
| 7-zip | Windows (GUI), MacOS (command-line), Linux (command-line) | url}}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:URL with unknown parameter "_VALUE_"|ignoreblank=y | 1 | 2 }} | 7-zip can show the contents of .chm files as though they are a compressed archive, but does not render the HTML as a help-viewer. |
Creators
Microsoft's HTML Help Workshop generates CHM files by instructions stored in an HTML Help project file, which bears a .HHP file name extension and is a specialized form of INI file.[10]
Lazarus and Free Pascal provide a doxygen-like tool for CHM generation and a separate command-line compiler called chmcmd.
Other utilities
The official viewer in Microsoft Windows (hh.exe) can decompile a CHM file. So can Microsoft HTML Help Workshop and 7-Zip. Calibre and arCHMage can convert CHM into another format.
See also
Footnotes
References
External links
- HTML Help Web Page on MSDN Template:Webarchive
- Microsoft Help 2 Reference Template:Webarchive (part of Visual Studio SDK for VS7.1 and VS8.0)
- History of HTML Help
- Unofficial (Preliminary) HTML Help Specification (the linked ITSF specification has been moved to the Russotto.net domain)
Template:Microsoft Windows components
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Template:Cite book
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}