Compress PDF
Select a PDF and shrink its file size โ processed right in your browser, nothing uploaded.
How to use
- 1Choose or drag and drop a PDF file.
- 2Pick a method: "Optimize images" (text stays sharp and selectable) or "Convert pages to images" (smallest files, good for scans).
- 3Pick a level โ Light, Recommended or Strong โ and click "Compress PDF".
- 4Compare the sizes before and after, preview the result, then click "Download PDF".
Supported formats and limits
- "Optimize images" recompresses the photos inside the PDF: JPEG images are re-encoded, and photos stored uncompressed or with lossless compression (common in PDFs printed from a browser or exported from Word) are converted to JPEG. Drawings, screenshots and logos with few colours stay as they are so they don't get blurry; text and vector graphics are never touched.
- A JPEG image is replaced only if the new version is at least 5% smaller; an uncompressed or losslessly compressed image is converted only if the JPEG is at least 20% smaller. Transparent areas are kept.
- Image levels: Light (85% quality, longest side up to 3200 px), Recommended (70%, 2000 px), Strong (50%, 1400 px).
- "Convert pages to images" redraws each page as one JPEG at 150, 110 or 80 DPI for the three levels. Text in the result can no longer be selected or searched, and links are lost.
- If the compressed file would not be smaller, the tool tells you instead of producing a new file.
- Password-protected PDFs cannot be compressed.
Privacy
Compression runs entirely in your browser (pdf.js to read pages, pdf-lib to write the file, canvas to encode images). Your file never leaves your device.
Frequently asked questions
Why didn't my file get smaller?
PDFs that are mostly text or already optimized have little left to shrink. Try the Strong level, or "Convert pages to images" if you don't need selectable text.
Which method should I use?
For text documents with photos, use "Optimize images" to keep text sharp. For scans (where every page is already an image), "Convert pages to images" usually gives the smallest file.
Will compression blur the text?
Not with "Optimize images", since text isn't touched. With "Convert pages to images", the Strong level (80 DPI) can make small text slightly soft when zoomed โ use Light if you plan to print.
Is there a file size limit?
No fixed limit; more pages and images simply take more memory and time on your device.
Everything runs right in your browser โ files are never uploaded to any server.