Back to Blog
Image Privacy8 min read

How to Remove Photo Metadata Without Recompressing the Image

Understand when metadata can be stripped without touching image data, when a PNG conversion is needed, and how to keep the original safe.

Illustration of an image file being cleaned while its picture data remains intact

Removing metadata does not have to mean recompressing the visible image. The important distinction is whether a tool edits the file’s container around the image data or decodes the image and creates a new file. For supported JPEG and PNG files, metadata can often be stripped without re-encoding the picture itself.

A lossless metadata cleanup changes the file’s extra information, not the encoded pixels.

Why ordinary “save as” can affect image quality

Opening a JPEG and exporting it again can encode the photo a second time. JPEG is usually a lossy format, so repeated exports may add compression artifacts. Resizing, rotating, color conversion, and editing can also change pixels. If the only goal is to remove private tags, re-encoding is unnecessary for JPEG and PNG inputs when their metadata containers can be edited directly.

PNG image data is lossless, but decoding and rebuilding an image can still change color profiles, ancillary chunks, bit depth, or application-specific details. Preserving the original image payload and removing only selected metadata chunks avoids those extra changes.

How a careful cleanup works by format

  • JPEG: remove metadata segments such as EXIF, comments, and descriptive application blocks while keeping the compressed image scan and color-related data.
  • PNG: remove EXIF, text, and time chunks while preserving image-data chunks and color information that can affect how the image looks.
  • HEIC, AVIF, WebP, and other browser-decoded inputs: export a PNG copy when direct metadata rewriting is unavailable. This avoids JPEG recompression, but decoding and color rendering can differ from the source.

“No re-encoding” means the compressed image payload stays intact. It does not mean every file byte remains the same: the metadata blocks are intentionally removed, and the resulting file may have a different size or checksum.

A safer image-cleaning workflow

  • Keep an untouched original in case you later need its capture date, location, or source format.
  • Use Inspect & Clean when you want to review the readable camera, date, or GPS fields first.
  • Use Quick Clean when you only need a clean downloadable copy.
  • Check the output format: supported JPEG and PNG files keep their format; other inputs are exported as PNG.
  • Inspect the cleaned file if the receiving service has strict format or color-profile requirements.

Clean an image locally with Lumli Metadata Remover

What metadata cleanup cannot promise

Metadata differs across devices and applications. A tool can remove common fields it recognizes, but it cannot guarantee that every proprietary block in every image format has been interpreted. Social networks and messaging apps may also rewrite images after upload. For sensitive photos, inspect the exact exported file you plan to share and consider disabling future location tagging in your camera settings.

For a field-by-field explanation of EXIF, GPS, camera details, and capture dates, read the companion guide to photo metadata.

Read: What is in your photo metadata? EXIF, GPS, camera and date data

The best quality-preserving option depends on the source format. When direct cleanup is available, preserve the encoded image data. When conversion is required, export a clean PNG and keep the untouched source alongside it.

Try the tool

Clean a copy of your photo

Use Quick Clean for a fast export or Inspect & Clean to review readable metadata first. Processing happens locally in your browser.

Try Lumli Metadata Remover

Quick answers

Frequently asked questions

Can I remove JPEG metadata without recompressing the photo?

Yes. A metadata cleaner can remove supported metadata segments while preserving the compressed JPEG image data.

Does PNG metadata cleanup change the pixels?

Removing metadata chunks can leave the PNG image data unchanged. Color-related information should be preserved when it affects rendering.

Why are some formats exported as PNG?

When direct container cleanup is unavailable, the browser can decode an image and export a clean PNG copy. Pixel or color rendering may differ from the source.

Keep reading