Strip
Removes GPS, camera serial numbers, owner names, dates, software and keywords from images and videos, in place or as copies with --out.
A command-line tool that removes metadata from photos and videos: location, camera and owner details, dates, editing software, keywords. It keeps the orientation and color profile, so files look exactly the same.
JPEG, PNG, HEIC, AVIF, TIFF, WebP, GIF · MP4, MOV, M4V, 3GP · MIT licensed
$ clean-assets-meta strip ./trip -r -n
trip/beach.heic: 31 metadata tags (has location, color profile)
trip/dinner.jpg: 24 metadata tags (has location, color profile)
trip/drone.mov: 15 metadata tags (has location)
3 files, nothing changed (dry run)
$ clean-assets-meta strip ./trip -r -o ./share
cleaned 3 files
exiftool can already delete tags. clean-assets-meta knows which ones to keep, handles the formats that need special care, and makes the safe choice the default.
Removes GPS, camera serial numbers, owner names, dates, software and keywords from images and videos, in place or as copies with --out.
The orientation and color profile stay, so a portrait photo isn't turned sideways and a Display P3 image keeps its colors. --all removes them too.
-n lists each file with how many metadata tags it has and whether it carries a location, before anything changes.
MP4 and MOV metadata is removed, and the creation dates their headers can't drop are set to zero. The rotation stays.
apply copies metadata from an original onto edited or stripped copies, one file or whole folders matched by path.
Save the options you use with --save-preset web, reuse them with -p web, and share a project's presets in a .clean-assets-meta.json.
By default. --gps-only removes the location and nothing else; -k Copyright keeps a tag you want.
Requires Node.js 24 or later and exiftool. Developed and tested on macOS.
brew install exiftool
npm install -g clean-assets-meta
Or try it first with npx clean-assets-meta strip photo.jpg -n.
clean-assets-meta strip photo.jpg
clean-assets-meta strip ./exports -r -o ./clean
clean-assets-meta strip --help
See the README for every option.