How to Fix Word Document Inspector Can Not Remove Hidden Text Error

Microsoft Word includes the Document Inspector utility to examine documents for hidden metadata, comments, revision history, and text formatted with the Hidden attribute before distribution. When clicking “Remove All” alongside Hidden Text fails or returns an error stating that items cannot be removed, active Track Changes protection, locked fields, or template inheritance are preventing sanitation.

Accept or Reject All Track Changes Before Inspecting

The Document Inspector cannot delete text elements that are bound to unresolved redlines or revision marks:

  1. Open the document in Microsoft Word.
  2. Navigate to the Review tab on the ribbon.
  3. Under the Tracking section, ensure the display is set to All Markup.
  4. Click the drop-down arrow under Accept and select Accept All Changes and Stop Tracking (or use Reject All Changes as appropriate).
  5. Return to File > Info > Check for Issues > Inspect Document and rerun the inspection.

Unhide and Delete Hidden Text Formatting Manually

If specific paragraphs have the font attribute set to Hidden inside protected sections:

  • Press Ctrl + Shift + 8 (or click the pilcrow icon on the Home tab) to display hidden non-printing formatting characters.
  • Hidden text will appear with a dotted line beneath the letters.
  • Press Ctrl + H to open Find and Replace.
  • Click More >>, place the cursor in Find what, click Format > Font, check Hidden, and click OK.
  • Leave Replace with blank and click Replace All to remove all hidden text bodies across the file.

Unlock Content Controls and Section Protection

Documents created from corporate templates frequently lock form fields against programmatic deletion:

  1. Navigate to the Developer tab on the ribbon.
  2. Click Restrict Editing.
  3. If protection is active, click Stop Protection at the bottom of the sidebar (enter the administrative password if required).
  4. Select any content control boxes containing hidden notes, click Properties, and uncheck Content control cannot be deleted.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.