Compress PDF
Reduce PDF file size by optimizing eligible embedded images while keeping text selectable.
Runs on your device. Nothing you add is uploaded.
Choose filesor drop them here, or pastePDF ยท stays on your device
%
px
Add files first
Your result shows here once you add files. Nothing leaves your device.
How to use Compress PDF
- Choose one or more PDFs.
- Adjust image quality and maximum image size.
- Compress the PDFs and compare the original and new file sizes.
Questions
Why did the size stay the same?
The original is returned when the compressed copy would be the same size or larger. Text-only and already optimized PDFs may shrink very little.
Does compression change how pages look?
Eligible images may lose detail at lower quality or resolution. Text and vector artwork are preserved.
Are my PDFs uploaded?
Files are read on your device. Their contents never leave your browser.
How this works
pdf-lib rewrites the PDF and MozJPEG re-encodes eligible embedded images in a browser worker.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in PDFSplit PDF
Split a PDF into separate files using page ranges or a fixed number of pages.
PDF to JPG
Turn PDF pages into JPG images at the resolution you choose.
Merge PDFs
Combine PDFs into one document in the order you choose.
Delete pages from PDF
Remove selected pages and save the remaining pages in their original order.