Compress PDF — privately, keeping text sharp
Shrink a PDF's file size — or several at once — by recompressing the images inside, while selectable text and vector drawings stay sharp. Everything runs on your device, so your files are never uploaded. No account, no per-day limits.
Runs entirely in your browser — nothing is uploaded
No PDF handy? — a synthetic site report, nothing uploaded.
How it works
Most "heavy" PDFs are big because of the photos or scanned pages inside them. This tool finds those embedded images, resizes and re-encodes them on your device, and writes them back into the PDF — leaving the text, vector linework, and page sizes untouched. It never rasterizes pages, so drawings stay crisp and text stays selectable.
Why your file stays private
- Compression runs in your browser — pdf-lib for the structure, your browser's image codecs for the pictures. No server, no upload, no account.
- You can verify it: load this page, turn off your Wi-Fi, and it still works — your drawings never reach a third party.
- Pages are never flattened to images, so text stays selectable and vector lines stay sharp.
Honest limits
- The savings come from images — a text/vector-only PDF is already small and won't shrink much.
- Output size is measured; if the file wouldn't get smaller, the original is kept and labelled as such.
- Some images are kept exactly as-is and disclosed: CMYK/indexed colour, JPEG2000/JBIG2/CCITT encodings, and transparent images.
- Password-protected (encrypted) PDFs must be unlocked first.
- The compressed file is a rebuilt copy, so it won't carry digital signatures — your original is never changed.
Frequently asked questions
Is my PDF uploaded to compress it?
No. The compression runs entirely in your browser — pdf-lib handles the PDF structure and your browser's image codecs recompress the pictures. The file is never sent to a server.
Does it keep text selectable and drawings sharp?
Yes. It recompresses the raster images inside the PDF in place and leaves everything else alone, so selectable text, vector linework, and page sizes are preserved. Pages are never flattened to images.
How much smaller will my PDF get?
It depends on the file. The big wins are on image- or scan-heavy PDFs, where photos dominate the size — they often shrink by well over half. A PDF that's mostly text and vectors is already small, so there's little to gain.
Why didn't my PDF get smaller?
If its images are already optimized, or they use formats this tool skips, there's nothing to shrink — so the original is kept and labelled as such rather than handing you a same-size 'compressed' file.
Are there image types it won't touch?
Yes, and they're kept exactly as-is and disclosed: CMYK or indexed-colour images, JPEG2000/JBIG2/CCITT (fax) encodings, and images with transparency. Standard RGB/greyscale JPEG and PNG-style (Flate) photos are recompressed; flat graphics and screenshots are detected automatically and kept lossless, so they're never blurred.
Do I need an account?
No account, no signup, and no per-day limits. Each PDF can be up to 200 MB, since it's recompressed in your browser. Just open the page and compress.
Related reading: How to compress a PDF without uploading it (keep text sharp)
Related tasks
Each tool runs on its own, so you'll add your files again in the next one — nothing is uploaded or shared between them.