How to Fix a Word Table of Contents Entry Split Across Lines
Question details
The user needs to fix an issue where a specific heading and its page number in a Word Table of Contents are incorrectly split across multiple lines or display duplicate page numbers.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Generating or updating a Table of Contents in a document.
- Observed behavior
- One or more Table of Contents entries split their text and page numbers across different lines, while the rest of the entries display normally.
Before troubleshooting, create a backup copy of your document and replace any sensitive or confidential information with placeholder text, as you may need to thoroughly inspect structural formatting.
Inspect and Fix the Source Heading Style
Hidden manual line breaks (Shift+Enter) or unintended tab stops within the source heading often cause the Table of Contents entry to split. Removing them resolves the issue.
Word generates the Table of Contents directly from the text formatted with Heading styles. If the original heading contains manual line breaks, Word attempts to carry those over into the Table of Contents, causing the layout to break.
Scroll through your document or use the Navigation Pane to go directly to the page containing the heading that is splitting in the Table of Contents.
Go to the 'Home' tab and click the 'Show/Hide ¶' button in the Paragraph group to reveal hidden formatting symbols.
Look for any bent arrow symbols (↵) within the heading text. Delete these manual line breaks and replace them with standard spaces.
Right-click the Table of Contents, select 'Update Field', and then choose 'Update entire table' to confirm the entry now displays on a single line.

Adjust Table of Contents Indentation and Tab Stops
If the heading text is exceptionally long, it may push the page number to the next line. Adjusting the right indent for the specific TOC style fixes the text wrapping alignment.
Create and Format Table of Contents Flawlessly with WPS Office
WPS Office Writer provides an intuitive and highly compatible word processing environment. Managing complex documents, heading styles, and generating an accurate Table of Contents is seamless and hassle-free.
- 1. Open your document: Launch WPS Office Writer and open your existing Word document.
- 2. Insert Table of Contents: Navigate to the 'References' tab and click the 'Table of Contents' button.
- 3. Customize layout: Choose a built-in style or click 'Insert Table of Contents' to adjust tab leaders, levels, and page numbers.
- 4. Keep it updated: Select 'Update TOC' in the References tab anytime you modify headings to keep everything perfectly aligned.

Frequently Asked Questions
Why does my Table of Contents have duplicate page numbers?
This typically occurs when a source heading contains a manual line break (inserted by pressing Shift+Enter) or hidden tab characters. The word processor treats the separated text lines as distinct parts of the same heading, causing it to render the page number twice in the Table of Contents.
How do I stop long headings from wrapping in the Table of Contents?
You can fix this by adjusting the right indent of the specific TOC style. Open the Custom Table of Contents menu, select Modify, choose your TOC level, and format the paragraph by moving the right indent inward. This forces the text to wrap neatly before it hits the page number tab stop.
Will updating the Table of Contents overwrite manual formatting changes?
Yes. If you manually type spaces, hit 'Enter', or change the font directly inside the generated Table of Contents field, those edits will be erased the next time you update the table. You should always make structural changes to the source heading in the document or modify the underlying TOC Styles.




