security enabled verified low v1.0.0

exiftool

Perl-based metadata reader and writer for extracting EXIF, IPTC, XMP, and other metadata from files.

📋 Live Preview
exiftool {file}
๐ŸŒ file โ†’ image.jpg
exiftool {file}

Sandbox: execFile · Timeout: 120s

Capabilities

metadata.read.exif
metadata.read.iptc
metadata.read.xmp
metadata.write
forensics.metadata.extraction

Parameters

Name Type Required Default Description Aliases
file string Yes - File(s) to read metadata from
flag-a boolean No - Show duplicate tags (all instances) -a, --duplicates
flag-r boolean No - Recursively process subdirectories -r, --recurse
flag-G boolean No - Print group name for each tag -G, --group
flag-j boolean No - JSON output format -j, --json
flag-t boolean No - Tab-delimited output format -t, --tab
flag-csv boolean No - CSV output format -csv, --csv
flag-p string No - Print format string for custom output -p, --print-format
flag-s boolean No - Short output โ€” omit tag descriptions -s, --short
flag-n boolean No - Numeric values instead of descriptions -n, --numeric
flag-u boolean No - Include unknown tags -u, --unknown
flag-m boolean No - Ignore minor errors -m, --ignore-minor-errors
overwrite_original boolean No - Overwrite original file (backup as .original) --overwrite_original
flag-o string No - Output file or directory name -o, --output
flag-ext string No - Process only files with given extension -ext, --extension
flag-d string No - Date format string -d, --date-format
flag-v integer No 0 Verbose level (0-5) -v, --verbose
list boolean No - List supported file types -list, --list
listx boolean No - List supported file types as XML -listx, --listx
charset string No - Character set for output encoding -charset, --charset
d boolean No - FMT Date format (strftime syntax) -d, --date-format
ext boolean No - EXT Process only files with extension -ext, --extension
p boolean No - Custom print format string -p, --print-format
u boolean No - Include unknown tags -u, --unknown
v boolean No - ) -v, --verbose, -5

Artifacts

TypeDescriptionMIMESchemaTrust
metadata.exifEXIF metadata extracted from filesapplication/json-verified
metadata.reportMetadata report in various formatstext/plain-verified

Contract

Inputs

file.path

File or directory to extract metadata from

output.format

Output format (json, csv, tab, xml)

Outputs

metadata.json

Metadata as JSON

metadata.csv

Metadata as CSV

metadata.text

Metadata as plain text

Side effects: filesystem_write

Workflow Edges

Produces

metadata.jsonmetadata.csvmetadata.text

Consumes

file.pathoutput.format

Resource Profile

ResourceValue
CPUlow
Memory128 MB
Networknone
Disk I/Olow

Examples

Extract all metadata from a file

exiftool image.jpg

Output metadata as JSON

exiftool -j image.jpg

Recursively scan a directory for metadata

exiftool -r -j /path/to/photos/

Extract only EXIF data from JPEG files recursively

exiftool -r -ext jpg -EXIF:All /path/to/photos/

Tab-delimited output with group names

exiftool -G -t image.jpg

Export metadata to CSV

exiftool -csv -r /path/to/photos/ > metadata.csv

Remove all metadata from a file

exiftool -all= image.jpg --overwrite_original

List all supported file types

exiftool -list

Documentation

ExifTool โ€” Metadata Reader/Writer

ExifTool is a powerful Perl-based utility for reading, writing, and manipulating metadata in a vast range of file formats. It supports EXIF, IPTC, XMP, GPS, and hundreds of other metadata types across images, audio, video, and documents.

Key Features

  • Broad format support: Hundreds of image, audio, video, and document formats
  • Multiple output formats: JSON, CSV, XML, tab-delimited, custom print formats
  • Batch processing: Recursive directory scanning with extension filtering
  • Metadata removal: Bulk sanitization of sensitive metadata

Related Tools

stringsbinwalkfile

References