How to Fix Corrupted Quotes in Microsoft Word Index Entries
Question details
Users experience unexpected corruption in Microsoft Word index entries where spaces, numbers, punctuation, or letters in XE field codes are replaced by quotation marks.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating, editing, or saving a document that contains complex index entries (XE fields).
- Observed behavior
- Inverted commas spontaneously replace valid characters inside XE field codes, and the corruption often returns after saving, breaking the index formatting.
Ensure you have created a backup copy of your document before attempting to edit or delete corrupted XE field codes to prevent any further data loss.
Isolate the Corrupted Field and Provide a Sample to Microsoft
Since this is a known software bug that the Word development team needs to investigate directly, providing an isolated sample document is the most effective path to a permanent fix.
The Microsoft Word team cannot always reproduce this specific XE field corruption on their end. By creating a stripped-down version of your document that still displays the error, you can help them identify the root cause.
Make a copy of the affected Word document so you can safely remove sensitive information without losing your original work.
Delete all pages and content except for a small section containing the corrupted XE field codes. Ensure the issue (quotes replacing spaces/characters) is still visible.
Save the stripped-down document and upload it to a cloud storage service such as OneDrive or Dropbox.
Generate a sharing link and provide it to Microsoft Support or the Microsoft Community forums so the Word team can forward and investigate the file.

Switch to WPS Office to Avoid Persistent Word Bugs
If Microsoft Word's index and XE field bugs are disrupting your workflow, WPS Writer offers a highly compatible, lightweight, and free alternative. It processes complex document fields smoothly and maintains full compatibility with .docx formats.
- 1. Download and Install WPS Office: Get WPS Office from the official website and install it on your computer.
- 2. Open Your Document: Launch WPS Writer and open your .docx file to check if the index formatting displays correctly.
- 3. Rebuild Index Entries: Navigate to the References tab to cleanly manage and insert your index entries without unexpected field corruption.

Frequently Asked Questions
What is an XE field in Microsoft Word?
An XE (Index Entry) field is a hidden field code in Microsoft Word that marks specific text to be included in the document's final index. It dictates the text and page number references used when generating the index.
Why do quotation marks suddenly appear in my Word index?
This is typically caused by an underlying bug in how Microsoft Word parses specific character encodings, punctuation, or spaces during the save process, erroneously replacing valid characters with inverted commas.
Can I permanently fix the XE field corruption myself?
Because this is typically a software-level bug, manual fixes like deleting and retyping the field often fail when the document is saved again. Providing a sample document to Microsoft Support is usually necessary for a permanent patch.
How do I view hidden XE field codes in my document?
To view hidden field codes like XE, go to the Home tab and click the Show/Hide ¶ button in the Paragraph group, or use the keyboard shortcut Ctrl+Shift+8.




