When drafting contracts, financial proposals, corporate policies, or legal briefs in Microsoft Word, collaborating across multiple reviewers leaves behind an invisible trail of sensitive operational data. Even after resolving comments and accepting revisions, standard Word documents (.docx) silently preserve author identity tags, total editing time, hidden text, embedded custom XML properties, cached template paths, previous document versions, and off-slide presentation shapes. Distributing these files externally without sanitisation poses significant privacy, security, and competitive intelligence risks.
To prevent inadvertent data leakage, Microsoft Word includes a comprehensive, built-in sanitisation utility known as the Document Inspector. The Document Inspector thoroughly scans document schemas for hidden properties, comments, revision history, and personal metadata, allowing users to strip confidential tags permanently before public distribution. This guide demonstrates how to inspect documents, understand flagged metadata categories, and sanitize files securely.
What Types of Hidden Data Does Document Inspector Detect?
The Document Inspector systematically probes multiple underlying XML modules inside modern Word documents:
- Comments, Revisions, and Versions: Identifies unaccepted or rejected tracked changes, inline comments, audio annotations, and historical autosave versions stored in the file container.
- Document Properties and Personal Information: Author names, company name, document title, subject, file creation date, total editing time, and printer paths.
- Task Pane Apps and Add-in State: Cached data associated with embedded third-party Office add-ins.
- Embedded Documents and Objects: Linked or embedded Excel spreadsheets, PowerPoint slides, or binary object packages that may contain independent, unscrubbed private data.
- Macros, Forms, and ActiveX Controls: Visual Basic for Applications (VBA) code modules, user forms, and automation scripts.
- Custom XML Data: Proprietary data schemas and enterprise metadata fields injected by SharePoint or document management systems.
- Headers, Footers, and Watermarks: Content resting inside non-printing header margins, section breaks, or subtle background classification watermarks.
- Hidden Text: Paragraphs or characters formatted with the hidden text font property.
- Collapsed Headings: Text obscured inside collapsed navigational sections.
How to Run Document Inspector in Microsoft Word
Before executing the inspection, always create a separate backup copy of your document. Because the Document Inspector permanently strips certain data structures, you cannot use the standard Undo command (Ctrl + Z) to restore removed metadata.
- Launch Microsoft Word and open the document you intend to sanitize.
- Save a copy of your document (e.g.,
Report_Final_Clean.docx) to preserve your master editable version. - Click the File tab in the upper-left corner of the ribbon.
- Select Info from the left-hand navigation pane.
- Locate the Inspect Document tile and click the Check for Issues dropdown button.
- Select Inspect Document from the contextual menu. If prompted to save your file before proceeding, click Yes.
- The Document Inspector dialogue window will appear, displaying checkboxes for all available inspection categories.
- Ensure all boxes are checked (including Comments, Revisions, and Versions, Document Properties and Personal Information, and Headers, Footers, and Watermarks).
- Click the Inspect button at the bottom of the window to begin the scanning pass.
Reviewing and Removing Flagged Information
Within seconds, Word will complete the audit and display an itemized list of findings denoted by visual status icons:
- Green Checkmarks: Indicate that no sensitive items were detected in that specific category.
- Red Exclamation Marks: Indicate that confidential metadata or hidden components were identified.
To purge the detected items:
- Review each flagged category. Alongside any section displaying a red alert icon, click the Remove All button.
- Repeat this process for each section containing detected items (e.g., click Remove All under Document Properties and Personal Information to strip author and editor tags).
- Click the Reinspect button at the bottom to re-evaluate the document and confirm that every category now displays a clean green checkmark.
- Click Close to return to the Word document editing canvas.
- Press Ctrl + S to save the sanitized file.
Enforcing Automatic Metadata Stripping on Every Save
If you regularly draft sensitive public documents and want Word to strip personal information automatically upon saving:
- Navigate to File > Options > Trust Center.
- Click Trust Center Settings, then select Privacy Options.
- Under Document-specific settings, check the box labeled Remove personal information from file properties on save.
- Click OK. Word will automatically scrub author and revision tags every time the file is saved to disk.
Running the Document Inspector prior to emailing or uploading Microsoft Word files ensures strict compliance with enterprise privacy standards, preventing embarrassing leaks of internal review drafts, author identities, and proprietary metadata.