What Is .CHM
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 10, 2026
Key Facts
- CHM was introduced in 1997 with Internet Explorer 4.0 as the successor to WinHelp, which had been used since Windows 3.0 in 1990
- The format uses ITSF (Info-Tech Storage Format) internally, identified by the file header bytes 'ITSF' in ASCII
- CHM supports LZX compression algorithm to significantly reduce file sizes while maintaining full-text search capabilities across entire documentation sets
- HTML Help SDK version 1.4 was released in 2002, representing the final major development milestone for the format before Microsoft ceased active development
- CHM files are natively supported across all Windows NT family versions from Windows NT 4.0 through Windows 11, making them a persistent legacy format
Overview
CHM (Compiled HTML Help) is a Microsoft proprietary binary file format designed to deliver help documentation and reference materials for Windows applications. Introduced in 1997 alongside Internet Explorer 4.0, CHM was created as a modernized replacement for the older WinHelp (.hlp) system that had dominated Windows help since the release of Windows 3.0 in 1990. The format was developed to provide a more flexible, web-friendly approach to help systems by combining HTML, CSS, images, and navigation elements into a single, distributable file.
CHM files use a container format called ITSF (Info-Tech Storage Format), which Microsoft developed as a generic storage mechanism for structured data. The binary format begins with the ASCII header bytes "ITSF", allowing operating systems and help viewers to quickly identify and properly handle the file. This single-file distribution model offered significant advantages over traditional multi-file help systems, including easier deployment, simplified versioning, and reduced installation complexity. Despite being released over 25 years ago, CHM remains supported in all modern Windows operating systems, including Windows 10 and Windows 11, though its usage has declined as web-based documentation and online help systems have become the industry standard.
How It Works
CHM files function as compressed archives that contain compiled HTML pages, image assets, metadata, and search indices. When a user opens a CHM file, the Windows HTML Help Viewer extracts and displays the content, providing a desktop application experience rather than requiring web browser access. Understanding the technical mechanics helps explain why the format remains useful in specific legacy and enterprise scenarios.
- Content Compilation: HTML source files, images, and other assets are compiled into a single binary container using the Microsoft HTML Help Compiler tool (HHC.exe), which processes HTML source files and creates optimized internal structures for fast retrieval and search.
- LZX Compression: The compiled content is compressed using the LZX compression algorithm, which reduces file size while maintaining the ability to perform full-text searches without decompressing the entire archive first, balancing file size efficiency with functionality.
- Indexed Full-Text Search: CHM files include pre-compiled search indices that allow users to perform fast full-text searches across all documentation content directly from the Help Viewer's search interface, without requiring external search engines or internet connectivity.
- Table of Contents and Navigation: CHM supports a hierarchical table of contents (.hhc file), keyword indices (.hhk file), and inter-page hyperlinks, enabling users to navigate through documentation using familiar tree-based navigation alongside breadcrumb trails and related topic links.
- Platform-Specific Viewer: The Windows HTML Help Viewer provides the user interface for displaying CHM content, with integrated search, navigation panes, and display controls that render compiled HTML while enforcing Windows security policies around active content.
Key Comparisons
| Aspect | CHM Format | PDF Format | Web-Based Help |
|---|---|---|---|
| File Size | Compressed (LZX), typically small with full-text search capability | Generally larger, no built-in compression beyond PDF standards | Distributed across server, cached by browsers, potentially smallest when accessed |
| Search Capability | Fast full-text search built into Help Viewer, works offline | Search depends on external PDF reader, limited indexing in older readers | Powerful server-side search with filters, but requires internet connection |
| Platform Support | Windows-only (NT 4.0 through Windows 11), not supported on macOS or Linux | Universal support across all operating systems and devices | Universal support in any web browser on any connected device |
| Distribution Method | Single file download, no external dependencies, fully offline accessible | Single file, but may require specific reader installation for full features | Server-based, automatic updates possible, always serves latest version |
| Active Content | Limited JavaScript and ActiveX support, significant security restrictions in modern Windows | No active content support for security reasons | Full web capabilities (JavaScript, CSS, interactive elements) with browser security model |
Why It Matters
Understanding CHM remains relevant for several practical reasons, particularly for IT professionals, legacy application support, and enterprise environments. Many enterprise applications developed in the 1990s and 2000s still rely on CHM help files, and Windows continues to support the format for backward compatibility purposes. However, the format's importance has declined significantly as modern documentation practices have shifted toward web-based systems, cloud-hosted knowledge bases, and platform-agnostic solutions.
- Legacy System Support: Thousands of Windows applications still distribute help documentation in CHM format, making understanding the format essential for IT professionals supporting older software, troubleshooting installation issues, and maintaining application documentation systems.
- Offline Accessibility: CHM files enable offline access to complete documentation without internet connectivity, which remains valuable in corporate environments with security restrictions, remote locations, or where internet access is unreliable or unavailable.
- Single File Distribution: The consolidated single-file format simplifies deployment, version control, and distribution compared to multi-file documentation systems, reducing the complexity of packaging and installation for enterprise software deployments.
- Security and Development Status: Microsoft has announced it does not intend to add new features to HTML Help, and earlier versions had significant security vulnerabilities with embedded scripting; modern Windows versions have restricted CHM capabilities for security reasons, affecting legacy application functionality.
Today, CHM serves primarily as a legacy format maintained for backward compatibility rather than as a recommended solution for new documentation projects. Web-based documentation, markdown-generated static sites, and modern API documentation platforms have proven superior for discoverability, mobile access, and collaborative maintenance. However, CHM files continue to appear in enterprise environments and IT support scenarios, ensuring the format remains relevant for technical professionals managing existing systems and legacy applications.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Microsoft Compiled HTML Help — WikipediaCC-BY-SA-4.0
- CHM File Format DocumentationCC-BY-4.0
- Complete Guide to CHM Files Creation and UsageAll rights reserved
- HelpNDoc CHM Help Files Feature GuideAll rights reserved
Missing an answer?
Suggest a question and we'll generate an answer for it.