Compress a PDF
Compress a PDF by re-encoding each page as a JPEG at the resolution and quality you pick. The size produced is shown next to it.
What Compress a PDF does
Rebuilds each page as a JPEG at the resolution and quality you choose, then assembles a new PDF at the original page size. That is what makes a scanned document smaller: its text is a picture either way, so re-encoding it costs nothing that was not already lost. The trade is real — a low quality setting makes small print harder to read — and the size produced is shown next to the file.
How to use it
Compress a PDF: choose a PDF file from the file picker and press Run, after setting JPEG quality (1-100), default 70, Resolution (dpi), default 110 and Grayscale (default "no") to get the compressed PDF below.
Why it runs in your browser
The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
Rebuilds each page as a JPEG at the resolution and quality you choose, then assembles a new PDF at the original page size. That is what makes a scanned document smaller: its text is a picture either way, so re-encoding it costs nothing that was not already lost. The trade is real — a low quality setting makes small print harder to read — and the size produced is shown next to the file.
Compress a PDF by re-encoding each page as a JPEG at the resolution and quality you pick. The size produced is shown next to it.
How to use it
Compress a PDF: choose a PDF file from the file picker and press Run, after setting JPEG quality (1-100), default 70, Resolution (dpi), default 110 and Grayscale (default "no") to get the compressed PDF below.
Why it runs in your browser
The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
What to Expect
Best for
- Converting PDF file to compressed PDF when the data is already on screen.
What this tool keeps
- That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
Frequently asked questions
How do I use the compress a pdf?
Compress a PDF: choose a PDF file from the file picker and press Run, after setting JPEG quality (1-100), default 70, Resolution (dpi), default 110 and Grayscale (default "no") to get the compressed PDF below.
Is my input uploaded?
No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.
Is there a size limit?
Yes. A page operation accepts up to 25 MB and 200 pages, and the two tools that have to draw every page accept up to 50 pages. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.
Related guides
Longer reads from this tool's cluster, plus one from a neighbouring tool.
- Beginner's guide Compress a PDF: A Beginner's Guide What compressing a PDF in this tool actually changes, how to run it on a scanned document, and how to check the result before you email it.
- FAQ and checklist Compress a PDF: FAQ and Pre-Flight Checklist Straight answers about text layers, size limits, resolution and quality, plus the eight checks worth doing before you send a compressed PDF.
- Best settings Compress a PDF: Best Settings by Job Starting points for quality and resolution by destination — email, print, archive, upload form — and the order to change them in when the file is still too big.
- Beginner's guide Merge PDF Files: A Beginner's Guide How merging PDFs here keeps text, links and form fields intact, why the file picker's order is the merge order, and how to check the joined document.