ExifTool
Perl library and command-line app for reading and writing metadata (EXIF, IPTC, XMP, maker notes) in hundreds of image, video, audio, and document formats.
ExifTool is a set of Perl modules (Image::ExifTool) plus a command-line application, exiftool, for reading and writing meta information in files. It supports a large list of file types, including JPEG, TIFF, PNG, HEIC, PDF, MP4, MOV, DNG and many camera RAW formats (CR2, CR3, NEF, ARW, ORF, RAF and others). Each format is marked in the README as read, write, or create.
Supported metadata formats include EXIF, GPS, IPTC, XMP, ICC Profile, Photoshop IRB, JFIF, MIE, PDF, PNG, GeoTIFF, QuickTime, Matroska, ID3 and more. It also decodes maker note information from many camera manufacturers, such as Canon, Nikon, Sony, Panasonic/Leica, Olympus, Pentax, Fujifilm, DJI and FLIR. Some formats are read-only, such as ZIP, DOCX, MP3 and MKV.
The exiftool script can be run directly from the extracted distribution without installing, for example ./exiftool t/images/ExifTool.jpg. If the script is moved, the lib directory must move with it, or Image::ExifTool must be installed. On Windows cmd, it can be run as perl exiftool or by renaming it to exiftool.pl. It requires Perl 5.004 or later with no other mandatory libraries. Optional modules add support for compressed or encrypted data, such as Archive::Zip for ZIP and Office formats, Compress::Zlib for PNG and PDF, and Digest::MD5 and Digest::SHA for some PDF and IPTC data.
It suits photographers, digital asset managers, forensic analysts, and developers who need to inspect or edit file metadata from the terminal or from Perl scripts.
Installation
# via Build from extracted source directory (final step requires privileges)
perl Makefile.PL
make
make test
make install
Alternatives & related tools
PathPicker
Command-line tool (fpp) that parses piped output for file paths, shows a curses selector, and opens the selected files in $EDITOR or runs a command on them.
rsync
File copying and synchronization tool for local and remote paths, with delta transfers for remote updates and SSH or rsync-daemon connections.
s3cmd
Python command line client for uploading, retrieving and managing data in Amazon S3 and S3-compatible storage such as Google Cloud Storage and DreamObjects.
xplr
Terminal-based file explorer with Lua scripting, keyboard controls, and plugin system for command-line integration
trash-cli
Command-line interface to the freedesktop.org trashcan: trash, list, restore, and empty files using the same trash as KDE, GNOME, and XFCE.
add a badge to your README
Maintain ExifTool? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/exiftool?utm_source=badge)<a href="https://www.trmn.sh/tools/exiftool?utm_source=badge"><img src="https://www.trmn.sh/badge/exiftool.svg" alt="Featured on trmn" height="20"></a>