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.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- PDF Compressor
- Quick Answer
- Related Calculators
- How This PDF Compressor Works
- How to Use the PDF Compressor
- How Compression Works
- Key Terms
- Worked Example
- Real-Life Examples
- Image Compression vs Lossless Optimizing
- Compression Levels
- Choosing a Level
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
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
- Choose a PDF file.
- Pick Light, Medium or Strong compression.
- Choose color or black and white.
- Press Compress PDF and wait while each page is processed.
- 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
| Level | Resolution | JPEG quality | Good for |
|---|---|---|---|
| Light | 150 dpi | 80% | Printing, small print |
| Medium | 110 dpi | 65% | Most scans and email |
| Strong | 75 dpi | 50% | 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
| Source | Used For | Link |
|---|---|---|
| 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 |