Skip to main content

DigitalCalculators.net

PDF Compressor

Last updated By the DigitalCalculators.net team Free, no sign-up

Make a PDF smaller for email and uploads. Pick a compression level, and the file is shrunk in your browser without being uploaded.

🔒 Your files stay on this device. Nothing is uploaded.

Results

ItemValue
Each page is redrawn as a compressed JPEG image with pdf.js and rebuilt into a new PDF with pdf-lib, both open-source and running in your browser. This shrinks scans and photo-heavy PDFs a lot, but text in the new file is part of an image, so it can no longer be selected or searched. Keep your original file.

Quick Answer

Choose a PDF, pick Light, Medium or Strong, and press Compress PDF. Scans and photo-heavy PDFs often shrink by 50 to 90%. The tool shows the size before and after, and offers the smaller file to download. Text in the compressed file becomes part of an image, so keep the original if you need to search or copy text.

Last updated: 18 November 2026 ·How we calculate this: how compression works

How This PDF Compressor Works

PDFs made from scans and phone photos are often huge: 10 or 20 MB for a few pages, which is too big for many email services and upload forms. Most of that size is high-resolution images. This compressor redraws every page at a sensible resolution and saves it as a compressed JPEG, which usually makes the file many times smaller while it still looks clear on screen and in print.

Features:

  • Private: your PDF is compressed on your device, never uploaded.
  • Three levels: Light (150 dpi), Medium (110 dpi) and Strong (75 dpi).
  • Black and white option for documents that don't need color.
  • Before and after sizes, and a warning if the file would not get smaller.

How to Use the PDF Compressor

  1. Choose a PDF file.
  2. Pick Light, Medium or Strong compression.
  3. Choose color or black and white.
  4. Press Compress PDF and wait while each page is processed.
  5. Check the new size and press Download.

How Compression Works

  • Render: each page is drawn onto a canvas with pdf.js at the chosen resolution. PDF pages are measured in points (72 per inch), so 110 dpi means the page is drawn at 110 ÷ 72 ≈ 1.53 times its point size.
  • Encode: the canvas is saved as a JPEG at 80%, 65% or 50% quality.
  • Rebuild: pdf-lib puts each JPEG on a page of the same size as the original.
  • Pixels per page: a US Letter page (8.5 × 11 in) at 110 dpi is 935 × 1,210 pixels, about 1.1 million pixels; at 75 dpi it is 638 × 825, about 0.5 million.
  • Trade-off: text and vector drawings become part of the image, so they can't be selected or searched afterwards.

Key Terms

  • DPI: dots (pixels) per inch; more dpi means sharper and bigger.
  • JPEG quality: how strongly the image is compressed; lower is smaller.
  • Rasterize: turn a page into an image.

Worked Example

You scanned a 6-page lease on your phone, and the PDF is 14.2 MB, too big for an online form with a 5 MB limit.

  • Choose Medium (110 dpi, quality 65%).
  • Each page becomes about 1.1 million pixels; a JPEG of a text page at that size is often 150 to 300 KB.
  • 6 pages × about 250 KB ≈ 1.5 MB, roughly 90% smaller and well under the 5 MB limit.
  • The real result depends on your pages; the tool shows the exact size before you download.

Real-Life Examples

  • Email: a 14 MB scanned contract becomes about 1.5 MB, under a 20 to 25 MB attachment limit with room to spare.
  • Job portal: a 6 MB CV scan fits a 2 MB upload limit at Strong.
  • School homework: 10 phone photos in one PDF drop from 30 MB to about 3 MB.
  • Visa or bank forms: black and white scans of ID pages, small and clear.

Image Compression vs Lossless Optimizing

  • This tool (image-based): big savings on scans and photos; text becomes an image.
  • Lossless optimizing: keeps text searchable but saves little on scanned files.
  • Best practice: compress copies you send; keep the original for your records.

Compression Levels

LevelResolutionJPEG qualityGood for
Light150 dpi80%Printing, small print
Medium110 dpi65%Most scans and email
Strong75 dpi50%Smallest file, screen only

Choosing a Level

  • Light: for documents you may print, or with small print and fine drawings.
  • Medium: best for most scans, forms and letters on screen and email.
  • Strong: for the smallest file when you only need it to be readable.
  • Black and white: saves more space on text-only scans.
  • Text-based PDFs (made from Word or a website) are usually small already and may not shrink; the tool tells you and you can keep the original.

Common Mistakes to Avoid

  • Deleting the original. Text can't be searched in the compressed copy.
  • Strong on fine print. Very small text can blur; use Light or Medium.
  • Compressing text-only PDFs. They are usually small already.
  • Locked PDFs. Unlock password-protected files first.
  • Compressing twice. Each pass loses more detail; start from the original.

Frequently Asked Questions

Choose the file, pick a level, press Compress PDF, then download the smaller file.

No. It is compressed in your browser.

Scans and photo PDFs often shrink 50 to 90%. Text-only PDFs may not shrink.

No. Pages become images, so keep the original if you need to search.

Medium for most files; Light for printing; Strong for the smallest size.

Yes, with no sign-up or watermark.

Yes, though long PDFs take longer on phones.

Your PDF is already compact, usually because it is mostly text. Keep the original.

Yes. Use Light for the best print quality.

Yes, especially on scans of text.

No fixed limit, but very long PDFs need more time and memory.

No. The new pages are images, so links and form fields are removed.

Each page is redrawn and compressed on your device.

Unlock it first.

References & Sources

SourceUsed ForLink
pdf.js (Mozilla) The open-source library that renders PDF pages in the browser. https://mozilla.github.io/pdf.js/
pdf-lib documentation The open-source library used to build the compressed PDF. https://pdf-lib.js.org/
ISO 32000-2:2020, Document management: Portable document format The PDF standard, including the 72 points per inch page unit. https://www.iso.org/standard/75839.html

Cite or share this calculator

DigitalCalculators.net. (2026, November 18). PDF Compressor. https://digitalcalculators.net/pdf-compressor/