Skip to content
ToolsOnDuty - free online tools
PDF Tools

Compress PDF

Compress one or many PDFs with lossless QPDF optimization or adjustable raster reduction.

Free browser toolRuns in your browserNo sign-up

PDF compression studio

Choose the right size and clarity balance

Preserve original PDF content with QPDF lossless optimization, or use raster compression when scans and image-heavy pages need a stronger size reduction.

0

PDFs queued

0

total pages

0 B

source size

Lossless

mode

Compression method
Lossless preservation: QPDF regenerates object streams and recompresses compatible Flate streams at maximum compression. Page appearance, selectable text, vectors, links, forms and existing JPEG pixels are not rasterized. Already optimized PDFs may show little saving or become slightly larger.

Private workspace. Files stay in this browser tab and are never uploaded to ToolsOnDuty.

Nothing downloads automatically. Actual savings depend on each source and compression method.

About the Compress PDF

Compress PDF processes one PDF or a complete batch using either Lossless QPDF optimization or raster compression. Lossless mode regenerates object streams and recompresses compatible Flate streams without rebuilding pages as images.

Lossless mode preserves selectable text, vector graphics, links, forms, page dimensions and existing image pixels. It is the right first choice for digitally generated reports, invoices, contracts and presentations, although an already optimized source may show little saving or become slightly larger.

Raster mode offers Strong, Recommended and Light presets. It rebuilds each page as a JPEG-backed image and is most useful for scans and image-heavy files, but selectable text, links, forms and vector content are flattened.

The queue validates every PDF, reports per-file page counts and supports encrypted inputs through the shared local unlock flow. Batch progress identifies the current file and page.

The result workspace labels each output Lossless or Raster and compares source and output sizes without inventing savings. Nothing downloads automatically: download files individually or package multiple results into one ZIP.

Key features

  • Lossless QPDF object and Flate-stream optimization
  • Selectable text, vector, link and form preservation in Lossless mode
  • Strong, Recommended and Light raster presets
  • Multi-PDF batch queue with add-more and remove controls
  • Local password unlocking for authorized encrypted PDFs
  • Fresh QPDF structure and PDF.js page-count verification
  • Per-file and per-page or optimization-stage progress
  • Individual and aggregate size comparison
  • Honest reporting when an output becomes larger
  • Individual downloads or one batch ZIP
  • Clear lossless-preservation and raster-flattening warnings
  • Private local compression

How to use

  1. 1Upload one or more PDFs and review each file's page count and source size.
  2. 2Choose Lossless QPDF to preserve document features, or Raster compression for stronger reduction of scans and photo-heavy pages.
  3. 3When using Raster compression, choose Strong for the smallest image output, Recommended for balance, or Light for more detail.
  4. 4Run batch compression and follow the current-file and current-page progress.
  5. 5Compare each result and the aggregate size change rather than assuming every output is smaller.
  6. 6Download results individually or select Download all ZIP. Review raster clarity or confirm important links and forms in lossless outputs.

Examples

Optimize a digital contract losslessly
Input: Text and vector PDF using Lossless QPDF
Output: Structurally verified PDF retaining selectable text, links and forms

Already optimized files may have little or no size reduction.

Reduce a scanned application
Input: 24-page photo scan using Recommended
Output: Rasterized PDF with measured before/after sizes

Verify identification numbers and fine print at normal zoom.

Frequently asked questions

Will text remain selectable?
Yes in Lossless QPDF mode. Raster mode rebuilds every page as a JPEG image, so its text is no longer selectable.
What does Lossless mode optimize?
QPDF regenerates compact object streams and recompresses compatible Flate streams at maximum compression without rasterizing pages or recompressing JPEG pixels.
Are links, forms and vector graphics preserved?
Lossless mode preserves those PDF structures. Raster mode flattens them into page images.
Can I compress multiple PDFs together?
Yes. Add multiple PDFs, apply one preset to the queue, and download each result or one ZIP containing the complete batch.
Can it compress a protected PDF?
Yes, when you know the password and have permission. The shared unlock dialog decrypts it locally before adding it to the queue.
Is a smaller result guaranteed?
No. Already optimized or text-heavy PDFs can produce little saving or even a larger file.
Which raster preset has the best quality?
Light uses the highest render scale and JPEG quality; it also tends to create the largest result.
Why can compression fail on a phone?
Rendering multiple high-resolution canvases can exceed browser or device memory.

Open a related tool to prepare your files or refine the finished result.