Image processing

What Metadata Is Removed When You Convert or Compress an Image?

Image conversion and compression usually work on decoded pixels, not the original container. When the browser writes a new JPEG, PNG, WebP, or AVIF, metadata is not automatically copied. This can improve privacy, but it can also remove rights, color, accessibility, and provenance information that mattered.

Reviewed
Reading time
3 minutes

Decode and re-encode creates a new container

A browser decoder turns the source into pixels. Canvas or a worker then writes those pixels with a selected format and quality. The encoder receives dimensions, pixels, and a few output settings; it does not automatically receive the source EXIF, XMP, IPTC, ICC, comments, or C2PA manifest.

Compression keeps the source format and dimensions in Photo Payload. Conversion keeps dimensions but changes format. Resizing changes dimensions as well. New encoded outputs omit source metadata. If compression is not smaller, Photo Payload instead keeps the original bytes and metadata unchanged.

Common information that is not carried forward

The exact source varies, but browser-created output generally omits these embedded payloads.

  • Camera and exposure EXIF, including capture date, orientation, lens, and GPS.
  • XMP editing history, ratings, labels, application fields, and sidecar relationships.
  • IPTC captions, keywords, creator credits, copyright notices, and licensing fields.
  • ICC color profiles, which can affect appearance in color-managed workflows.
  • Content Credentials and other signed provenance that belongs to the original asset.
  • Comments, thumbnails, and proprietary application blocks.

Operation comparison

Choose the narrowest operation that solves the task.

What changes in Photo Payload
Metadata cleanup
Same format; existing pixel payload retained; metadata removed
Compression
Smaller: re-encoded without source metadata. Otherwise: original bytes and metadata retained.
Conversion
New format, same dimensions; pixels re-encoded; metadata removed
Resize
Selected dimensions and format; pixels resampled; metadata removed

Keep the original when rights data, exact color interpretation, provenance, or editing history may be needed later.

Removal is not always a benefit

Stripping GPS can protect privacy, but stripping creator and copyright fields can separate a work from its attribution. Removing an ICC profile may change how colors appear. Removing Content Credentials discards provenance rather than disproving it.

Archive the source, inspect the output, and use a metadata-aware professional workflow when fields must be preserved or rewritten across formats.

Measured counterexample: compression can leave metadata unchanged

Our November 6, 2026 local Edge run compressed the public 640 x 400 JPEG from 8,519 bytes to 6,452 at 82% quality and 5,298 at 35%. The PNG case retained its 6,526-byte source because re-encoding was not smaller. The compressor page publishes that reference and lets you repeat all three operations with your browser.

This unchanged-original behavior is important for privacy. If the compressor keeps a source with metadata, it also keeps that metadata. A successful tool operation does not necessarily mean metadata was removed. Use the dedicated cleaner when removal is the requirement.

  • Download the public JPEG and PNG on the compressor page. Run the sample experiment and compare exact sizes, dimensions, and the original-kept notice.
  • Inspect fine checker edges at equal zoom. Lower quality and fewer bytes do not establish visually acceptable output.
  • Reinspect your downloaded file, not the source preview. Other browsers and photographs can produce different results; the chart is synthetic.
JPEG outputs at 82 and 35 percent quality alongside an unchanged PNG original
Local Edge screenshot, November 6, 2026: both JPEG results are smaller; the PNG keeps its original bytes. Synthetic-chart results do not predict savings or quality for photographs.
Open the public experiment

Sources and further reading