How to Reverse the Heading Order in a Microsoft Word Table of Contents
Question details
The user wants to know if there is a way to automatically display Table of Contents headings in reverse order using field codes in Microsoft Word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Customizing the generated Table of Contents to display document headings in a non-standard, bottom-to-top order.
- Observed behavior
- Microsoft Word generates the Table of Contents in standard chronological order (top-to-bottom) and lacks a built-in field code to reverse this automatically.
Before attempting to reorder your Table of Contents, ensure that your document is completely finished and all headings are finalized, as applying the manual workaround breaks the automatic update link.
Convert Table of Contents to Static Text and Rearrange Manually
Since Microsoft Word does not have a built-in field code to reverse TOC entries automatically, you must unlink the TOC and manually sort the text lines.
Reversing a standard document table is different from reversing a generated Table of Contents. Converting your Table of Contents to static text allows you to edit it freely, but it permanently breaks the automatic link to your document headings.
If you add, modify, or change pages for headings later, you will need to delete this static text, generate a new TOC, and repeat the unlinking process.
Navigate to the 'References' tab and insert your standard Table of Contents.
Click and drag to highlight the entire Table of Contents block in your document.
Press 'Ctrl + Shift + F9' (or 'Cmd + Shift + F9' on Mac) to convert the dynamic Table of Contents field into standard, editable static text.
Manually cut and paste the individual lines of text to place them in your desired reverse order.
Try WPS Office for Your Document Creation Needs
While no standard word processor automatically reverses Table of Contents entries via field codes, WPS Office offers a highly compatible, free, and lightweight alternative to Microsoft Word. It provides an intuitive interface for generating standard TOCs, managing styles, and formatting complex documents seamlessly.

Frequently Asked Questions
Is there any field code switch to reverse TOC entries in Word?
No, Microsoft Word does not provide a built-in field code switch to automatically display Table of Contents headings in reverse order. You must convert the TOC to text and edit it manually.
Can I sort a Table of Contents alphabetically?
Not automatically. Similar to reversing the order, you must first unlink the Table of Contents using Ctrl + Shift + F9 to convert it to plain text, and then use the Sort feature found in the Home tab.
Why did my edited Table of Contents disappear when I updated the document?
If you did not unlink the TOC (Ctrl + Shift + F9) before editing it, any manual changes you made will be completely overwritten the next time you tell Word to 'Update Field'. Always unlink the field if you need permanent manual edits.




