logo
search
Formatting Issues

How to Fix a Word Table of Contents Entry Split Across Lines

Phi Hung VoPhi Hung Vo Oct 10, 2026 868 views

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.

How to Fix a Word Table of Contents Entry Split Across Lines
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 you start

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.

Solution 1Recommended

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.

1
Locate the affected heading

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.

2
Enable formatting marks

Go to the 'Home' tab and click the 'Show/Hide ¶' button in the Paragraph group to reveal hidden formatting symbols.

3
Remove manual line breaks

Look for any bent arrow symbols (↵) within the heading text. Delete these manual line breaks and replace them with standard spaces.

4
Update the Table of Contents

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.

Inspect and Fix the Source Heading Style
Use Paragraph Formatting Instead: If you need a heading to appear on multiple lines in the body of the document without breaking the Table of Contents, use the 'Right Indent' slider on the ruler to force the text to wrap, rather than using Shift+Enter.
Easily Manage Documents with WPS Office

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. 1. Open your document: Launch WPS Office Writer and open your existing Word document.
  2. 2. Insert Table of Contents: Navigate to the 'References' tab and click the 'Table of Contents' button.
  3. 3. Customize layout: Choose a built-in style or click 'Insert Table of Contents' to adjust tab leaders, levels, and page numbers.
  4. 4. Keep it updated: Select 'Update TOC' in the References tab anytime you modify headings to keep everything perfectly aligned.
Highly compatible with Microsoft Word (.docx) formats and heading styles.One-click Table of Contents generation and easy layout modification.Built-in Show/Hide formatting marks to quickly spot structural layout issues.Free, lightweight, and easy to use across Windows, Mac, and Linux.
QA img-9

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.