Tutorial — Metadata stripping before sharing
Last updated: October 21, 2026
Skill: secure-source-communication
Time: ~10 minutes
Goal
Remove EXIF, editor history, and embedded paths from files you forward or publish.
Steps
- Never forward original phone photos of sensitive scenes — make a stripped copy first.
- On macOS, use Export without metadata in Preview or ImageOptim-style tools per org policy.
- For PDFs, use Print to PDF from a clean viewer or a dedicated metadata scrubber (verify text layer remains if needed).
- For Office docs, copy text into a new document or use “Remove personal information.”
- Hash the stripped file; store separately from the legal original if counsel requires retention.
- Confirm GPS and device serial fields are gone in a metadata inspector.
What the tools actually remove
Metadata removal is less complete than most tools suggest. ExifTool, the widely used open-source program for reading and writing EXIF, GPS, IPTC and XMP metadata, states that it is not guaranteed to remove metadata completely when told to delete all of it, and its documentation lists the gaps by format. For JPEG images it removes every application segment except Adobe’s APP14 and so effectively strips everything; for TIFF some EXIF may remain; for PNG only certain chunks are removed; for MOV and MP4 most top-level metadata goes. For PDF, in its own words, “the original metadata is never actually removed.” That is why step 3 makes a fresh PDF instead of editing the old one.
For Word, PowerPoint and Excel files, Microsoft’s Document Inspector, the tool behind step 4’s “Remove personal information”, finds and removes comments, revision marks from tracked changes, document version information, ink annotations, document properties, e-mail headers and routing information. Microsoft advises inspecting a copy, because it is not always possible to restore what the Inspector removes — the same reason step 5 keeps the legal original apart from the stripped file.
Verify with a second tool rather than trusting the first one’s success message. Open the output in a metadata viewer and confirm that GPS coordinates, the device make and model, author and company names, and edit history are gone before the file leaves your hands.
Pitfalls
- Screenshot of a map still leaks location if the map is centered on a home.
- Redaction failures — black boxes over text must be true redaction, not just drawn shapes.
Next steps
- Methodology — Source Protection in
methodologies/
Sources
- ExifTool, documentation — supported formats and the limits of deleting all metadata.
- Microsoft Support, Remove hidden data and personal information by inspecting documents, presentations, or workbooks.
Expanded with AI research and drafting assistance from the primary sources cited; editorial review pending.
