To remove metadata from DOCX, inspect a copy for properties, comments, revisions, hidden text, and other document parts instead of deleting only visible text.

A Word file carries more than the text you see. Author names, revision marks, hidden text, headers, footers, and custom XML can all sit inside the file long after you delete the visible words. Strip that data out before you share. Use the built-in tools in Word for Windows. For sensitive material, you will need a stricter process.

Understanding What Personal Information a DOCX Can Contain

A DOCX automatically stores metadata the moment you create or edit it. That includes the author name tied to the user account, the title, the subject, keywords, and the last-saved-by stamp plus a revision number. Beyond those fields, the file can hold revision marks, hidden text, headers, footers, and custom XML data. Delete a comment from the page and its ghost can still live in the file. Inspection is not optional. Do it before you send anything.

Using Document Inspector in Word for Windows

Run the Inspector

Word for Windows includes a built-in checker. Go to File > Info > Check for Issues > Inspect Document. The dialog that opens reports categories one by one and gives you a Remove All button for each. It flags revision marks, annotations, file properties, and hidden text if it finds them.

  1. Open the DOCX in Word for Windows.
  2. Click File, then Info.
  3. Click Check for Issues, then Inspect Document.
  4. Leave every category selected. That is the default.
  5. Click Inspect. The checker lists what it found, category by category.
  6. For any category you want to clean, click Remove All. Confirm if prompted.
  7. Save the file under a new name.

After cleaning, reopen the copy and inspect it again. One pass is not proof.

Removing Author Names and Document Properties

What the Inspector Removes

  • Author name and last-saved-by stamp
  • Title, subject, and keywords
  • Annotations and revision marks
  • Text formatted as hidden
  • Custom XML data, where supported

The inspector can strip author metadata and other file properties. You can also clear those fields manually before you run the check. Go to File > Info and look at the Properties panel on the right. Edit or delete the author, title, subject, and keywords directly. Stripping properties can break workflows. Some document-management systems depend on those fields. Always save a copy before you clean.

Headers and footers are not removed automatically. Open them and delete any personal information by hand.

Handling Comments and Tracked Changes Correctly

Accepting all changes or deleting annotations from the visible page is not enough. No Markup hides the display. It does not remove the revision data. That data stays in the file, recoverable. To truly purge revision marks and annotations, use the inspector or the Remove All functions under the Review tab.

In the Review tab, click Accept All Changes and Delete All Comments to clear the visible markup. Even then, residual data can survive. Run the inspector afterwards. Always. Confirm the file is clean before you share it.

Hidden Text and Other Hidden Content

Word files can hold hidden text: notes or alt text formatted to be invisible. The inspector detects it and offers to remove it. Check manually as well. Toggle the display of hidden characters at File > Options > Display and tick the box for hidden text. Delete anything you see before you run the inspector.

Custom XML data embedded by add-ins or other software is another hidden layer. The inspector can remove supported custom XML, but not every type. For sensitive files, follow your organization's approved sanitization process. Do not rely on a single converter or a single inspector pass.

What About PDFs Converted from DOCX?

Convert a cleaned DOCX to PDF and the new file can still carry metadata. Author, title, annotations, and hidden layers often survive the conversion, depending on the method. To strip metadata from a PDF, you need a PDF-specific tool. The same rule applies: for confidential or regulated material, use your organization's approved sanitization process.

A Conservative Warning for Sensitive Documents

Stripping metadata from a DOCX works for routine sharing. It is not a formal sanitization process. For files that hold confidential, proprietary, or regulated information, do not trust a single inspector pass or a single converter. Stripping properties can disrupt workflows, so save a copy before you clean. Reopen the cleaned copy and inspect it again. If your organization has an approved method for sanitizing Word files, use that. For less sensitive material, the steps here will remove personal information and hidden data effectively.

Remove Metadata From DOCX and Verify the Copy

After you remove metadata from DOCX, close and reopen the cleaned copy and inspect it again. Pair that process with the guide to comments and tracked changes, review DOCX versus PDF, and use DOCX to PDF only after the source has passed the required privacy review.