FileCompressor

Compress Scanned PDF

Shrink massive phone-camera and flatbed copier PDF scans locally in your browser. Clean paper shadows, switch to Grayscale or High-Contrast B&W, tune DPI, and inspect every page side-by-side with zero file uploads.

  • No install
  • No upload — runs locally in your browser
  • No sign-up

Drop any scanned PDF to clean & compress locally

Up to 100 MB · Grayscale, B&W threshold, shadow whitening & DPI control in your browser · 0 bytes uploaded

How to clean and compress a scanned PDF in your browser

  1. Load your scanned PDF locally

    Drop any scanned PDF up to 100 MB above—or click Try noisy scanned invoice sample to test scan shadow cleanup and byte reduction instantly without uploading a file.

  2. Tune cleanup & inspect before/after

    Choose Clean Grayscale, High-Contrast B&W, or Original Color, pick a target resolution (72–150 DPI), and drag the Background & shadow whitening slider while inspecting the live split preview.

  3. Rebuild and download with 0 uploads

    Click Compress & Rebuild All Pages to re-encode every page locally via MozJPEG WASM and pdf-lib, check the before/after byte caliper, and download cleanly.

Scanned PDF cleanup modes compared

Scan Mode What it cleans Typical size drop Best used for
Clean Grayscale (default) Removes color tint & sensor noise; whitens paper shadows; single-channel MozJPEG 70% – 90% Invoices, tax returns, signed contracts, mixed camera scans
High-Contrast B&W Soft-knee threshold turns gray paper pure white (#FFF) & ink crisp black 80% – 95% Copier scans, handwritten forms, dark-room phone scans, tight KB caps
Original Color + Whitening Preserves color stamps/logos while whitening paper shadows & tuning DPI 55% – 82% Stamped certificates, highlighted pages, colored IDs and receipts
Target DPI Ladder (72–150 DPI) Downsamples bloated 300–600 DPI scanner captures to clean document dimensions 40% – 85% Multi-page packets for email, HR, accounting, and government uploads

Why phone-camera and flatbed PDF scans get huge

When you photograph a receipt, contract, or signed form on a smartphone—or scan a stack of paperwork on an office flatbed copier—each page is stored as a massive full-color bitmap. Even a simple black-ink invoice balloons to 5–30 MB for three reasons:

  1. Color camera noise & uneven lighting gradients: Room shadows, warm yellowish paper tint, and camera sensor grain add millions of unique color values that standard PDF compression cannot crush efficiently.
  2. Oversized scan resolution: Default 300–600 DPI scanner profiles pack 4× to 16× more pixels than needed for email attachments, accounting portals, or screen reading.
  3. Uncompressed or poorly optimized image streams: Many mobile scanner apps embed raw FlateDecode bitmaps or high-chroma 3-channel JPEGs even when the document contains only black text on white paper.

How local scan cleanup shrinks scanned PDFs by 70%–95%

Unlike generic PDF compressors that only lightly re-encode color images, Compress Scanned PDF runs a dedicated 4-step document cleanup pipeline locally inside your browser:

  • Background & shadow whitening: Raises uneven gray and yellowish paper backgrounds to pure white (#FFFFFF) while keeping ink dark—eliminating the noisy background pixels that inflate file sizes.
  • Clean Grayscale & High-Contrast B&W modes: Drops unnecessary color channels and encodes with single-channel MozJPEG WASM (JCS_GRAYSCALE), or applies a soft-knee B&W document threshold that makes scanned text crisp against pure white.
  • Exact DPI downsampling (72 / 100 / 120 / 150 DPI): Resamples oversized 300+ DPI camera captures down to clean document dimensions while keeping page physical dimensions (Letter/A4 points) intact.
  • Live split before/after inspection: Scrub across any page at 100% zoom before downloading so you verify small numbers, totals, and signatures stay sharp.

Honest rasterization boundary (when to use another tool)

Because scan cleanup modifies individual pixels to strip shadows and camera grain, this tool renders and re-encodes each page as a clean raster image (text in the output is non-selectable). If your PDF already contains digital selectable vector text (such as an export from Word, Google Docs, Canva, or Figma) and you want to keep text 100% searchable and copyable, use our vector-preserving Reduce PDF Size workbench or inspect what is inflating your file first with the PDF Size Analyzer. Need to meet an exact portal ceiling like 300 KB or 1 MB? Jump to Compress PDF to 300 KB or Compress PDF to 1 MB.

Scanned PDF compression limits and trade-offs

Transparent technical boundaries for rasterized scan cleanup, encrypted documents, certified signatures, and mobile RAM.

Rasterized output (non-selectable text)

Scan cleanup renders and re-encodes every page to strip camera grain and gray backgrounds, so output pages are rasterized and text is non-selectable. For vector PDFs with digital text, use /pdf instead.

Password-protected PDFs

Open-password encrypted PDFs cannot be rendered until unlocked locally in macOS Preview, Windows Edge, or Adobe Reader first.

Digitally signed PDFs

Rebuilding scanned pages into a fresh PDF invalidates Adobe or DocuSign cryptographic seals. Keep the untouched original if signature verification is required.

Browser memory & file size limits

Supports scanned PDFs up to 100 MB in desktop browsers. On mobile devices, keep scans under 40 MB and 20–30 pages so tab memory stays fast and responsive.

Compress Scanned PDF FAQ

How do I compress a large scanned PDF without uploading private documents?

Drop any scanned PDF up to 100 MB (or click Try noisy scanned invoice sample). Pick Clean Grayscale or High-Contrast B&W, tune Background & shadow whitening and Target DPI (100–120 DPI works well for most scans), verify legibility with the live split preview, and download locally—with zero file uploads.

Are scanned passports, tax forms, receipts, and IDs safe to compress here?

Yes. Every page is rendered via pdfjs-dist, cleaned on an in-memory HTML5 Canvas, encoded with MozJPEG WASM, and rebuilt via pdf-lib inside your browser tab. Zero PDF bytes, page previews, or filenames ever leave your device.

Does Compress Scanned PDF keep text selectable?

No—scan cleanup intentionally processes pixels to remove camera shadows, yellow lighting, and sensor grain, which rasterizes each page into an optimized image. If your PDF has digital selectable text that must stay searchable, use our vector-preserving Reduce PDF Size tool on /pdf instead.

Should I choose Clean Grayscale, High-Contrast B&W, or Original Color?

Use Clean Grayscale (default) for general invoices, receipts, and forms with subtle shading or light pencil marks. Switch to High-Contrast B&W when you want maximum size reduction and razor-sharp black ink on pure white paper, or pick Original Color to keep red/blue rubber stamps and highlights while whitening shadows.

What DPI setting is best for scanned PDFs?

For email attachments and standard portal uploads, 120 DPI at JPEG quality 64–72 balances readability and compact file size. Drop to 100 DPI or 72 DPI for ultra-tight 300 KB–500 KB limits, or choose 150 DPI for dense small-print contracts and legal scans.

Does this work on password-protected or digitally signed PDFs?

Password-protected PDFs must be unlocked in a local PDF viewer first before pages can be rendered. Digitally signed PDFs should not be re-encoded if cryptographic signature validation is required, because rebuilding PDF pages invalidates digital signature seals.