Compress PDF
Make your PDF smaller by re-saving it efficiently and removing metadata. You always see the real sizes — if a file cannot shrink, we say so.
Honest limits: This tool re-saves your PDF with compressed object streams and, depending on the level, removes document metadata. It does NOT recompress embedded images — @cantoo/pdf-lib cannot re-encode image data — so image-heavy or scanned PDFs typically shrink only 0–8%, while text-heavy PDFs usually shrink 10–30%. The result always shows the real before/after sizes; if the saving is under 1% we say so plainly.
Drag & drop your file(s) here, or
PDF files only · Max 50 MB per file
Result
Your files are processed in your browser whenever supported. We do not upload your documents to our servers.
How to use
- Add one PDF file (max 50 MB).
- Choose a compression level.
- Click Compress PDF.
- Check the real before/after sizes, then download the compressed file.
Frequently asked questions
- Why did my PDF barely shrink?
- Most of the file's size is probably embedded images. This compressor preserves images byte-for-byte (pdf-lib cannot recompress them), so image-heavy and scanned PDFs usually shrink only 0–8%. Text-heavy PDFs usually shrink 10–30%.
- Is the compression lossless?
- The PDF structure is re-saved and metadata may be removed, but page content — including images — is preserved unchanged. Nothing is re-encoded at a lower quality.
- What exactly does each level do?
- Balanced re-saves with compressed object streams and keeps metadata. Strong also removes metadata. Maximum additionally keeps the smaller of two serialisations (with and without object streams).