MetaMarshal
Log inSign up free
← All articles

How to strip EXIF data without wrecking your photo

June 25, 2026 · 4 min read

Removing metadata sounds trivial — delete the EXIF block, done. In practice two things go wrong constantly: sideways photos and needless quality loss.

The orientation trap

Cameras usually save pixels in sensor orientation and record a rotation flag in EXIF. Your gallery reads the flag and shows the photo upright. Strip all metadata naively and the flag goes with it — every portrait displays rotated 90°. The fix: bake the rotation into the pixels first, then strip. Any scrubber that doesn't do this will eventually flip something you care about.

Lossless strip vs re-encode

There are two ways to clean a JPEG. A lossless strip rewrites the file without the metadata segments — pixels untouched, perfect quality, but vendor-specific blocks can slip through. A full re-encode repaints the image onto a clean canvas — guarantees nothing survives, at a small quality cost. A good tool offers both: lossless when you're only removing location, re-encode when you want certainty.

Don't forget the filename

IMG_20240613_154207.jpg leaks the capture date all by itself. Rename on export — a detail most tools skip.

The checklist

Bake orientation. Choose lossless or re-encode deliberately. Drop the embedded thumbnail. Rename the file. And verify with a viewer afterwards — trust the diff, not the button label. MetaMarshal shows that diff before you download, so you're never guessing.

See what your own photos say

Free, in your browser, nothing uploaded.

Clean a photo
How to strip EXIF data without wrecking your photo