Chocolatey
RecommendedchocoNeeds elevated privileges (sudo / Administrator).
choco install exiftool
- Official ZIP archives and a Windows .exe build are also published on the site.
Read, write and strip file metadata
ExifTool reads and writes metadata across an enormous range of formats — EXIF, IPTC, XMP, GPS tracks, maker notes, document properties, video containers. It is the standard answer to 'what did this file carry with it'.
Two jobs dominate its use: investigation (what does this image reveal about the device, time and place it came from) and sanitisation (removing that information before publishing). Both directions work on the same command surface.
Supported platforms
9
Documented install or usage guidance
Learning curve
beginner
Difficulty of becoming productive, not of the underlying theory
Tags
metadata, exif, gps, privacy, forensics, sanitisation
Dataset entry
exiftool.ts
Reviewed 2026-01-09
Grouped by platform. Elevation requirements are marked per method.
Needs elevated privileges (sudo / Administrator).
choco install exiftool
Rename to exiftool.exe, place on PATH, and call it from any directory.
Open official sourcebrew install exiftool
Needs elevated privileges (sudo / Administrator).
sudo apt update
sudo apt install libimage-exiftool-perl
sudo pacman -S perl-image-exiftool
sudo dnf install perl-Image-ExifTool
Package availability follows your distribution and enabled repositories. Entry revised 9 Jan 2026 — confirm the current release on the project's own download page.
Every command carries its purpose, an example where useful, and the limitations that change how you should read the output.
Prints all metadata groups with their values, the usual first look at a suspicious file.
exiftool photo.jpg
Adds computed values (aperture, exposure) and sorts by group so notes read cleanly.
exiftool -h -G1 photo.jpg
Notes
Pulls the GPS fields that matter for a place-of-origin question, including the rational values.
exiftool -G1 -a -n -geotag photo.jpg
Example output
Illustrative only — real output depends on the target, version and your position on the network.
[Exif-GPS] GPS Latitude : 52.5309 [Exif-GPS] GPS Longitude : 13.3846
Notes
Recursively reports file type plus the tags that leak identity, into one text file for review.
exiftool -r -S -G1 -'all:author' -'all:artist' -'all:creator' -Directory -FileName -FileType . > case-metadata.txt
Notes
The standard sanitisation pass before publishing an image.
exiftool -all= -overwrite_original photo.jpg
Notes
Copies originals into an output tree and strips GPS, authorship and device identity from the copies.
exiftool -preserve -directory=clean -all= -'All>=' -XMP:all= -GPS:all= -Make= -Model= images/
Notes
Emit JSON so results feed a notebook, an evidence index or a diff between two versions of a document.
exiftool -json -r -G1 images/ > metadata.json
Document formats carry author, company, revision history and embedded paths.
exiftool -G1 -a report.docx
Example output
Illustrative only — real output depends on the target, version and your position on the network.
[XMP-dc] Author : j.rivers [ExifIFD] Software : Word 2019
Notes
Sequences of commands in the order they are used, with what you should expect to learn from each.
A team is publishing press photos that came straight from a camera.
See what would leak
exiftool -r -G1 -comment -artist -copyright -city -gps:all press/
Strip into a clean tree
exiftool -preserve -directory=press-clean -all= press/*.jpg
Verify the output is empty of identity tags
exiftool -G1 -a press-clean/IMG_0412.jpg
Published files keep their visual content and timestamps without author, device or location metadata.
Compare a file's camera, software and date tags against its claimed origin.
Remove personal and location metadata before release.
Spot authorship or embedded paths inside a delivered document.
Read IPTC/XMP rights fields in a batch of assets.
Symptoms you will actually hit, with the cause and the legitimate fix.
Possible causes
Usual fix
On Windows, use the .exe on PATH or call the full path; on Linux confirm the package providing the binary (`dpkg -L libimage-exiftool-perl | grep bin`).
Possible causes
Usual fix
Use `-all=` across groups, add `-XMP:all=` and `-r` for embedded files, then re-check with `-a` to display duplicates.
exiftool -all= -XMP:all= -iframe:all= -overwrite_original file.jpg
Possible causes
Usual fix
Identify the real type first (`file`, or `exiftool -j` on the raw bytes) and handle it as an unknown artefact rather than assuming corruption.
Possible causes
Usual fix
Add `-api QuickTimeUTC`/`-P` (preserve) or `-preserve` and always work on copies of originals.
Not documented yet: ffprobe. Request an entry and it will link up automatically.Request a tool
Side-by-side
Where to verify anything on this page. External links open in a new tab.