8 min read · updated August 2, 2026
Compress PDF files the right way: a practical guide
PDF Compressor
Reduce PDF file size — free, no signup
If you need to compress a PDF, the single most effective lever is reducing the resolution and compression quality of the images inside it, because images are what make PDFs heavy. A 40-page contract that exists as real text rarely passes 1 MB, while the same contract scanned in color on an office copier can reach 60 MB without trying. Nearly every stuck upload and bounced attachment traces back to that difference.
The catch is that compression is a trade. Push too hard and a crisp scan becomes a smeared gray mess that a paralegal or a visa officer will bounce back to you. Push too gently and you are still 4 MB over the limit after three attempts. Knowing what happens under the hood lets you pick the right setting on the first try.
This guide walks through why PDFs balloon in the first place, how lossy and lossless compression differ, how to work backwards from a hard size limit, and the situations where compressing is the wrong move entirely.
What is actually taking up the space
Text in a PDF is remarkably cheap. A page of body text is stored as drawing instructions plus references into an embedded font, and it typically costs a few kilobytes. The full text of a novel fits in the space one photograph occupies. So when a PDF weighs tens of megabytes, the weight is almost never the words.
Scans are the classic offender. A scanner does not produce text; it produces a full-page photograph of text. At 300 DPI, a Letter-size page becomes a 2550 by 3300 pixel image, roughly 25 MB uncompressed in color. JPEG encoding brings that down to 1 to 3 MB per page, which still means a 30-page scan lands anywhere from 30 to 90 MB. Office copiers left on their 600 DPI color default make it four times worse.
Digitally created files have their own bloat patterns. Design tools often embed photographs at full original resolution even when the layout displays them at thumbnail size, and Word documents converted to PDF carry every pasted image at whatever resolution it arrived in. PDFs that have been edited repeatedly can also accumulate dead objects from incremental saves, plus fully embedded fonts where a small subset would do.
- Scanned pages stored as full-page color images, often at 300 to 600 DPI
- Photographs embedded at far higher resolution than their display size
- Fully embedded fonts, which matter most with large CJK typefaces
- Leftover objects from repeated edits and incremental saves
- Duplicate resources, common in files assembled by merging
Lossy versus lossless: what a compressor actually does
PDF compression works on two layers, and the distinction decides how much quality you give up. The lossless layer restructures the file without changing a single pixel: it re-deflates content streams, removes objects nothing references, deduplicates repeated resources, and subsets fonts so only the glyphs actually used ship with the file. This costs nothing visually, but the gains are usually modest, on the order of 5 to 20 percent.
The lossy layer is where files shrink by 70 to 90 percent, and it operates on images in two ways. Downsampling reduces resolution: cutting a 300 DPI scan to 150 DPI quarters the pixel count, because resolution scales in both dimensions at once. Recompression then re-encodes those pixels with stronger JPEG settings, which discard the fine detail the eye is least likely to miss.
JPEG specifically works on 8 by 8 pixel blocks and throws away high-frequency information, which is a technical way of saying it softens sharp transitions. Photographs survive this gracefully. Scanned text does not, because every letter edge is a sharp transition; over-compressed scans grow the familiar halo of ringing artifacts around each character. This is why careful compression treats pure black-and-white scans differently, using bilevel schemes such as CCITT G4 or JBIG2 that are built for text and line art rather than photos.
One reassurance: none of this touches real text. If your PDF contains actual selectable text rather than pictures of text, compression leaves it fully searchable and copyable. Only the image data gets renegotiated.
Working backwards from a hard limit
Compression settings make more sense when you start from the ceiling you need to fit under. Gmail caps attachments at 25 MB and Outlook at 20 MB. Job application portals commonly enforce 2 to 10 MB per file. Government and immigration portals are the strictest, with per-document limits of 1 to 4 MB being routine.
Divide the limit by the page count to get a per-page budget. A 20-page scan that must fit under 4 MB gives you 200 KB per page, which is comfortable at 150 DPI with medium JPEG quality. A 100-page bundle under the same limit gives you 40 KB per page, which means aggressive settings, grayscale conversion, or splitting the file into parts.
As a default, pick the lightest compression that clears your limit. A high-quality setting, roughly 150 DPI with gentle JPEG, suits anything a person will read carefully or print, such as contracts and reports. Maximum compression, 100 DPI or lower with strong JPEG, is for reference copies where on-screen legibility is enough. And always compress from the original file rather than an already-compressed copy; each lossy pass compounds artifacts the way a photocopy of a photocopy degrades.
Scenarios that come up constantly
A handful of situations cover most of the compression jobs people actually run, and each has its own target worth knowing in advance.
- Emailing a signed lease or contract: office scanners default to high-DPI color, so a 15-page lease can exceed the 25 MB Gmail cap on its own. A balanced setting typically lands it under 5 MB with no visible loss at reading size.
- Uploading supporting documents for a visa application: portals often cap each file at 2 to 4 MB. Budget per page, and convert color scans of black-and-white originals to grayscale first when the option exists.
- Submitting a thesis or paper: repositories may cap uploads at 10 to 20 MB, and the figures are usually the weight. Moderate compression keeps charts legible while cutting embedded photos down to size.
- Court e-filing: systems commonly cap files around 25 to 50 MB, and exhibits are frequently scans. Compress the filing copy, but keep an untouched archive copy of anything evidentiary.
- Publishing a PDF on a website: a 2 MB report downloads ten times faster than a 20 MB one on a weak connection, so aim well below any technical limit.
When compressing is the wrong move
Sometimes the better answer is not a compressor. If the PDF was exported from Word, PowerPoint, or InDesign and came out huge, re-export it with image downsampling enabled in the export dialog. The exporter can resample from the original assets, which produces a cleaner result than recompressing the bloated output after the fact.
If the file is a long scan and the limit is tiny, split it into logical parts instead of crushing quality. Two 3 MB files that stay legible beat one 5 MB file that does not, and most portals accept multiple uploads.
And when the images are the point, think twice about lossy compression at all. Blueprints, radiology images, photographic evidence, and print-ready artwork lose exactly the detail they exist to carry. Share those through a file link or a large-transfer service, and keep the original untouched.
Common questions
PDF Compressor FAQs
- How do I compress a PDF to under 1 MB?
- Divide 1 MB by your page count to see what you are asking for; under about 10 pages it is very achievable with strong compression, and beyond that you will need aggressive downsampling or grayscale conversion. Choose the maximum compression setting, and if the result is still over the limit, split the document or rescan at a lower resolution. Pure text PDFs are usually under 1 MB before any compression at all.
- Does compressing a PDF reduce quality?
- Lossless optimization does not change how the file looks, but the large size reductions come from lossy image compression, which does trade away detail. At sensible settings the loss is invisible at normal reading size. Text that exists as real text rather than a scan is never degraded; only images are re-encoded.
- Why is my scanned PDF so large?
- A scanner stores each page as a full-page photograph, not as text. At 300 DPI a color Letter-size page is a 2550 by 3300 pixel image that costs 1 to 3 MB even after JPEG encoding, so page counts multiply quickly. Rescanning in grayscale or black-and-white, or compressing afterward, brings the size down dramatically.
- What is the best way to compress a PDF for email?
- Aim comfortably under the provider cap, which is 25 MB for Gmail and 20 MB for Outlook, and remember that email encoding adds roughly a third on top of the file size on disk. A balanced compression level usually gets a scanned document under 5 MB while keeping it easy to read. If it is still too large, split the file or send a download link instead.
- Can I compress a PDF multiple times?
- You can, but the second pass gains little and costs quality. Lossy image compression is generational: each pass re-encodes already-degraded pixels, compounding artifacts the way repeated photocopying does. If the first result is too large, go back to the original file and compress once with stronger settings.
- Does PDF compression affect text searchability?
- No. Compression re-encodes images but leaves text objects, fonts, and document structure intact, so search, selection, and copy behave exactly as before. The exception is scanned PDFs, which were never searchable to begin with because their pages are pictures; compression does not change that either way.
Once you know that images carry nearly all of a PDF's weight, compression stops being a slot machine. Identify what kind of file you have, budget per page against your limit, pick the lightest setting that clears it, and always work from the original.
When you have a file that needs to shrink right now, the ToolDoor PDF Compressor is free to use with no signup: upload the PDF in your browser and it applies the lossless pass described above — restructuring the file and stripping unused objects — so you download a smaller copy with text and searchability fully intact.
Nearby doors