logo
search
Document Editing Problems

How to Remove a Word Table of Contents Without Deleting Document Content

Algirdas JasaitisAlgirdas Jasaitis Oct 12, 2026 869 views

Question details

The user needs to remove a table of contents but finds that deleting it also deletes the actual document content.

How to Remove a Word Table of Contents Without Deleting Content
Product
Word
Device & OS
not provided
Scenario
Removing a table of contents when standard document text has been accidentally nested inside the TOC field codes.
Observed behavior
Deleting the table of contents field also deletes the document content contained within its field braces.
Before you start

Always create a duplicate copy of your document before modifying or deleting field codes to prevent any accidental loss of important content.

Solution 1Recommended

Extract Content from Field Codes Before Deleting the Table of Contents

Reveal the hidden field codes to safely copy your text out of the table of contents field before deleting it.

When text is accidentally typed inside the field braces of a table of contents, deleting the table removes that text as well. By making field codes visible, you can rescue your text first.

1
Display Field Codes

Navigate to the beginning of your document. Press 'Alt + F9' on your keyboard to toggle field codes on, which will reveal the curly braces { } surrounding your table of contents.

2
Copy the Nested Content

Carefully highlight all the actual document content that is trapped inside the field braces, then right-click and select 'Copy' (or press Ctrl+C).

3
Delete the Table of Contents

Select the entire table of contents field, including its braces, and press the 'Delete' key on your keyboard.

4
Paste the Saved Content

Click outside of any remaining fields in your document, right-click, and select 'Paste' (or press Ctrl+V) to restore your document content safely.

5
Insert a New Table of Contents

If you still need a table of contents, go to the 'References' tab and click 'Table of Contents' to insert a clean, new one.

Extract Content from Field Codes Before Deleting the Table of Contents
Careful Selection: Ensure you only copy the text and not the curly field braces { } themselves, otherwise the field will be recreated when you paste.
Efficient Document Editing

Manage Table of Contents Safely with WPS Writer

WPS Writer offers intuitive tools for managing references and field codes, making it easy to fix layout issues and safely update or remove your Table of Contents without losing data.

  1. 1. Open Your Document: Launch WPS Writer and open the document containing the problematic Table of Contents.
  2. 2. Show Field Codes: Go to the 'Menu' in the top-left corner, select 'Options', click on 'View', and check the 'Field codes' option to reveal the hidden formatting.
  3. 3. Extract and Delete: Copy your text out of the braces, delete the TOC field, paste your text back into the normal page area, and easily generate a new TOC from the 'References' tab.
Seamlessly compatible with Microsoft Word (.docx) formatsClear visual indicators for managing document field codesOne-click Table of Contents generation and updatingLightweight application with a familiar, user-friendly interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does my text disappear when I delete the Table of Contents?

This happens if you accidentally typed or pasted your document text inside the hidden field code boundaries of the Table of Contents. When the field is deleted, everything inside it is removed as well.

How do I toggle field codes in my document?

You can quickly toggle field codes by pressing the 'Alt + F9' shortcut on your keyboard. This switches the view between the normal text display and the raw field codes enclosed in curly braces.

Can I just update the Table of Contents instead of deleting it?

Yes. If your Table of Contents is simply out of date, there is no need to delete it. Right-click anywhere on the Table of Contents and select 'Update Field' to refresh the page numbers or entire table.