Metadata Removal
DOCX
DOCX
files are essentially a ZIP archive containing XML files
Make a backup of your file first.
Rename the file extension from
.docx
to.zip
Unzip it.
Files containing metadata
core.xml
--> contains author, creation date, etc.app.xml
--> contains application-specific metadatacustom.xml
--> may contain custom properties
Delete the sensitive content from these files.
Re-zip the contents:
zip -r ../clean_document.docx *
from inside the folder.Rename back to
.docx
Last updated