| Guide | GDE-074 |
| Topic | Metadata removal |
| Domain | OPSEC |
| Last updated | October 2026 |
Short answer: Hash and keep the original, inventory its metadata, remove it from a copy with ExifTool, mat2, qpdf or Document Inspector, then verify the clean copy. Removing metadata does nothing about what the file itself shows.
What is a metadata remover?
A metadata remover is a tool that deletes the hidden data a file stores about itself, such as the author's name, the device, GPS coordinates and edit history, so a photo, document or video can be shared without revealing who made it or where.
Metadata travels inside the file, not on the page. A phone photo can carry EXIF tags with the camera model, capture time and location. A Word file can hold the author, the organisation, comments and tracked changes. A PDF keeps its own information fields and can keep earlier versions of itself.
Removing that layer is the defensive side of metadata analysis. Journalists, editors and investigators handling source material use a metadata remover on the copies they release, while the original stays sealed as evidence. Done well, it protects sources, colleagues and your own working history.
| • | Publishing photos you or a contributor took without exposing location or device details |
| • | Sharing documents with editors, lawyers or partners outside your organisation |
| • | Releasing source material where an author name or user account could point to the source |
| • | Checking a file a colleague says is clean before it goes public |
How do you remove metadata from a file and prove it is gone?
Five tools and seven steps take a file from a sealed original to a verified clean copy.
Four of the five tools are free and run on your own machine, so the file never has to leave your control.
ExifTool: Free, open source, no login. Phil Harvey's command-line tool reads and deletes metadata in images, video, audio and PDFs. By default it keeps the untouched file with _original added to its name, so check where that backup sits before you share a folder.
mat2: Free, open source, no login. A command-line metadata remover for images, PDFs, Office and OpenDocument files, audio and video. It writes a new copy with .cleaned in the name, and its documentation warns that a file is not proven clean just because mat2 shows nothing.
Metadata Cleaner: Free, no login. A Linux desktop app that shows a file's metadata and removes as much of it as it can. It is included by default in Tails, the amnesic operating system.
qpdf: Free, open source, no login. Rewrites a PDF as a single clean file. ExifTool's own documentation recommends it to remove for good the old values that ExifTool's PDF edits leave inside the file.
Microsoft Document Inspector: Paid, included with the Microsoft Office desktop apps. Under File, Info, Check for Issues, Inspect Document, it finds and removes comments, revisions, document properties, personal information and hidden content in Word, Excel and PowerPoint files.
