Compress Scanned PDF Free

Reduce the file size of image-heavy scanned PDFs directly in your browser — no upload, no server, no account. Choose DPI and quality, then download a smaller PDF instantly.

📄
Click to choose or drag & drop a PDF

Scanned documents at 150 DPI / medium quality are usually legible and 70–85% smaller. Go lower only if text is still readable at the intended print/screen size.

Preparing…
Original
Compressed
Download compressed PDF

How it works

This tool uses two open-source libraries that run entirely inside your browser — nothing is sent to any server.

1. Parse with PDF.js Mozilla's PDF.js reads your file, decodes each page, and renders it onto an invisible HTML Canvas element.
2. Re-render at lower DPI Each canvas is drawn at your chosen resolution (72 / 100 / 150 DPI). Lower DPI = fewer pixels = smaller JPEG output.
3. JPEG encode Each page canvas is exported as a JPEG at the chosen quality level (0.40–0.85). JPEG is far smaller than the lossless image formats most scanners embed.
4. Rebuild with pdf-lib pdf-lib assembles the JPEG images back into a valid PDF, matching the original page dimensions. You download the result directly.

Example: an 18 MB scanned receipt PDF at 300 DPI with lossless PNG pages → re-rendered at 150 DPI, JPEG quality 0.60 → typically 2–4 MB, about 80% smaller. Text stays readable on screen and in print at A4 / Letter size.

Frequently asked questions

Is my PDF actually uploaded anywhere?
No. The entire process runs inside your web browser using JavaScript. Your file never leaves your device — not to our servers, not to any third-party service. You can even disconnect from the internet after the page loads and it will still work. This makes it safe for confidential documents such as contracts, medical records, or financial statements.
Why are scanned PDFs so large, and how does this fix it?
Scanners typically embed each page as a full-resolution lossless image (300–600 DPI, PNG or TIFF-equivalent). A single A4 page at 300 DPI is roughly 2,500 × 3,500 pixels — about 8 MB before any compression. This tool re-renders each page at a lower DPI (e.g. 150 DPI = 1,240 × 1,750 px, ¼ the pixel count) and saves it as a JPEG at the chosen quality level. JPEG compression ratios for scanned text are typically 10:1 to 20:1, while the document remains perfectly legible. The combined effect is an 70–90% reduction in most cases.
Will the text still be readable after compression?
For typical office documents, contracts, and forms scanned at A4/Letter size, 150 DPI at medium quality (0.60) produces a file that looks crisp on screen and prints cleanly at 100%. Go down to 100 DPI if you only need on-screen legibility. 72 DPI is suitable for archival reference copies viewed on screen only. If the original scan was at a very high DPI (600+), even 150 DPI output will look excellent because you are starting from very sharp source pages.
Does this work on text-layer (non-scanned) PDFs?
Yes, but the benefit is smaller. Text-layer PDFs store text as vectors (very compact) and only embed images for photos or logos. Re-rendering them to JPEG converts the text to pixels, which may actually make the file larger — and you lose the ability to copy or search text. For those PDFs, use a dedicated PDF optimizer instead. This tool gives the best results on purely image-based scanned documents.
Is there a file size or page count limit?
There is no hard limit imposed by the tool — it depends on your browser's available memory. In practice, most browsers on a modern laptop handle 50–200 page PDFs up to about 100 MB without issue. Very large files (200+ pages or 200+ MB) may run slowly or exhaust browser memory. If you hit problems, try compressing in smaller batches by splitting the PDF first.