✳ Pocket PDF Notes

Privacy

Compression does not clean metadata: why smaller is not cleaner

Short version

Compression and metadata removal are different jobs. Our tests measured file size only; they did not verify that EXIF, IPTC, XMP or colour-profile data had been removed. Inspect both separately before publishing.

A file getting smaller feels like evidence that something unnecessary was removed. It is not. Compression changes how data is stored; metadata is a separate part of the file.

What we measured

One photo, PNG original and smaller JPEG export
One photo, PNG original and smaller JPEG export
3200×2400 photo-like sampleMeasured size
Source PNG16,917 KB
JPEG, quality 55471 KB

That is a real byte reduction. It is not a metadata result. The test measured output size and did not inspect which descriptive fields, if any, survived the export.

Why the distinction matters

EXIF can carry camera details, timestamps and GPS coordinates. IPTC and XMP can carry titles, credits and rights information. ICC profiles describe colour handling. None of these are guaranteed to disappear because the pixel data was re-encoded.

A JPEG export can keep some of that information. A PDF export can compress page content and still keep document properties. Treating a smaller file as a cleaner file is an assumption, not a check.

Who should use what

  • When size matters: compress or resize, then inspect the visual result at the destination size. See why a smaller file is not always better.
  • When metadata matters: remove or inspect metadata explicitly with a dedicated tool.
  • When both matter: do two checks. First reduce the bytes; then inspect what descriptive data remains.

The exif remover and PDF metadata tool run in the browser, so the inspection does not require uploading the file.

Limits

This note describes what our size tests did and did not measure. It does not claim that any specific export removed or preserved a specific metadata field. Inspect the actual file when that matters.

Frequently asked questions

Did the compression test remove metadata?

The test did not check metadata. It measured bytes only, so no removal claim can be made from those numbers.

What metadata can remain in an image?

EXIF fields, IPTC records, XMP packets and ICC colour profiles can all sit alongside the image data.

Does a smaller PDF mean less metadata?

Not necessarily. PDF object streams and compression can reduce byte count while leaving document properties in place. Inspect the PDF properties separately.

About the author

Awais Saleem builds Pocket PDF, a privacy-first collection of browser-based file tools. He writes about file formats, browser APIs and the practical limits of local processing.

Pocket PDF ↗ · Disclosure ↗