Table of Contents replaced with random text

Giraffe20 210 Reputation points
2026-07-20T12:54:49.65+00:00

For some reason my table of contents is now displaying this:

Screenshot 2026-07-20 135147

I assume that's a "code" that instructs Word what the table should look like—TOC with headings 1 and 2. It also appears whenever I insert a new one or open a previous version of a document.

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

Answer accepted by question author
DaveM121 933.1K Reputation points Independent Advisor
2026-07-20T13:30:40.79+00:00

You seem to have field codes showing in Word.

Press Alt + F9 or Alt + Fn + F9 to hide field codes.

Or

Go to File - Options - Advanced.

In the Show document content section and un-check 'Show field codes instead of their values'.

Was this answer helpful?

4 people found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.