CHM - Compiled HTML Help
Overview
CHM stands for Compiled HTML Help, a proprietary binary file format developed by Microsoft for creating offline help documentation. It combines HTML pages, images, and indexing data into a single compressed file that can be easily distributed and accessed without requiring an internet connection.
History and Development
Microsoft introduced CHM as the successor to the older WinHelp format in the late 1990s. The format was designed to modernize help systems by leveraging HTML technology while maintaining efficient file compression and fast search capabilities. CHM files became the standard for application help files throughout the Windows ecosystem during the early 2000s.
Technical Characteristics
CHM files are structured as Microsoft Cabinet (.cab) archives, which are compressed containers that hold HTML files, images, cascading style sheets (CSS), JavaScript, and metadata. The format uses LZX compression to reduce file size while maintaining quick access to individual resources.
The main components of a CHM file include:
Creation and Tools
CHM files are created using authoring tools such as Microsoft HTML Help Workshop, which is a free tool provided by Microsoft. Authors compile their HTML source files and supporting materials into the final CHM package. Various third-party tools also support CHM creation, including Help & Manual, RoboHelp, and Doc-To-Help.
Advantages
The CHM format offers several benefits:
Limitations and Decline
Despite its widespread use, CHM has limitations that have contributed to its decline. Modern web standards have evolved beyond the HTML version supported by CHM viewers. Security concerns have led Windows to restrict CHM file access from network locations. Additionally, the proprietary nature of the format makes it less flexible than web-based documentation solutions.
Current Usage
While CHM remains in use for legacy applications and corporate documentation systems, many organizations have migrated to web-based help systems, PDF formats, or modern documentation platforms. However, CHM files are still valuable for offline documentation in enterprise environments and for applications that require reliable standalone help systems.
Opening and Viewing
CHM files are opened with the built-in Windows Help Viewer (hh.exe). Users can simply double-click a CHM file to open it. On modern Windows systems, there may be security warnings when opening CHM files from untrusted sources, as Microsoft has implemented restrictions to prevent potential security exploits.
Conclusion
CHM represents an important chapter in the history of digital documentation, bridging the gap between offline help systems and modern web technologies. While newer alternatives have emerged, CHM remains a functional and efficient format for specific applications and continues to serve users who require reliable offline documentation access.