Blog · Image OSINT
How to use ExifTool: install it and read a photo's metadata
ExifTool is the standard tool for seeing what a photo carries inside it: the camera or phone that took it, the date and time of capture, the software that edited it and, if location was switched on, the GPS coordinates. It is free, runs on Windows, Mac and Linux, and works from the command line, which is what trips up most people the first time they download it. This guide covers installing it on each system, the commands that actually get used in an investigation, how to strip the metadata from your own photos and what to make of what you find. We checked everything on ExifTool's website and documentation, and on the Debian and Homebrew package pages, on 28 November 2026.
What ExifTool is
Its website describes it as a platform-independent Perl library plus a command-line application for reading, writing and editing meta information. It is written by Phil Harvey, and the version released on 16 November 2026 is 13.64. It is free software, under the same terms as Perl itself, and its website says it recognises tens of thousands of different tags: the camera's EXIF, the XMP and IPTC that editing software and agencies add, each manufacturer's own maker notes, and the tags in video, audio and documents such as PDFs. What each field of a PDF or a Word file means is in how to check PDF metadata.
Two things worth knowing before you start:
- There is no official graphical interface. The website links to interfaces made by others, such as ExifTool GUI for Windows, marked "unsupported", and wxETI. ExifTool itself is driven by commands.
- It does not go online. The website puts it in capitals: ExifTool "NEVER makes an internet connection". Your photos stay on your computer.
How to install ExifTool
You download it from exiftool.org. According to its installation page:
On Windows.
- Download the 32-bit or 64-bit Windows executable, which comes as a zip.
- Extract the
exiftool-13.64_xxfolder (the ending depends on the version you picked). - Rename
exiftool(-k).exetoexiftool.exe. - Move
exiftool.exeand theexiftool_filesfolder to a directory in your PATH. If you move the .exe, the folder has to go with it. - Open the command prompt (cmd or PowerShell) and type
exiftool.
If you would rather not use commands, keep the original name: the (-k) keeps the window open, so you can drag a photo onto the .exe and read its metadata in the window. Double-click it without dragging anything and what opens is the documentation.
On a Mac. Download the macOS package and install it like any other: it puts ExifTool in /usr/local/bin, and from then on you type exiftool in Terminal. If macOS will not let you open the package, the installation page gives the fix: on versions 10.8 to 14, Control-click the package and choose "Open"; on 15 or later, use the "Open Anyway" button in Privacy & Security settings. If you use Homebrew, it is brew install exiftool, although the formula can lag a few versions behind the website (today it gives 13.55).
On Linux. Use your distribution's package or build from source. On Debian and its derivatives the package is called libimage-exiftool-perl, and it provides the exiftool command. From source, the installation page gives these steps:
gzip -dc Image-ExifTool-13.64.tar.gz | tar -xf -
cd Image-ExifTool-13.64
perl Makefile.PL
make test
sudo make install
make test is optional, but it runs the full test suite before you install.
First: work on a copy
In an investigation, the original file is the evidence. Before you run any tool on it:
- Keep the original untouched and note where and when you got it.
- Take its hash:
certutil -hashfile photo.jpg SHA256on Windows,shasum -a 256 photo.jpgon a Mac orsha256sum photo.jpgon Linux. - Work on a copy.
Reading metadata does not change the file; writing it does. With the hash on record you can show later that the original was never altered.
The commands for reading metadata
Everything there is. With no other options, ExifTool extracts all the information available:
exiftool photo.jpg
Everything, duplicates and unknown tags included, grouped by block. This is the first example in its documentation: -a allows duplicate tags, -u extracts unknown ones and -g1 groups them by where they are stored (IFD0, ExifIFD, GPS, XMP, the maker notes...).
exiftool -a -u -g1 photo.jpg
The real name of each tag. Normal output shows readable descriptions; -s prints tag names instead and -G1 the group of each one. That is what you need to ask for a specific tag later.
exiftool -G1 -s photo.jpg
The dates. A photo can carry several: the capture time (DateTimeOriginal), the creation date, the modification date and the file system's own dates. This command pulls them all:
exiftool -time:all -a -G1 -s photo.jpg
When they disagree, the gap tells you something: an EXIF ModifyDate later than the capture time, together with a Software field, points to a photo that went through an editor. The file system dates say little, because they change when the file is copied or downloaded.
A whole folder. -r goes into subfolders and -csv writes a table that any spreadsheet opens. The documentation gives this example with the most common tags:
exiftool -common -csv folder > out.csv
With -j the output is JSON, which is handy if a program is going to process it.
How to see a photo's GPS
If the photo kept its location, every GPS tag (latitude, longitude, altitude, time and sometimes the direction the camera faced) comes out with:
exiftool -gps:all photo.jpg
By default ExifTool prints coordinates in degrees, minutes and seconds. To paste them into a map you want signed decimal degrees, and the -c option changes the format; the documentation explains that adding a + to the format, as in %+.6f, prints a signed coordinate:
exiftool -c "%+.6f" -GPSPosition photo.jpg
At the Windows command prompt, use double quotes, as in the example.
Some videos carry the position as timed metadata that changes during the recording. The -ee option extracts information from embedded data, and the documentation gives -ee3 for parsing an entire M2TS video in search of timed GPS.
If the photo has no coordinates, which is normal for an image downloaded from a large social network, the next step is the scene itself: we cover it in how to geolocate a photo. In Pandora, the coordinates it finds in a photo, or the ones you paste from an EXIF viewer, land on the case's map.
How to remove metadata from a photo
It is the most searched use after reading, and a perfectly legitimate one: stripping the location and the serial number from your own photos before you publish them. The command from its documentation is:
exiftool -all= photo.jpg
What to know:
- It keeps a copy. When writing, ExifTool preserves the original by adding
_originalto the file name:photo.jpg_original.exiftool -restore_original -ext jpg folderbrings back the originals in a folder, and-delete_originaldeletes those copies. -overwrite_originalkeeps no copy. The documentation warns that it should only be used if you already have separate backup copies.- Not on RAW files. The documentation says not to do this to RAW images, except DNG.
- Something stays. In JPEGs, the APP14 "Adobe" group is not removed by default, because it may affect how the image looks.
Afterwards, run exiftool -a -u -g1 on the result to see what is left.
What ExifTool cannot tell you
The same program that reads metadata writes it. Changing the capture date is one command:
exiftool -DateTimeOriginal="2020:01:01 12:00:00" copy.jpg
Coordinates are no different. That is why metadata is a lead and not proof:
- The EXIF date comes from the device's clock, which can be wrong or set to another time zone.
- Missing metadata proves nothing, neither that the photo is fake nor that it is genuine: most large social networks strip it on upload.
- Whatever you find gets checked against the content of the image (the light, the weather, what is in the frame) and against other sources, such as the oldest copy a reverse image search turns up. The method is in reverse image search and photo metadata.
Is there an ExifTool online?
Not an official one. ExifTool's website only offers the program to download, and the sites that say they read metadata with it are third parties. Before using one, think about what you upload: a photo with GPS can reveal where someone lives, and uploading it hands the whole file to a service whose handling of data you do not control. For a photo of your own with nothing sensitive in it, it hardly matters; for the evidence in a case or someone else's photo, use the tool on your own computer.
Metadata inside a case: Pandora
Pandora is the tool we build: an OSINT link-analysis tool that runs in the browser, with nothing to install. It is also a website: uploading a photo means sending it to our server to be read. What it does with the photo is put it into the case.
Specifically:
- The metadata. It reads the camera, the lens, the capture date and the GPS position. Coordinates go to the map; the camera, the software and the dates go to the timeline. From a document it extracts the author, the last editor, the company, the software and the dates.
- Where else it appears. It opens the image in Google Lens, Yandex, Bing and TinEye with one click, and computes its perceptual hash, which links accounts that share the same photo even after it has been recompressed. We do not use face recognition: it compares images, not faces.
- The source of every data point, in the Dossier, alongside the rest of the case: the username, the email or the domain that led you to the photo.
To see every single tag in a file, ExifTool is still the reference. Pandora helps when the photo is one piece of something larger you are investigating. Every new account comes with one trial search, with the findings masked: you see what kind of findings turn up and how many, but not which. Prices are on the pricing page.
The legal side, briefly
A photo showing a person is personal data, and a set of coordinates can point to a home. Process only what your purpose needs, do not publish locations that put anyone at risk, and bear in mind that reading the metadata of someone else's photo does not give you the right to spread it. The lawful basis is covered in OSINT and the GDPR.
This article is not legal advice.
Frequently asked questions
What is ExifTool?
A free program by Phil Harvey for reading, writing and editing the metadata in photos, video, audio and documents. Its website describes it as a platform-independent Perl library plus a command-line application, and says it recognises tens of thousands of different tags. It is free software, under the same terms as Perl itself.
How do you use ExifTool in Windows?
Download the 32-bit or 64-bit zip from exiftool.org, extract it and rename exiftool(-k).exe to exiftool.exe. Move that file and the exiftool_files folder to a directory in your PATH, and you can type exiftool at the command prompt. If you keep the original name, you can drag photos onto the .exe and the window stays open with the result.
Is there an ExifTool online?
Not an official one. ExifTool's website only offers the program to download, and it says ExifTool never makes an internet connection. Websites that say they run it behind the scenes are third parties: uploading a photo to any of them hands over the whole file, GPS included if it has any.
How do I see a photo's GPS with ExifTool?
exiftool -gps:all photo.jpg shows every GPS tag (latitude, longitude, altitude, time). For coordinates ready to paste into a map, exiftool -c "%+.6f" -GPSPosition photo.jpg gives them in signed decimal degrees.
How do I remove metadata with ExifTool?
exiftool -all= photo.jpg deletes all the metadata that can be deleted and keeps the original as photo.jpg_original. The documentation warns not to do this to RAW images (except DNG), and that -overwrite_original, which keeps no copy, should only be used if you already have separate backups.
Is the metadata ExifTool shows proof?
Not on its own. ExifTool itself can change a date or a set of coordinates with one command, and the EXIF date comes from the device's clock, which can be wrong. It is a lead to check against the content of the image and other sources.