How to Remove Chapter Numbers from Word Header Titles
Question details
The user needs to display only the chapter title text in a Word document header, excluding the auto-generated chapter number that belongs to the Heading 1 style.

- Product
- Microsoft Word
- Device & OS
- Windows / Mac
- Scenario
- Creating dynamic document headers that reference chapter titles for a clean, professional layout.
- Observed behavior
- The header currently pulls both the chapter number and the title text (e.g., '3 Similitude'), but the expected outcome is to display only the text.
Ensure your document chapters are properly formatted using built-in Heading styles (such as Heading 1) before adjusting the dynamic fields in your header.
Configure the STYLEREF Field to Exclude Numbering
Modify the STYLEREF field in your header so that it only references the heading text and ignores the auto-generated chapter number.
The STYLEREF field is designed to pull text formatted with a specific style into your headers or footers. By default, adjusting the field options allows you to specify whether paragraph numbers are included or excluded.
Double-click the top margin of your document page to open the Header & Footer workspace.
Right-click on the existing chapter title in your header and select 'Edit Field' from the context menu. If you are starting fresh, go to Insert > Quick Parts > Field.
In the Field dialog box, select 'StyleRef' under field names. Select your corresponding heading style (e.g., Heading 1). Ensure that the option 'Insert paragraph number' (or the \n switch in field codes) is NOT selected.
Click OK to apply the changes. The header should now display the text only. If the old text remains, right-click it and select 'Update Field'.

Toggle Nonprinting Characters and Hidden Text Settings
If you attempted to hide the numbers using hidden font attributes, ensure hidden text isn't configured to display or print in Word settings.
Easily Manage Headers and Fields with WPS Writer
WPS Writer provides a highly compatible and intuitive interface for managing complex document fields, headers, and styles. You can easily insert dynamic references to your chapter titles without memorizing confusing field switches.
- 1. Open Document: Launch WPS Writer and open your formatted document.
- 2. Edit Header: Double-click the header area to activate the Header and Footer tab on the ribbon.
- 3. Insert Field: Navigate to the Insert tab, click on 'Field', and select 'StyleRef' from the options.
- 4. Configure and Apply: Select your heading style (e.g., Heading 1), configure the output to text only, and click OK to dynamically link the title.

Frequently Asked Questions
Why does my header still show the chapter number after modifying the STYLEREF field?
Dynamic fields in Word do not always update automatically in real-time. You may need to refresh the field manually. Right-click the header field and select 'Update Field', or press F9 (Fn+F9 on some keyboards) to refresh the displayed content.
How do I view the actual field code instead of the text?
You can toggle between viewing field codes and their results by pressing Alt+F9 on Windows or Option+F9 on Mac. This allows you to see if any unwanted numbering switches (such as \n) are accidentally applied to your STYLEREF field.
Can I have both the chapter number and the title in the header but format them differently?
Yes, you can achieve this by inserting two separate STYLEREF fields. Configure the first one to show only the paragraph number (by checking the insert paragraph number option or using the \n switch) and the second to show only the text. You can then apply different font styles, colors, or spacing to each field individually.




