Does editing a photo remove its metadata? What we found in real files
Usually not. Most editors keep the original metadata when they save and add their own on top. In real photos we read, an iPhone photo re-saved in GIMP still held its GPS location, and photos edited in Lightroom and Photoshop still held GPS, the camera’s serial number and a list of every app that touched them. What decides it is the export setting, not the editing itself. Check the saved file in the EXIF Viewer before you share it.
iPhone photo edited in GIMP: the location survived
One sample is an iPhone 13 photo that its photographer re-saved in GIMP 2.10 on a Mac the morning after taking it. After the edit, the file still held:
- GPS latitude, longitude, altitude, the camera direction (356.8°) and the speed field.
- Apple’s maker note, including the unique photo identifier and motion-sensor readings.
- The original date and time, to the millisecond, with the time zone.
- A 7 KB embedded thumbnail.
What GIMP changed
GIMP rewrote the Software field to “GIMP 2.10.22”, set a new modify date, and added an XMP history entry saying the file was saved by GIMP on Mac OS. So editing added information about the edit rather than removing information about the photo. GIMP’s manual says Exif, XMP and IPTC data are preserved and that you can choose whether to keep them when exporting to JPEG: the result depends on that choice.
Lightroom and Photoshop: a full edit history
Two samples from a Nikon D750 were processed in Adobe software. One lists in its XMP history Lightroom 5.7, then Camera Raw 9.1, then Photoshop CS6, then Lightroom again: eight entries with dates and times, the last six within about 13 minutes on 23 July 2015. Both Nikon files still carry:
- GPS coordinates, plus city, region and country names added in the editor.
- The camera body serial number, stored twice (in EXIF and in XMP).
- The photographer’s name and copyright, and keyword tags.
- An embedded thumbnail of about 12 and 17 KB.
When an edited photo has no location
A third sample, from a Sony A7 III, went through Camera Raw, Photoshop and Lightroom Classic and has no GPS and no serial number. From the file alone we cannot tell whether the camera never recorded them or an export setting dropped them. That is the point: the result depends on the camera and on how the photo was exported, and you only know by checking the file.
Lightroom’s export dialog has metadata options, including one to remove location info; we cover them in which metadata photographers should keep or remove.
Do cropping or filters remove metadata?
Not by themselves. Cropping and filters change the pixels; the metadata block is separate and is written back unless the export is set to drop it. An embedded thumbnail is also separate from the main picture, so check it too. We have not tested every phone gallery app, and their behaviour changes between versions, so we will not promise what any one of them does.
Edit first, then remove metadata
Removing metadata is the last step before you share. Do it after editing, because the editor may add its own fields. The Metadata Remover removes the metadata, including the embedded thumbnail, without re-encoding the picture, and re-reads the result to show what is left. If you want to keep your copyright but drop the location, use the GPS Remover instead. For the quality question, see does removing metadata reduce photo quality.
Sources
- GIMP 2.10 manual — Exporting images (JPEG: metadata kept or not on export)
- Wikimedia Commons — Linton E. Allen Memorial Fountain, Orlando (iPhone photo re-saved in GIMP, CC0, Benoît Prieur)
- Wikimedia Commons — Cheese, wine and bread in a sidewalk café in Paris (Lightroom/Photoshop edit, CC0, Joe deSousa)
- ExifTool — XMP xmpMM tags (History)
Related tools
Keep reading
- What are Content Credentials (C2PA)? How to check an imageWhat Content Credentials (C2PA) are, how to check an image for them, what a result means, and why a missing credential does not mean an image is fake.
- How to remove metadata from an Excel fileRemove the author, last modified by and other hidden data from an Excel workbook: Document Inspector steps, hidden sheets and comments, and how to verify.