How to Fix Word Table of Contents Containing Hidden Headings
Question details
The user needs to remove phantom or invisible headings that appear in the Table of Contents but cannot be seen in the main document.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Editing a Word document converted from a PDF where the Table of Contents displays duplicate or non-existent heading entries.
- Observed behavior
- Unwanted entries appear in the Table of Contents because hidden text boxes, linked objects, or invisible paragraphs retain heading outline levels.
Enable the 'Show/Hide ¶' formatting marks in your document to easily spot hidden paragraph breaks, spaces, or empty lines that might be formatted as headings.
Locate and Modify the Source Paragraph Style
Follow the Table of Contents hyperlink directly to the hidden text and strip it of its heading formatting to remove it from the index.
When a PDF is converted to Word, standard paragraphs might mistakenly inherit heading styles. Removing the outline level from these paragraphs will exclude them from the Table of Contents.
In the Table of Contents, hold down the Ctrl key and click on the unwanted entry to jump directly to the source paragraph in the document.
With the hidden or unwanted paragraph selected, navigate to the Home tab and change its style to 'Normal' or 'Body Text'.
Right-click anywhere inside the Table of Contents, choose 'Update Field', and select 'Update entire table' to remove the unwanted entry.

Delete Hidden Text Boxes via the Selection Pane
Converted PDFs often hide duplicate heading text in invisible text boxes behind images. Use the Selection Pane to reveal and delete them.
Easily Manage Tables of Contents and Convert PDFs with WPS Writer
WPS Office provides seamless PDF-to-Word conversion engines designed to prevent hidden text boxes and ghost headings. With its intuitive formatting tools, you can easily manage heading styles and keep your Table of Contents perfectly accurate.
- 1. Open your document: Launch WPS Writer and open your converted Word document.
- 2. Use the Selection Pane: Go to the Home tab, click the Select drop-down, and open the Selection Pane to find any hidden layout objects.
- 3. Adjust heading styles: Use the Styles pane on the Home tab to revert unwanted headings back to Normal text.
- 4. Refresh the TOC: Go to the References tab and click 'Update TOC' to instantly refresh your document index.

Frequently Asked Questions
Why does PDF conversion create ghost headings in Word?
PDF converters often place text in floating text boxes or apply arbitrary heading styles to replicate the visual layout of the original PDF. Word automatically picks up these outline levels when generating a Table of Contents, even if the text boxes are invisible or layered behind images.
How do I update the entire Table of Contents?
Right-click anywhere inside the Table of Contents, select 'Update Field' from the context menu, and then choose 'Update entire table' in the prompt box. This ensures any added, removed, or modified headings are fully synced.
Can I prevent specific paragraphs from appearing in the TOC without changing their visual style?
Yes. Select the paragraph, right-click and choose 'Paragraph'. In the Indents and Spacing tab, change the 'Outline level' drop-down from a heading level (e.g., Level 1) to 'Body Text'. This removes it from the TOC while keeping its font size and color intact.




