Data & File

Compress PDF

Recompress supported JPEG image objects inside a PDF while preserving pages, dimensions, ordering and selectable text, with no document upload.

View Data & File Tools

PDF reading, JPEG recompression, preservation checks and download creation happen locally in your browser. Files and document contents are not uploaded, stored, logged or sent to a third party.

Choose a PDF

One unencrypted, unsigned PDF is processed entirely in this browser.

15 MiB · 150 pages
Drop one PDF hereSupported JPEG images are recompressed; pages are never flattened.

Choose one PDF to check for supported JPEG images.

Private, selective compression

  • Your PDF stays on this device. No upload, backend worker, paid API, or external document service is used.
  • Only supported 8-bit DeviceRGB JPEG image objects are recompressed. Text, vectors, page dimensions, and page order are preserved and independently checked.
  • Compression is lossy for changed JPEG images and visual quality can vary. The tool cannot promise that every PDF will become smaller.
  • Encrypted, signed, malformed, active, complex, and over-limit files are rejected. Unsupported image objects are left unchanged.

What this tool does

This PDF compressor selectively re-encodes supported JPEG image objects at a balanced quality setting, keeps text and vector content intact, and returns the original bytes unless the validated result is at least 5% smaller.

How to use it

  • Choose one unencrypted, unsigned PDF up to 15 MiB and 150 pages.
  • Select Compress PDF and wait while a bounded browser worker recompresses eligible JPEG images.
  • Review the measured result and download the validated compressed PDF, or the original when no useful reduction was achieved.

Example input and output

Input: An image-heavy PDF containing supported DeviceRGB JPEG photographs and selectable captions

Output: A validated PDF with the same pages and text, and smaller JPEG image streams when useful

Common use cases

  • Reducing the size of photo-heavy reports before sharing
  • Compressing scanned-image PDFs that already contain supported JPEG objects
  • Checking whether an existing PDF can be reduced without flattening its text

FAQ

Is my PDF uploaded?

No. Reading, image recompression, PDF generation, validation and downloads all happen locally in your browser. There is no document upload, backend processor or paid API.

Will every PDF become smaller?

No. This tool only changes supported JPEG image objects. Text-only, already optimised, unsupported-image and structurally complex PDFs may not shrink. If the candidate is not at least 5% smaller, the original bytes are returned.

Does compression remove selectable text?

No. Pages are not rasterised. The output is checked with PDF.js to ensure page dimensions, page order and extracted text remain unchanged before download is enabled.

Does JPEG compression reduce visual quality?

Yes. Changed JPEG images use lossy 72% browser encoding, so fine image detail can change. Text and vector content are not recompressed, and no universal quality or size reduction is promised.

Why are signed or encrypted PDFs rejected?

Rewriting a signed PDF would invalidate its digital signature, and encrypted content cannot be safely rewritten within this tool's contract. Remove encryption with an authorised application; preserve signed originals unchanged.

What are the browser limits?

The tool accepts one PDF up to 15 MiB and 150 pages, with additional object, image-count, pixel, memory and 60-second processing limits to prevent unbounded browser work.