compress pdf

How to Compress a Scanned PDF Without Losing Quality

On this page
Document workflow illustration: How to Compress a Scanned PDF Without Losing Quality
Original PDFtoAll illustration

Scanned PDFs can balloon to tens of megabytes because every page is saved as a full-color, high-resolution image. Knowing how to compress a scanned PDF without losing quality means choosing the right compression method, resolution, and color mode so the file gets smaller while text stays readable and images stay clear.

Key takeaways

  • Scanned PDFs are image-based, so compression works differently than for text-based PDFs.
  • Dropping resolution from 600 DPI to 150–200 DPI is often the biggest single size reduction you can make.
  • Converting to grayscale removes color data and shrinks the file further when color is not needed.
  • Running OCR before compressing adds a text layer, which can improve compression efficiency in some engines.
  • A browser tool handles most everyday scans; desktop software is better for batches, advanced settings, or very large files above 50 MB.
  • Always review the output before sharing to make sure text is still legible.

Why scanned PDFs are so large

When a scanner captures a page, it saves it as a raster image — essentially a photograph. A 600 DPI color scan of a single A4 page can easily exceed 5 MB. Multiply that by 20 pages and you have a 100 MB file that is difficult to email or upload.

Text-based PDFs store characters as vector data, which is compact. Scanned PDFs have no such advantage. Every pixel must be stored, which is why compression strategies for scanned files focus heavily on image resolution and color depth rather than font subsetting or metadata removal.

Understand the main compression levers

Image resolution

Resolution is measured in dots per inch (DPI). Scanners often default to 300–600 DPI, which is higher than most screens can display. For a document that will be read on screen, 150 DPI is usually sufficient. For a document that may be printed, 200–300 DPI is a reasonable target.

Reducing DPI from 600 to 150 removes a large portion of the stored pixel data, which is where most of the file size comes from.

Color mode

Full-color (RGB) scans store three values per pixel. Grayscale scans store one. For black-and-white documents like contracts, forms, or typed letters, switching to grayscale or black-and-white (monochrome) removes a significant amount of data.

Compression algorithm

PDF supports several image compression formats internally, including JPEG, JPEG 2000, JBIG2 (for monochrome), and ZIP. JPEG and JPEG 2000 use lossy compression, meaning some pixel data is discarded. At moderate quality settings the visual difference is minor for most document content.

Step-by-step: compress a scanned PDF in a browser

A browser-based tool is the right choice when:

  • Your file is under 50 MB (free accounts support up to 50 MB per file; guest use supports up to 25 MB).
  • You have a single file or a small number of files.
  • You do not need fine-grained control over DPI or compression algorithm.
  1. Open Compress PDF in your browser.
  2. Click Choose file or drag your scanned PDF onto the upload area.
  3. Select a compression level. For scanned documents, start with a medium or high compression setting. You can always re-run at a lower setting if the output is not acceptable.
  4. Click Compress and wait for the process to finish.
  5. Download the result, then open it and scroll through a few pages to verify text is still legible at normal reading size.
  6. If the output looks good, share or archive it. If text appears blurry, re-run at a lower compression level.

Free accounts can run up to 10 jobs per day and store files for 24 hours. Premium accounts (currently $49/month after a 7-day $1 trial) support files up to 500 MB and unlimited daily jobs, which is practical for large scanned archives.

Step-by-step: improve the scan before compressing

If your scanned PDF has skewed pages, dark borders, or noise, cleaning it up first makes compression more effective because the compressor has less irregular pixel data to encode.

  1. Open Clean Up Scanned PDF and upload your file.
  2. Apply deskew and border removal if your pages are tilted or have dark scanner borders.
  3. Download the cleaned file.
  4. Then run it through Compress PDF as described above.

A cleaned scan compresses more efficiently than a raw scan with noise and uneven backgrounds.

Step-by-step: add OCR before compressing

OCR (optical character recognition) converts image pixels into a searchable text layer. Some PDF compression engines can compress the text layer more aggressively than the image layer, so adding OCR first can give the compressor more to work with.

  1. Open OCR PDF and upload your scanned PDF.
  2. Select your document language for better recognition accuracy.
  3. Download the OCR output, which now has a hidden text layer beneath the images.
  4. Run the OCR'd file through Compress PDF.

Note: free accounts can OCR up to 10 pages per job. Premium accounts support up to 200 pages per job.

Step-by-step: convert to grayscale for non-color documents

If your scanned document does not need color — for example, a typed contract or a printed form — removing color data is a reliable way to reduce file size.

  1. Open Convert PDF to Grayscale and upload your file.
  2. Process and download the grayscale version.
  3. Run it through Compress PDF.

This two-step approach often produces a noticeably smaller file than compression alone on a color scan.

Step-by-step: remove blank pages before compressing

Scanners sometimes capture blank pages between sections. Each blank page still occupies space as a white image. Removing them before compression reduces the page count and the file size.

  1. Open Remove Blank Pages and upload your PDF.
  2. Review the detected blank pages and confirm removal.
  3. Download the trimmed file, then compress it.

When to use desktop software instead

Browser tools handle the majority of everyday compression tasks, but desktop software is worth considering when:

  • Your files regularly exceed 50 MB (the free account limit) and you do not have a premium account.
  • You need to set exact DPI values, choose a specific compression algorithm, or apply different settings to color versus grayscale pages.
  • You are processing dozens or hundreds of files in a batch and need automation or scripting support.
  • Your organization has data privacy requirements that prevent uploading documents to any cloud service.

Popular desktop options include Adobe Acrobat Pro, Ghostscript (free, command-line), and PDF24 (free desktop app). These tools give you per-page control and can handle very large files without upload limits.

Settings reference for common use cases

Use case Recommended DPI Color mode Compression
Screen reading only 150 DPI Grayscale High
Email attachment 150–200 DPI Grayscale or color Medium–High
Print-ready archive 300 DPI Color if needed Medium
Legal or compliance archive 200–300 DPI Color Low–Medium

These are starting points. Always review the output before distributing the file.

Next steps

Start with Compress PDF for a quick result. If the output is not satisfactory, work back through the preparation steps: clean the scan with Clean Up Scanned PDF, add searchable text with OCR PDF, strip color with Convert PDF to Grayscale, or trim unnecessary pages with Remove Blank Pages. Combining two or three of these steps before compressing consistently produces smaller, more usable files than compression alone.

Frequently asked questions

Does compressing a scanned PDF make the text unreadable?

It can if you use an aggressive setting on a low-resolution scan. For a scan at 300 DPI or higher, moderate compression generally keeps text legible for screen reading. Always open the output and scroll through a few pages before sharing it to confirm the quality is acceptable.

What is the best DPI for a compressed scanned PDF?

For documents that will only be read on screen, 150 DPI is a practical setting. For documents that may be printed, 200–300 DPI preserves more detail. If you need to meet a specific archival or compliance standard, check the requirement before reducing DPI.

Should I run OCR before or after compressing a scanned PDF?

Run OCR before compressing. OCR adds a text layer to the file, which some compression engines handle more efficiently than raw image data. It also makes the document searchable, which is useful regardless of file size.

Can I compress a password-protected scanned PDF?

Most compression tools, including browser-based ones, require the file to be unlocked before they can process it. Use an unlock tool to remove the password first, then compress the file and re-apply protection if needed.

When is a browser tool not enough for compressing scanned PDFs?

A browser tool is limited by upload size (up to 50 MB for free accounts, up to 500 MB for premium), daily job count, and the range of compression settings available. If you need to process files larger than 500 MB, run large batches automatically, or set exact DPI and algorithm parameters, desktop software with command-line or batch support is a better fit.

Does converting a scanned PDF to grayscale reduce file size?

Yes. A full-color (RGB) scan stores three color values per pixel, while a grayscale scan stores one. For documents that do not rely on color — such as typed letters, forms, or printed contracts — converting to grayscale before compression removes a substantial amount of image data and results in a smaller file.

Ready to try it?

Compress PDF runs in your browser, no account needed to start.

Open Compress PDF
compress pdfscanned pdfpdf optimizationpdf toolsfile sizedocument management