.docx ยท .docx .docm .dotx

What Metadata Is Hidden in a Word (.docx) File

A .docx (and its .docm / .dotx variants) is a ZIP of XML parts, and Word writes far more into those parts than the text you see. Unlike a flat PDF, a Word file keeps an editing lineage: every save session, every tracked change, every commenter, plus identifiers that quietly link one document to another. Several of those fields survive even Microsoft's own Document Inspector.

Scan a Word file

What a .docx file reveals

A scan pulls the author and last-modified-by names from the document properties, but the more revealing material is the editing lineage. Word tags body content with editing-session IDs (rsids) and records an original creation-session ID (rsidRoot) in settings.xml. Two files that share that rsidRoot came from a common origin, and Microsoft's Document Inspector does not remove it. Every tracked-change author and comment author is listed by name.

Beyond display names, word/people.xml stores stable identifiers - Active Directory SIDs or Microsoft account IDs - for the people who edited the file. These are organisation-wide unique and do not change when someone is renamed. If the document carries a Microsoft Information Protection label, the scan surfaces the label itself (for example 'Confidential'), the account that applied it, and the Microsoft 365 tenant site ID, all of which name the organisation.

Text formatted as hidden stays verbatim in the file and is reported as hidden runs. Header and footer text - a common home for firm names, matter numbers and classification markings - is read out even when the body is redacted. Document variables set by enterprise templates (matter numbers, attorney or project codes) persist because the Inspector does not touch them.

The rest of what a single .docx hands over: the company from the Office install and any manager recorded in the properties, the original save path (usually C:\Users\<name>\...), the attached template path, internal \\server hyperlinks, the document GUID, and a VBA macro project if one is present. Any photos embedded in the document are also scanned for their own EXIF and GPS.

Key fields

Author / Last Modified By
The name that created the document and the name that last saved it, from the Office application settings.
Tracked Change & Comment Authors
Every person who made a tracked edit or left a comment, listed by name - the review history the finished document hides.
Original Editing-Session ID (rsidRoot)
The creation-session ID in settings.xml; two files sharing it have a common origin, and Document Inspector leaves it in place.
Stable User Identifier
An Active Directory SID or Microsoft account ID from people.xml, unique across the organisation and unchanged by a rename.
Hidden Text Runs
Text set to the hidden font effect - invisible on screen but preserved verbatim in the file and fully recoverable.
Document Variable
Named values stored by templates, often matter numbers, attorney names or project codes; the Inspector does not remove them.
Microsoft Information Protection Label
The sensitivity label (e.g. 'Confidential - Internal'), the account that applied it, and the Microsoft 365 tenant site ID.
Page Header / Footer Text
Firm names, matter numbers and classification markings that survive even when the body content is redacted.
Template Path
The path to the attached template, which can reveal an internal server address or the author's username.
Company / Manager
The organisation name from the Office installation and any manager recorded in the properties - reporting structure.
VBA Macro Project
A macro project (word/vbaProject.bin) that can hold the developer's username; Office flags but never deletes it.

This is a selection. The full field manual documents the fields read from each format.

Questions about Word metadata

What metadata does a Word .docx file contain?

Author and last-modified-by names, created / modified / printed dates and a revision count, the company and manager from the Office install, tracked-change and comment authors, hidden text, editing-session IDs, the template path, the document GUID, and - if applied - a Microsoft Information Protection label with the tenant it belongs to.

Can a Word document reveal who edited it after I delete the author name?

Yes. Beyond the display names, word/people.xml stores Active Directory SIDs or Microsoft account IDs for editors, and settings.xml keeps editing-session IDs (rsids) including the original creation-session ID. These are machine-readable, do not change when someone is renamed, and Word's Document Inspector does not remove them.

Does Word's Inspect Document remove everything?

No. The Document Inspector removes many fields but leaves the rsidRoot creation-session ID, document variables set by templates, and any hidden text you did not explicitly select. It flags macros rather than deleting them - saving as .docx instead of .docm is what drops the macro project.

How do I view or remove .docx metadata?

Drop the file here to see every field in your browser; nothing is uploaded. File X-Ray can also save a metadata-stripped copy. In Word itself, File > Info > Check for Issues > Inspect Document removes many properties, but re-scan the result because some fields survive.

File X-Ray reads Word files entirely in your browser - the file never leaves your device. For this format you can also download a clean copy with the metadata removed. Scan a file now.

All supported formats