Free Online Compress PDF Tool
A compress PDF tool re-saves a document with compact object streams and stripped metadata to reduce its file size, showing the before and after.
Your data is processed entirely in your browser and never sent to any server.
Lossless: this re-writes the file with compact object streams and strips metadata. It does not re-encode images, so quality is unchanged. Already optimized PDFs may not shrink.
How to Use This Tool
- Upload the PDF you want to shrink.
- Click Compress PDF to re-write it with object streams and stripped metadata.
- Compare the original, compressed and saved figures shown.
- Download the compressed file if it is smaller than the original.
What Is a Compress PDF?
PDF files can be larger than they need to be: loose internal structure, duplicated objects, and bulky metadata all add bytes. The PDF standard (ISO 32000) supports object streams and cross-reference streams, a compact way of packing many small objects together, plus Flate (zlib) compression on content. Re-writing a file with these features turned on can recover meaningful space.
This tool loads your PDF with pdf-lib and saves it again with object streams enabled, while clearing document metadata such as title, author and producer strings. The process is lossless: it does not re-encode images, so photos and graphics keep their exact quality. That makes it safe for documents where fidelity matters, though it means heavily image-based scans may shrink little, since their bulk is in the images themselves.
The tool reports the original size, the compressed size and the percentage saved so you can judge the result. An already-optimised PDF may not get smaller — and that is expected. Everything runs locally; your file is never uploaded.
Frequently Asked Questions
How much smaller will my PDF get?
Does it reduce image quality?
Why did my file not get smaller?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related PDF Tools
Combine multiple PDF files into one document, in the order you choose. Runs entirely in your browser.
Extract a page range from a PDF or save every page as its own file. 100% client-side.
Turn one or more JPG or PNG images into a single PDF, one image per page. Fully client-side.
Turn PDF pages 90, 180 or 270 degrees — all pages or a chosen range. Saved as a fresh file.
Delete a range of pages from a PDF and download what remains. Nothing is uploaded.