How to Create a New CHM File

CHM files (Compiled HTML Help) are the standard for software documentation on Windows. Whether you're a developer documenting your application or a technical writer, creating a structured, navigable help file is essential. This guide will walk you through creating a new CHM project using CHM Editor.

Note: Creating CHM files from scratch can be complex with standard tools. CHM Editor simplifies this process with a visual interface and built-in templates.

1. Installation and Setup

First, ensure you have CHM Editor installed. If you haven't already, you can download the trial version to follow along with this tutorial.

Once installed, launch the application. You will be greeted by the start screen.

2. Creating a New CHM File

To create a new CHM file, navigate to File > New in the top menu, or simply press Ctrl+N.

Creating a new CHM file menu

CHM File Configuration

The "New CHM File" dialog allows you to configure your documentation. It's called a "project" because CHM Editor creates auxiliary files (such as project settings and source HTML files) alongside the final compiled CHM:

New CHM project properties dialog

3. Adding Topics

A help file consists of multiple topics organized in a tree structure. Topics are the individual pages of your documentation that users will navigate through.

Step 1: Click the Add Topic Button

To add a new topic, click the + button in the navigation toolbar:

Add Topic Button in CHM Editor toolbar

Step 2: Configure Your Topic

In the dialog window that appears, you can define your topic parameters:

New Topic creation dialog

You have three options for creating a topic:

Step 3: Setting the Default Topic

The default topic is the first page users will see when they open your CHM file. There are two ways to set it:

Option A: During topic creation, check the "Set as default" checkbox:

Set as default checkbox during topic creation

Option B: Right-click any existing topic in the tree and select "Set as Default":

Set as Default option in context menu
Tip: Don't forget to set a default topic at some point — this is the page users will see first when opening your help file.

4. Editing Content

Use the editor pane to format text, insert images, and create links.

Translating Your Content

CHM Editor includes built-in translation powered by Google or Bing. You can translate your content in two ways:

CHM Editor Translation Interface
Note: Professional translators can use CHM Editor to handle help files as standard documents — no HTML knowledge required. All tags and formatting are preserved during translation.
Pro Tip: You can export your help file to PDF or Word formats later if you need to provide printable documentation.

With your project set up, you are ready to build comprehensive documentation. CHM Editor handles the complex compilation process in the background, letting you focus on writing good content.