How to remove metadata from a batch of photos
For a folder of JPEGs, export the batch into a new folder and inspect the copies before sending. Keep the originals where they are so you can repeat the export if a photo turns sideways or changes color.
Published 25 November 2026.
Write the clean copies into their own folder
On a Mac with ImageMagick installed, open Terminal in a folder containing copies of the .jpg files you want to share. Use a new folder name for the outputs so old files cannot end up in the batch. This example matches lowercase .jpg files in the current folder.
mkdir share && magick mogrify -path share -auto-orient -strip -quality 95 ./*.jpg
-path share writes the results to the new folder. -auto-orient applies the recorded orientation before -strip removes embedded profiles and comments. This renders new JPEGs. It can change quality or color, especially for photos with custom color profiles. Try one such photo before running the full batch. ImageMagick’s batch command · ImageMagick’s option reference
Check several copies before sending the folder
Compare the count in share with your selection. Inspect a few output files for the fields you wanted removed, including one from each camera or app you used. Open a portrait image and one with important colors next to their originals. For a batch intended for print, confirm that the recipient can use the new files, or agree on a workflow that preserves the color profile.
Metadata and the image are separate checks. A street sign can still give away the location, and a filename can still contain a name. Rename the share copies if needed. Send the files from share.
Inspect one exported JPEG in the photo metadata tool or check what your filenames reveal.