How to Reduce PDF File Size (and What Actually Works)
Why PDFs get big, what browser-based compression can and cannot do, and practical fixes for email and upload limits: splitting, removing pages and better scans.
What makes a PDF big
A PDF is a container. Text is stored as character codes plus a reference to a font, which is extremely compact — a hundred pages of plain text can easily fit in a few hundred kilobytes. File size comes from the other things inside the container:
- Scanned pages. A scanner or phone scanning app produces a PDF where each page is a photograph of paper. There is no text at all (unless OCR was added), just one large image per page.
- Embedded photos and graphics. A brochure or report with full-resolution photos placed on the page carries every one of those pixels, even if the photo is shown at thumbnail size.
- Embedded fonts. PDFs usually embed the fonts they use so the document looks the same everywhere. Fonts are normally subset (only the characters used), but large fonts — especially for Chinese, Japanese or Korean — can still add noticeable weight.
- Duplicated resources. Merging many PDFs can embed the same font or logo several times, once per source file.
- Extras. Attachments, embedded colour profiles, form data, edit history from incremental saves and, occasionally, previews for every page.
To get a feel for scale, consider one A4 page scanned at 300 dpi in colour: that is 2480 × 3508 pixels, or about 26 MB of raw pixel data before compression. Greyscale is a third of that (about 8.7 MB) and pure black-and-white is about 1.1 MB. Scanning software compresses these heavily, but the starting point explains why a 20-page colour scan can be tens of megabytes.
How Toolywise compresses a PDF
The Compress PDF tool runs entirely in your browser, and it is worth knowing exactly what it does, because it determines when it helps. For each page, it uses Mozilla’s PDF.js library to render the page onto a canvas on a white background at a chosen resolution, encodes that canvas as a JPEG at a chosen quality, and then uses the pdf-lib library to build a new PDF in which each page is that JPEG, placed at the page’s original physical size.
| Level | Render resolution | JPEG quality | An A4 page becomes about |
|---|---|---|---|
| Strong | 72 dpi | 0.50 | 595 × 842 px |
| Recommended | 110 dpi | 0.65 | 910 × 1286 px |
| Light | 150 dpi | 0.80 | 1241 × 1754 px |
This approach is a form of rasterisation. Its strength is that it shrinks anything: scans made at 300 or 600 dpi, documents stuffed with oversized photos, or PDFs with complicated vector artwork all come out as one modest image per page. Its costs are equally clear:
- Text becomes part of the picture, so it can no longer be selected, copied or searched, and screen readers cannot read it.
- Links, bookmarks, form fields and other interactive features do not survive.
- Fine print and thin lines can soften, especially at the Strong level. A 6-point footnote is legible at 150 dpi but can blur at 72 dpi.
- Pages with transparent backgrounds come out on white.
When the output would not be meaningfully smaller (less than about a 2% saving), the tool tells you so rather than handing you a worse file. That typically happens with text-only PDFs exported from a word processor: their text was already compact, and replacing it with images adds weight.
What browser-side compression does not do: it does not re-compress the images inside a PDF while leaving the text intact, remove unused fonts, or strip metadata selectively. Desktop tools such as Adobe Acrobat’s optimiser or Ghostscript can do that kind of object-level optimisation. For scans and image-heavy files, rasterising usually gets you a similar or smaller result anyway; for mixed documents where searchable text matters, a desktop optimiser is the better tool.
Choosing a level
Start with Recommended. At 110 dpi, normal body text (10–12 point) stays crisp on screen and prints acceptably on an office printer. Zoom to 100% on the smallest text in the result before sending it anywhere important.
Use Strong when you must get under a hard limit and the content is large type, photos or a form you have filled in by hand. Check signatures, stamps and handwriting carefully — they are often the thinnest strokes on the page.
Use Light for documents with small print, detailed diagrams, maps or anything that may be printed. If Light is still too big, you are probably better off removing pages than dropping to Strong.
Getting under email and upload limits
Limits vary by service and change over time. At the time of writing Gmail allows attachments up to 25 MB per message before switching to a Drive link, and many job portals, visa and government forms set much lower caps, often a few megabytes per file. Two less obvious points help:
- Email attachments grow in transit. Attachments are encoded as text (base64), which inflates them by about a third. A 20 MB PDF takes up roughly 27 MB of message size, so aim comfortably below the stated limit.
- Some forms count the total, not each file. If you upload five documents to a portal with a 10 MB total cap, each needs to average under 2 MB.
A practical order of attack, from least to most destructive:
- Drop pages you do not need. Blank backs of scanned pages, cover sheets, terms and conditions you were not asked for. The Delete PDF Pages tool removes them without touching anything else, so the remaining pages keep their original quality and selectable text.
- Split the document. If the recipient needs everything but each file has a cap, use Split PDF to send it in parts — for example “1-12” and “13-24”. Splitting copies pages exactly, with no quality loss.
- Compress. Run the compressor on what is left, starting at Recommended.
- Combine approaches. Compress only the image-heavy part (say, the scanned appendices) and keep the text part as it was, then merge them back together with Merge PDF.
If a form asks for an image rather than a PDF — some portals want a single JPG of an ID or certificate — export the relevant page with PDF to JPG. At 150 dpi, a single A4 page is usually a few hundred kilobytes as a JPEG.
Fix it at the source: scanning settings
The most effective compression is not creating an oversized file in the first place. Most scanners and phone scanning apps default to settings that are generous for documents.
| Document | Colour mode | Resolution | Why |
|---|---|---|---|
| Typed letters, contracts, forms | Black & white or greyscale | 200–300 dpi | Text stays sharp; black & white is by far the smallest |
| Documents with stamps, signatures or highlighter | Greyscale or colour | 200–300 dpi | Colour only if the colour carries meaning |
| IDs, certificates, photos | Colour | 300 dpi | Fine detail and colour matter; scan only the item, not the whole glass |
| Anything you will OCR | Greyscale | 300 dpi | OCR engines generally work best around 300 dpi |
Going from 600 dpi to 300 dpi cuts the pixel count to a quarter; going from colour to greyscale cuts the raw data to a third. Combined, that is roughly a twelve-fold reduction before any compression is applied. Also crop to the paper: a receipt scanned on a full A4 bed wastes most of the file on empty white glass.
If you photograph documents with your phone and convert them using Image to PDF, resize the photos first. A 12-megapixel photo is far more than an A4 page needs: about 1750 pixels on the long edge already gives 150 dpi on A4, and 2500 pixels gives a little over 210 dpi.
When compression is the wrong answer
Keep the original, uncompressed file whenever any of these apply:
- The recipient needs to search, copy or edit text (for example, a contract they will mark up, or a CV parsed by an applicant tracking system).
- The document must be accessible to people using screen readers.
- It has fillable form fields or a digital signature — rasterising removes both, and changing a signed PDF in any way invalidates the signature.
- It is an archival record. Compress a copy for sending; never overwrite the master.
In those cases, share through a link (most email providers and cloud drives offer one), ask whether the recipient can accept a larger file, or remove pages rather than compressing them.
Sources
Results are estimates for planning and education, not tax, legal, financial or medical advice. Check important decisions with a qualified professional.