Compress PDF

Try lossless PDF compression, understand why some files stay the same size, and choose image compression only when appropriate.

Upload documentUP TO 15 MiB

Read the instructions below, then choose a supported file.

Compress PDF tries to reduce a PDF's storage size without downsampling its images. This is a useful first step when you need a lighter attachment and want to keep the existing visual content. Results depend on how the source was created: an already optimised PDF may have little redundant information left to remove.

How to compress a PDF

  1. Check the source. Use an unlocked PDF no larger than 15 MiB and no more than 300 pages. Keep a separate original, particularly if the document contains forms, comments or other interactive elements.
  2. Run compression. Upload the file and start the tool once. AllDoc recompresses content streams and removes duplicated or unreferenced PDF objects where supported.
  3. Read the size result. Compare the original and output sizes. If rewriting would not make the document smaller, AllDoc returns the original bytes and says the file is already optimised.
  4. Inspect and download. Open the result, check several pages and test any interactive elements you need. Save the download promptly before its temporary link expires.

Lossless compression and scanned documents

This tool does not deliberately lower image resolution or JPEG quality. It can be effective when a PDF contains repeated objects or inefficiently compressed streams. It cannot promise a specific percentage reduction or a target size such as one megabyte. A ten-megabyte scan composed mainly of compressed photographs may barely change.

For that kind of source, Compress scanned PDF offers a different tradeoff: it can downsample and recompress embedded images, which may reduce quality. Choose it only after deciding that the smaller file remains fit for purpose. Fine print, signatures, barcodes and faint stamps deserve close inspection at a useful zoom level.

A practical attachment decision

Suppose an application portal accepts files under five megabytes and your report is slightly larger. First try this lossless tool and compare the downloaded file size with the portal's rule. If it remains too large, identify whether the size comes from large scans, high-resolution photographs or unnecessary pages. Splitting a file is only suitable when the recipient accepts multiple attachments.

Do not remove evidence or shrink text simply to meet the limit. If image compression is acceptable, test a separate copy and compare important details against the original. Keep the smallest version that still communicates everything the recipient needs; the lowest possible byte count is not always the right choice.

Preservation, security and retention

Digitally signed PDFs are rejected when rewriting would invalidate a supported signature field. Compression is not a signing, redaction or metadata-sanitisation service. The tool attempts to preserve document content, but you should still check links, forms and annotations that matter to the workflow. Rewriting an unusual PDF can affect application-specific behaviour.

The upload travels over HTTPS and is processed temporarily on AllDoc's server. Ordinary results are retained in memory for up to five minutes and may be removed earlier under capacity pressure or a restart. Download promptly; the original file on your device is not modified. Read the Privacy Policy for the broader processing and retention details.

The guide hub explains how to choose between lossless compression, scan compression and sensible source-document changes. Those choices are more useful than repeatedly recompressing the same already-optimised file.

Questions about this tool

Why is the output exactly the same size?

The PDF may already be efficiently compressed. AllDoc returns the original when its rewritten version would be as large or larger. This is a valid outcome rather than an indication that every file should shrink by a fixed percentage.

Does this tool make images blurry?

It does not intentionally downsample or re-encode images at a lower quality. The separate scanned-PDF compressor does. Always inspect the output anyway, especially unusual PDFs with interactive features or content that must reproduce exactly.

Can I compress an encrypted PDF?

Unlock an authorised copy with the correct password first. Compression does not guess passwords or bypass access restrictions. If the final delivery copy should be encrypted, compress it first and then apply a new file-open password.

Will compression remove private information?

No. Reducing storage size is different from redaction or sanitisation. Visible text, metadata and other document information may remain. Use an appropriate dedicated workflow if you need to remove sensitive content, then verify the exported copy carefully.

← Choose another document tool · Practical guides

Open dedicated page ↗