ExifTool
$ exiftool Community Low RiskPhil Harvey's exiftool reads, writes, and strips EXIF, IPTC, XMP, GPS, and PDF metadata across hundreds of file formats. With -j (-json), agents inspect exact metadata dictionaries cleanly or strip GPS/identifying tags (-all=) safely.
brew install exiftool Offline metadata auditing (exiftool -j) and PII/GPS stripping directly in shell with zero network overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class -j JSON output, tag filtering, -q, and zero interactive prompts.
- Supports
-j/-json,-n,-G1, and tag-level filtering
Offline local tool; read invocations are completely safe, while write flags default to creating _original backups unless -overwrite_original is passed.
- Offline local execution; preserves
_originalbackup by default on writes
Available via brew install exiftool, Linux apt (libimage-exiftool-perl), and standalone Windows exe.
- Packaged on macOS, Linux, and Windows
Gold standard for inspecting and scrubbing EXIF/GPS/XMP/PDF metadata.
- Supports hundreds of image, audio, video, and document metadata standards
Actively maintained for decades by Phil Harvey (exiftool.org), though Perl-based distribution is single-maintainer.
- Long-term active maintenance at exiftool.org
Exhaustive documentation at exiftool.org, though dense Perl-style single-dash flags (-j, -all=) take getting used to.
- Comprehensive POD manual at exiftool.org/exiftool_pod.html
Security, Auth & Guardrails
None required; operates purely offline on local files.
Free, open-source Perl CLI (Artistic / GPL).
# ExifTool Agent Rules - Always pass `-o <new_file>` when stripping/editing metadata (`-all=`) so original files are not mutated or left with `_original` backup clutter. - Pass `-j` (`-json`) plus specific tag filters (e.g. `-GPS* -ImageSize`) to keep JSON concise.
Agent-Ready Command Recipes
Safe Read-Only Queries
exiftool -j -n -G1 photo.jpg
Outputs JSON (-j), numeric values (-n), and group names (-G1) without modifying photo.jpg.
Controlled Writes & Previews
exiftool -all= -o clean.jpg photo.jpg
Removes all embedded metadata (-all=) and writes to a new file (-o clean.jpg) leaving the original intact.
Strengths for Agents
- +
exiftool -jproduces clean JSON metadata arrays across images, videos, and PDFs. - + Preserves
_originalbackups automatically when modifying files (or supports safe-ocopy).
Caveats & Pitfalls
- ! Writing tags without
-oleaves*_originalbackup files in the workspace. - ! Dense Perl-style single-dash option syntax (
-all=,-TagsFromFile).