How to Compress a PDF Without Uploading It (Keep Text Sharp)
You need to email or submit a PDF, but it’s too big — and the quickest fix, a free online compressor, means uploading the whole file to someone else’s server. Worse, some of those tools “compress” by flattening every page to an image, which blurs line work and makes the text un-selectable. Here’s how PDF size actually works, and how to shrink one safely — in your browser, nothing uploaded.
The short answer
Almost all of a heavy PDF’s size is its embedded images (scanned pages, photos, raster backgrounds). The safe way to shrink it is to recompress just those images — resize and re-encode them — while leaving the text and vector linework untouched. That typically cuts 50–90% off an image-heavy PDF with no visible quality loss, and it can all happen on your own device.
What makes a PDF big
- Raster images — the photos and scanned pages inside the file. These dominate the size of almost every “too big” PDF.
- Text and vectors — headings, body text, and CAD-style linework are stored as instructions, not pixels, so they’re tiny. A text/vector-only PDF is already small; there’s little to compress.
So “compressing a PDF” really means “shrinking the images inside it.”
The trap: don’t let a tool rasterize your pages
Some compressors (and some print-to-PDF “reduce size” options) shrink files by re-rendering each page to a single flat image. It works, but it’s destructive:
- Text stops being selectable or searchable — it’s now pixels.
- Vector lines blur — bad for drawings, plans, and anything with fine detail.
- File size can swing wildly depending on the chosen resolution.
For a drawing set or anything you might need to search or mark up, that’s the wrong trade. Recompressing the images only keeps everything else intact.
Don’t upload it to shrink it
You don’t need to send a PDF to a server to compress it. Our PDF compressor does the whole thing in your browser: pdf-lib handles the structure and your browser’s image codecs recompress the pictures, all on your device. You can prove it — load the page, turn off your Wi-Fi, and it still works. Nothing is uploaded, there’s no account, and there’s no per-day limit (PDFs up to 200 MB each).
It also never rasterizes pages: it finds the embedded raster images, resizes and re-encodes them, and writes them back — so selectable text, vector linework, and page sizes come through unchanged.
How to do it
- Open the PDF compressor and drop in your PDF.
- Pick a level — Smaller for email/review, Balanced, or Keep quality.
- Compress, then download. It shows the real before/after size, and if the file wouldn’t actually get smaller it keeps the original and tells you.
A few honest limits: the savings come from images, so a text-only PDF won’t shrink much; some image types are left exactly as-is and disclosed (CMYK/indexed colour, JPEG2000/JBIG2/CCITT encodings, transparency); and password-protected PDFs must be unlocked first.