# Exiv2

> Cross-platform C++ library and command-line tool for reading and writing Exif, IPTC, XMP and ICC metadata in images.

Source: https://osinttools.io/tools/exiv2/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Image, File
- **Category:** Data analysis and case notes
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Windows · macOS · Linux CLI
- **Website:** https://exiv2.org/
- **Docs:** https://exiv2.org/manpage.html
- **Source code:** https://github.com/Exiv2/exiv2
- **GitHub:** Exiv2/exiv2, 1,174 stars · C++ · last commit 2026-11-22
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

Exiv2 is a free, open-source C++ library with a command-line utility for managing image metadata. It reads and writes Exif, IPTC and XMP metadata and ICC profiles in many image formats, including camera makernotes, and is used inside desktop software such as GIMP, darktable and the KDE and GNOME desktops.

Investigators use the exiv2 command to dump all metadata from a photo, such as capture time, camera model, GPS position and editing software, as part of verifying an image or checking where and when it was taken. Because it runs offline, files never leave your machine.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- Exif, IPTC and XMP reading and writing
- ICC profile support
- Camera makernote decoding
- Command-line utility
- C++ library for developers
- Wide image format support

## Pros

- Free, open source and actively maintained
- Runs offline on Windows, macOS and Linux
- Detailed makernote support
- Can also strip or edit metadata

## Cons

- Command-line output takes some getting used to
- Images only; not for documents or video
- Metadata can be missing or forged

## When to use it

- Use it when you need to read the full metadata of a photo locally without uploading it.
- Use it when you want to script metadata extraction across many images.

## Quick start

1. Open Exiv2.
2. Paste the image and run the lookup.
3. Record the result with the date and the exact query; results change over time.

## Alternatives

- [AI or Not](https://osinttools.io/tools/ai-or-not/): Detector that estimates whether an image, video, audio clip or text was made by AI, on the web and via API. (Freemium · Image, File · passive)
- [Amped Authenticate](https://osinttools.io/tools/amped-authenticate/): Commercial forensic software for authenticating photos and videos, detecting tampering and deepfakes and identifying source cameras. (Paid · Image, File · passive)
- [Blender](https://osinttools.io/tools/blender/): Free, open-source 3D suite used by investigators to model objects and scenes, reconstruct events and test camera viewpoints. (Open source · Image, File · passive)
- [C2PA Tool (c2patool)](https://osinttools.io/tools/c2patool/): Open-source command-line tool for reading and adding C2PA Content Credentials manifests in image, video and audio files. (Open source · Image, File · passive · 175 GitHub stars)
- [Content Credentials Verify](https://osinttools.io/tools/content-credentials-verify/): Content Authenticity Initiative site that reads C2PA Content Credentials in a file and shows its signed edit history. (Free · Image, File · passive · 10 GitHub stars)
- [DeepSafe](https://osinttools.io/tools/deepsafe/): Self-hosted, open-source deepfake detection platform that runs several detector models in Docker and combines their verdicts. (Open source · Image, File · passive · 124 GitHub stars)

All alternatives to Exiv2 in one table: https://osinttools.io/tools/exiv2/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
