PDF utility

PDF Compressor

Optimize PDF structure and stream serialization directly in your browser.

How to use this tool

  1. Upload the PDF document you want to optimize.
  2. Start the in-browser optimization, which re-serializes PDF object streams without recompressing or downsampling embedded images.
  3. Compare the reported original and output sizes, then download the result if it meets your needs. Size reduction is not guaranteed.

Key features

  • In-browser document object stream serialization
  • Re-serializes PDF object streams; it does not recompress embedded images
  • Real-time before-and-after byte measurement with honest reporting
  • Preserves original vector text and raster image fidelity without downsampling

Frequently asked questions

How does in-browser PDF optimization work, and what are its limits?

We use pdf-lib to re-serialize the document using object streams. This does not downsample or recompress raster images embedded in the PDF, and it does not guarantee removal of every unreferenced object. PDFs that already use compact streams may show little to no reduction; the tool reports the actual result.

Explore all Vellumo tools