How to Find and Remove Hidden Text in Word Using OnStyle

Hidden text in Microsoft Word is not visible on screen but remains in the document. It can appear when you print a document, export to PDF, or share the file. This can expose confidential or outdated content.

Use OnStyle to find hidden text in Word and remove it before publishing or sharing your document.

Prerequisites #

  • Microsoft Word is open
  • The OnStyle Ribbon is available

Find Hidden Text in Word Using OnStyle Validation #

  1. Click the OnStyle tab.
  2. Navigate to Hidden Text Present Validation. By default, it is in the Style and Format Inspection group.
  3. Run Hidden Text Present inspection.
  4. In the Validation Results pane, locate issues listed by the Hidden Text Present inspection.
  5. Review the found issues and apply corrections.

Hidden text is identified automatically across the document.

Click the OnStyle tab. Navigate to Hidden Text Present Validation. By default, it is in the Style and Format Inspection group. Run Hidden Text Present inspection.
In the Validation Results pane, locate issues listed by the Hidden Text Present inspection. Review the found issues and apply corrections.

Hidden text remains part of the document and may appear in printed documents or PDFs even if it is not visible.

Review and Remove Hidden Text or Hidden Formatting #

In the Validation Results pane, the Hidden Text Present inspection lists all issues of hidden text found in the document. You can review all instances if you want and when you click on an issue in the list OnStyle navigates you to the found issue in the document. You can choose to fix all issues at once or select which issues to fix automatically.

There are two automatic fixes available:

Remove Text

The correction module automatically removes hidden text identified by the Hidden Text Present inspection module.

Remove Hidden Formatting

The correction module automatically removes the hidden character formatting from the text, leaving the text in the document. The text will no longer be hidden.

Inspection Results. The correction module automatically removes the hidden character formatting from the text, leaving the text in the document. The text will no longer be hidden.

Remove Text Correction #

The Remove Text correction module automatically removes hidden text identified by the Hidden Text Present inspection module.

  1. Run Hidden Text Present inspection.
  2. In the Validation Results pane, locate issues listed by the Hidden Text Present inspection.
  3. Review the listed findings if needed. When you click on a finding, OnStyle navigates you to the found issue in the document.
  4. Apply the automatic Remove Text correction for selected findings or to all findings at once.

Use this method when reviewing hidden text before removal is required.

If the issue is found in an empty table cell, the module returns with a โ€˜Could not fixโ€™ state, and the issue remains unsolved.

If the issue is in a content control, and after the deletion the content control would be empty, a paragraph mark will be left.

Remove Hidden Formatting Correction #

The Remove Hidden Formatting correction module automatically removes the hidden character formatting from the text.

  1. Run Hidden Text Present inspection.
  2. In the Validation Results pane, locate issues listed by the Hidden Text Present inspection.
  3. Review the listed findings if needed. When you click on a finding, OnStyle navigates you to the found issue in the document.
  4. Apply the automatic Remove Hidden Formatting correction for selected findings or to all findings at once.

If the hidden text is formatted by a style change, the Remove Hidden Formatting correction module will return with a โ€œCould not fixโ€ state. In this case you need to either change the style of the text for a non-hidden style or modify the style not to use hidden formatting.

Run Hidden Text Present inspection. In the Validation Results pane, locate issues listed by the Hidden Text Present inspection. Review the listed findings if needed. When you click on a finding, OnStyle navigates you to the found issue in the document. Apply the automatic Remove Hidden Formatting correction for selected findings or to all findings at once.

Remove Hidden Text in Word Using OnStyle Cleanup Tool #

  1. Click the OnStyle tab.
  2. Navigate to the Tools group.
  3. Open the Cleanup drop-down menu.
  4. Click Remove Hidden Text.
Click the OnStyle tab. Navigate to the Tools group. Open the Cleanup drop-down menu. Click Remove Hidden Text.

This removes all hidden text from the document in one step.

Cleanup is only available after assigning a DocConfig.

Removing hidden text deletes the content permanently. Review the document before applying this action.

When to Use Each Method #

  • Use Cleanup > Remove Hidden Text to remove all hidden text at once
  • Use Validation and Correction modules to review and select hidden text before deleting or unhiding it

Troubleshooting #

  • If no hidden text is found, check that the inspection set includes the hidden text inspection module
  • If Cleanup tools are missing, assign a DocConfig. Some tools are hidden without it
  • If the Remove Hidden Formatting correction module returns with a โ€œCould not fixโ€ state, check the style of the hidden text, as in this case, the hidden text is formatted by a style. In this case you need to either change the style of the text for a non-hidden style or modify the style not to use hidden formatting.

Tips #

Enable Word Track Changes before using Remove Hidden Text to review deleted content afterward.

Always run Validation before sharing or exporting a document to ensure no hidden text remains.

Glossary #

DocConfig โ€“ A configuration file that defines the formatting and validation rules applied by OnStyle.

Inspection Set โ€“ A predefined group of inspection modules used during validation.

Hidden Text Present โ€“ An inspection issue indicating that hidden text exists in the document.

Cleanup โ€“ A group of OnStyle tools used to remove unwanted elements such as hidden text.

Updated on March 27, 2026

    Sign Up to Download the list of all available checks and fixes!

    150+ checks and fixes for technically compliant Word documents.

      I'd like more information

        Download OnStyle Professional

        150+ Checks and 140+ fixes for technically compliant Word documents.

        Two-week free experience, no strings attached.

          Download OnStyle Essential

          90+ Checks and 80+ fixes for technically compliant Word documents.

          Two-week free experience, no strings attached.

          OnStyle
          Privacy Overview

          This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.