# Install exiftool on Windows, macOS and Linux

Read and write metadata (EXIF, GPS, author, software) in images, documents and media.

ExifTool reads the metadata inside images, documents, audio and video: camera model, GPS position, author, software, creation and edit times. It supports almost every file format and can also remove or change the data.

## How to install exiftool

```
ot install exiftool
```

ot uses exiftool from your system's package manager. If it is not installed yet, ot shows the `winget`, `brew` or `apt` command and asks before running it.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use exiftool

Arguments after the tool's name go straight to exiftool.

Show all metadata in a file.

```
ot run exiftool photo.jpg
```

Show only the GPS fields, as plain numbers.

```
ot run exiftool -gps:all -n photo.jpg
```

Read a whole folder and print JSON.

```
ot run exiftool -json -r ./evidence
```

Remove all metadata. The original is kept as photo.jpg_original.

```
ot run exiftool -all= photo.jpg
```

`ot run exiftool --help` lists every option.

An AI agent can run exiftool too: `ot mcp` serves it over the Model Context Protocol. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## exiftool licence, platforms and versions

- Project: https://exiftool.org
- Licence: GPL-1.0-or-later OR Artistic-1.0-Perl
- Runs on: Windows, macOS and Linux
- Takes: file
- Categories: metadata, image, file
- Sends traffic to the target: no
- System package: through apk, apt, brew, choco, dnf, pacman, scoop and winget

## Questions about exiftool

### How do I install exiftool on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install exiftool`. ot installs exiftool through winget, Scoop or Chocolatey, after showing you the command.

### Is exiftool free?

Yes. exiftool is open source, released under the GPL-1.0-or-later OR Artistic-1.0-Perl licence. ot, which installs it, is free under the Apache 2.0 licence.

### How do I update or remove exiftool?

exiftool is a system package, so update and uninstall it with your package manager. `ot remove exiftool` only makes ot forget it and never uninstalls a system package.

## Tools related to exiftool

- [gallery-dl](https://otinstaller.com/tools/gallery-dl/): Download image galleries and their metadata from social and hosting sites.

More: [Files and media](https://otinstaller.com/osint-tools/files-and-media/).
