.CHM

CHM File

Microsoft Compiled HTML Help file
Ask a question
QUICK ANSWER

A CHM file is a Microsoft Compiled HTML Help file - a single compressed bundle of HTML pages, images, and a searchable index, used for Windows software manuals and e-books. On Windows, double-click it; the built-in viewer (hh.exe) opens it with a contents tree and search. If every page is blank, the file is blocked by Windows security: right-click it, choose Properties, and click Unblock.

Developer: Microsoft Category: Web Files MIME: application/vnd.ms-htmlhelp
OPENS ON Windows macOS Linux Android

On this page

19k+ extensions indexed
Last reviewed Sep 11, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the CHM file format?

.chm is a Microsoft Compiled HTML Help file - a Windows Help module used to store help documents for applications and system functions. .chm documents are built from HTML source files, the same format used for websites, and compiled into a single self-contained binary archive. On Windows, .chm files open natively with hh.exe (HTML Help), which ships with every version of Windows since Windows 98. Dedicated third-party readers such as xCHM and SumatraPDF are also available.

The format uses Microsoft's proprietary ITSF (Info-Tech Storage Format) container, identifiable by the four-byte file signature ITSF at offset 0. Inside the container, HTML topics, images, CSS and index tables are compressed using LZX compression, which is why the file appears as a single compact archive rather than a folder of loose files. The predecessor to .chm was the older .HLP WinHelp format, which it replaced in 1997.

Help files contain software documentation. A typical .chm file is divided into sections organized in a tree-like structure, covering application usage, features, and frequently asked questions. Because .chm renders through Internet Explorer's MSHTML engine, files copied from a network share or downloaded from the internet may display blank pages - a Windows security restriction known as the "mark of the web" block. Unblocking the file via its Properties dialog restores normal display.

.chm files are portable and self-contained: a single file carries all topics, images and navigation. Although the format is considered legacy - Microsoft's newer systems use .hxs or online documentation delivery - .chm files still open correctly on current Windows without additional software.

Security & safety

RISK: MEDIUM

CHM is an HTML container that can embed scripts and shortcut/HTML-Help commands, and it has a real history of malware abuse (malicious CHMs that launch executables, used in phishing campaigns) and old viewer vulnerabilities. Only open CHM files from trusted sources. Windows deliberately blocks content in CHMs opened from the Internet/network (every page shows blank) via the 'mark of the web' - if you trust the file, right-click > Properties > Unblock, or move it to a local drive. Treat unexpected .chm attachments like any other executable attachment.

Format details

in a nutshell
FULL NAMEMicrosoft Compiled HTML Help fileaka Compiled HTML Help, HTML Help
DEVELOPERMicrosoftsince 1997 (HTML Help 1.0, with Windows 98)
CATEGORYWeb Files
MIME TYPEapplication/vnd.ms-htmlhelp
TYPEBinary container of compiled HTML, images and index (ITSF/ITOL-ITLS)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
49545346
ASCII
ITSF
Files begin with the 4-byte signature "ITSF" (49 54 53 46), immediately followed by the format version as a little-endian dword (typically 03 00 00 00). ITSF is Microsoft's internal 'Info-Tech Storage Format'; inside it an ITSP/ITOL-ITLS directory indexes the compressed HTML content (LZX-compressed).

Programs that open CHM files

Windows4 apps
xCHM Open-source Open the .chm to view it with contents, index and search; useful when hh.exe misbehaves.
7-Zip Open-source Right-click > 7-Zip > Open archive to extract the raw HTML/images from the CHM (does not render it).
HTML Help (hh.exe) Built-in Double-click the .chm - the built-in Microsoft Help viewer opens it with a contents tree, index and search. No install needed.
SumatraPDF Open-source Open the .chm in SumatraPDF - a lightweight free reader that also renders CHM with a contents pane.
macOS3 apps
Calibre Open-source Add the .chm and use Calibre's viewer, or convert it to EPUB/PDF for Apple Books.
xCHM Open-source Build/install via Homebrew (wxWidgets) to read CHM files on macOS.
CHMOX / Chmox Open-source Open the .chm in this small native macOS CHM reader.
Linux3 apps
Calibre Open-source Open or convert the CHM e-book to EPUB/PDF.
xCHM Open-source Install from your distro (apt/dnf) and open the .chm with contents/index/search.
KchmViewer Open-source KDE CHM viewer; open the .chm for a full contents tree and full-text search.
Android1 app
CHM Reader / EBookDroid Free Open the .chm in a CHM-capable reader to read it on a phone/tablet.

Technical details

deep spec
Container formatITSF (Info-Tech Storage Format) - Microsoft's proprietary compound storage with an internal ITSP directory that indexes all virtual files inside the archive
Magic bytes4-byte ASCII signature ITSF (hex 49 54 53 46) at offset 0, immediately followed by a little-endian DWORD version field (typically 03 00 00 00 for HTML Help 1.x)
Byte orderLittle-endian throughout all header and directory structures
CompressionLZX compression applied to the HTML content section; the same LZX variant is also used in Microsoft Cabinet (.cab) files
MIME typeapplication/vnd.ms-htmlhelp (registered); application/x-chm and application/octet-stream also in widespread use
Internal structureITSF header + ITSP directory listing virtual files; content section contains HTML topics, images, CSS, #SYSTEM/#STRINGS metadata blocks and #TOPICS/#URLTBL URL index tables, all LZX-compressed
Windows viewerhh.exe (HTML Help executable) using the ActiveX control hhctrl.ocx, present on all Windows versions from Windows 98 onward; no separate installation required
Rendering engineInternet Explorer MSHTML; HTML and CSS inside a .chm are rendered as IE would, which can produce display quirks in very old files that relied on IE-specific behaviour
EncryptionContent is LZX-compressed but not encrypted; the archive can be unpacked directly with tools such as 7-Zip or the hh.exe -decompile command
Integrity checkingNo built-in CRC or digital signature; a corrupt .chm simply fails to decompress or displays no content, with no error detail from the viewer
Typical file sizeRanges from tens of KB to approximately 100 MB; most software help files fall in the 1-10 MB range
Platform supportNative on Windows via hh.exe; third-party viewers on Linux (xCHM, KchmViewer, Calibre) and macOS (CHMOX, xCHM, Calibre)
Network security restrictionFiles opened from a network share or downloaded from the internet are blocked by Windows Mark of the Web policy, causing blank topic pages; unblocking via file Properties dialog restores full access
ITSF header layoutVersion 3 header of 56 bytes containing a creation timestamp, a Windows LCID (language code) and two GUIDs that identify the content and transform sections
Released1997 (HTML Help 1.0, with Windows 98)
Latest versionHTML Help 1.4 (ships with Windows; runtime hhctrl.ocx, no new versions since early 2000s)
Specificationwww.nongnu.org

CHM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CHM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about CHM files.

Frequently asked questions

How do I open a .chm file?
On Windows just double-click it - the built-in HTML Help viewer (hh.exe) opens it. On macOS use Chmox or Calibre; on Linux use xCHM or KchmViewer.
Why is my CHM file blank / shows 'navigation to the webpage was canceled'?
Windows blocks CHM content opened from the Internet or a network share. Right-click the file > Properties > tick 'Unblock' (or move it to a local drive like C:), then reopen it.
How do I convert a CHM to PDF?
Use Calibre (Add book > Convert to PDF) for a one-click conversion, or open the CHM and print each topic. Help authoring tools like Help & Manual can also export to PDF.
How do I extract the HTML and images from a CHM?
Open the .chm with 7-Zip (right-click > 7-Zip > Open archive) and extract, or run 'hh.exe -decompile <folder> file.chm'. You get the original HTML pages and images.
Can I read a CHM on my phone or e-reader?
Yes - convert it to EPUB or PDF with Calibre, or use an Android reader like EBookDroid that opens CHM directly. iOS users can convert to EPUB and open in Apple Books.
Are CHM files safe to open?
Only from trusted sources. CHM can embed scripts and has been used to deliver malware, which is why Windows blocks CHMs downloaded from the Internet by default.

References

1Wikipedia - Microsoft Compiled HTML Helpen.wikipedia.org
2Microsoft - HTML Help (hh.exe) referencelearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.TMPTemporary File
9.MDMarkdown Document
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.CRDOWNLOADChrome Partial Download File
.JNLPJava Network Launch Protocol file
.WEBARCHIVESafari Web Archive
.PARTPartial Download File
.DOWNLOADPartial / Incomplete Download File
.ASPXActive Server Page Extended (ASP.NET Web Form)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z