Does Compressing a Photo Remove Metadata?
Not reliably. Whether metadata survives has nothing to do with how hard a photo is compressed; it depends on whether the software writing the new file copies the metadata across, and many apps do so by default. Zipping keeps every tag, phone edits keep them, desktop exports keep whatever the export settings say, and only some compressors drop them. The one way to know is to check the file you are about to share.
Check the output, not the process: open the compressed or resized file in the Metadata Viewer & Remover to see what is still inside, and strip it without re-compressing.
Why compression and metadata are separate
A JPEG is a series of segments. The compressed picture is one part; EXIF lives in its own segment near the start of the file, XMP and IPTC in others, and some phones append extra images after the main one, such as a second preview or an HDR gain map. Compression settings, the quality slider, act only on the picture data. Whether the other segments are written into the new file is a separate decision made by whoever wrote the software.
That is why a photo squeezed from 4 MB down to 300 KB can still carry its exact GPS position, while a photo saved at maximum quality by a different app can carry nothing. The EXIF segment in a JPEG is capped at about 64 KB, so it is a small fraction of the file and is rarely dropped to save space. Size is simply not a signal.
What survives each common operation
Behaviour varies by app and version, so treat this as a guide to what to expect and then verify with your own files.
| Operation | Metadata after | Why |
|---|---|---|
| Zipping a folder of photos | All kept | ZIP is lossless. Each photo comes out byte for byte identical. |
| Cropping, rotating or filtering in a phone's photo app | Kept | Edits preserve date and location so the photo stays in place on the timeline and map. |
| Exporting from a desktop editor (Photoshop, Lightroom, GIMP) | Depends on settings | Export dialogs have metadata options, often including a separate box for location. |
| iPhone converting HEIC to JPEG when sharing or transferring | Usually kept | The conversion carries the tags across unless you switch location off in the share options. |
| Converting JPEG to PNG or WebP | Varies by converter | PNG and WebP both have places to store EXIF and XMP. |
| Browser-based compressor that redraws the image on a canvas | Original EXIF gone | A canvas holds only pixels, so the new file starts without the source tags. |
| Server-based compressor website | Varies | Some preserve tags on purpose; either way the original was uploaded to get there. |
| Screenshot of the photo | Original tags gone, new ones added | A screenshot is a new image with its own timestamp and device or software tags. |
| Normal photo send in a messaging app | Usually stripped | Re-encoded to save bandwidth; "send as file" skips this. |
| Posting to a large social network | Public copy usually stripped | The platform still receives your original file. |
The last two rows are covered in depth elsewhere: does WhatsApp remove EXIF data explains the send-as-document exception, and does social media remove EXIF data compares platforms.
Screenshots: clean of the original, not clean of everything
Screenshotting is the most common home-made "strip" and it does work on the original's EXIF: the GPS, camera model and capture time of the photo you are looking at do not carry over. Two things come with it instead. The screenshot has its own metadata, usually a creation time and device or software details, rarely a location. And it captures everything on screen, which can include the status bar with the time and carrier, notification banners, or an open info panel showing the very map location you were trying to hide. Crop screenshots before sharing, and remember they also lower the resolution.
Cropping and the leftover preview
Cropping changes the picture, not the metadata. A photo cropped in place keeps its GPS and timestamps. Cameras also store a small preview thumbnail inside the EXIF block. Most modern editors regenerate it after a crop, but some software has historically left the old preview in place, so a cropped image could carry a tiny copy of the full frame. Removing the EXIF block removes the preview with it.
Test your own workflow in two minutes
Because the table above depends on app versions, the most useful thing you can do is test the exact route you use.
- Take a fresh photo with camera location switched on, so you know it is geotagged.
- Run it through your usual process: the compressor, the resize, the export preset, the converter.
- Open the result in the Metadata Viewer & Remover. If a location line with a "See it on a map" link appears, your process keeps GPS. Check the date and camera lines too.
- If anything you did not want is there, add a cleaning step to the end of the workflow.
Remove metadata without losing quality
Compressing a photo to get rid of metadata is a poor trade: the picture gets worse and the metadata may stay. The direct route is to remove the metadata segments themselves. The metadata tool's Download clean copy button does exactly that. For a JPEG it drops the EXIF block (with its thumbnail and maker data), XMP, IPTC, comments and anything appended after the image, keeps the colour profile and orientation so the photo looks the same, and copies the compressed picture data unchanged. PNG and WebP files are handled the same way. The result is slightly smaller than the original, identical to look at, and re-checked by the tool before you share it. It runs in your browser, so the original never has to be uploaded anywhere to be cleaned.
If you do want a smaller file as well, compress first and strip last. Stripping should always be the final step, because any later edit or export can add tags back.
Frequently asked questions
Does resizing a photo remove its EXIF data?
Not necessarily. Many apps copy EXIF into the resized file, including GPS. Browser tools that redraw the image on a canvas produce a file without the original tags. Check the resized file to be sure.
Does zipping photos remove metadata?
No. ZIP compression is lossless, so each photo extracted from the archive is identical to the original, metadata included.
Is a screenshot a safe way to strip metadata?
It removes the original photo's EXIF, but the screenshot has its own timestamp and device tags, captures anything else on screen, and loses resolution. Stripping the original file is cleaner and keeps full quality.
Read next
- Does Social Media Remove EXIF Data? Platform-by-Platform
- How to Remove EXIF Data from Photos
- Windows Remove Properties: What Metadata It Leaves Behind
Strip It, Don't Squash It
Remove metadata with no re-compression and no upload.
Open the Metadata Tool