Compress a PDF without uploading it
The default mode re-encodes the JPEG images inside the document and leaves every other object alone. A second mode rebuilds each page as an image — bigger medicine, for scans that contain nothing but photographs.
- Files never leave your device
- No account, no queue
- Works offline
- No upload step
Only the JPEG images inside are re-encoded; text, vectors and links are untouched. Images in CMYK or with transparency masks are skipped rather than risk a colour shift.
Drop a PDF to shrink
Recompresses the images inside, so text stays selectable. Nothing is uploaded.
Choose filesHow it works
- 1
Drop the PDF
The file is parsed in this tab. Nothing is uploaded, and the original is never modified.
- 2
Pick a level
Balanced caps images at 1600 px and quality 75 — roughly 150 dpi on A4. Light keeps more detail for printing; Strong squeezes harder.
- 3
Download the smaller file
The result line reports how many images were recompressed, how many were skipped, and whether the file actually got smaller.
Frequently asked questions
Will my text still be selectable?
Yes, in the default “Keep text” mode. Only the JPEG images inside the file are re-encoded; text, vectors and links are untouched, so search and copy still work. The “Images only” mode rebuilds each page as a picture — that is the mode that loses text, and the page warns before you run it.
How much smaller does it get?
On a scanned document, usually 50–80%, because the page images are the whole file. On a text PDF with a few photos, 10–40%. On a document with no recompressible images, nothing changes — and the result says so instead of pretending.
Which images are skipped?
CMYK images, images with a transparency mask, 1-bit stencils, and anything not encoded as JPEG. Decoding those in a browser either fails or shifts colours, so they are left exactly as they were. If every image in a file is skipped, the result says that plainly.
Does the “Images only” mode help more?
Sometimes, and it costs text. Rasterising re-encodes every page whether it needed it or not, so a file whose images are already modest can come out larger — a four-page test file went from 0.69 MB to 2.14 MB at Light. Use it for pure scans, where the page is a photograph anyway.
Does it keep the page size?
In “Keep text” mode the original page objects are kept as they are, so geometry is unchanged. In “Images only” mode each page is created at the original size in points, so printing and pagination still line up.
Is my document uploaded?
No. Everything happens in this tab: pdf.js renders only what the preview needs, and pdf-lib writes the result locally. There is no upload endpoint.
Further reading
Other tools
Merge PDFs
Combine several PDFs into one, in the order you choose. Pages are copied at the object level, so nothing is recompressed.
Split a PDF
Extract every page into its own file, or pull out ranges like 1-3, 5, 8-10. Multiple results arrive as a ZIP.
JPG to PDF
Turn JPG, PNG, WebP or AVIF images into one PDF, one image per page, with A4 or fit-to-image sizing.