Compress PDF
Try lossless browser-side PDF optimization and see the actual size change.
What this tool does
Your PDF is parsed and re-serialized with object streams entirely in your browser. This is lossless: images are not recompressed or downscaled, and pages are not rasterized. Whether that produces a smaller file depends on how the PDF was built.
Optimization Results
Every number below is measured from the original file and the rebuilt PDF.
Original size
No file
Upload a PDF first.
Optimized size
Not ready
Shown after the PDF has been rebuilt.
Size saved
Not ready
Original size minus the actual generated size.
Reduction
Not ready
Measured, not estimated.
File validation
Checks file type and size before processing so unsupported files fail early.
Measured results
Savings come from the real generated bytes. If nothing smaller is produced, the tool says so.
Runs in your browser
The PDF is read and rebuilt locally. No file is uploaded and no server processing step is used.
Optimization Insights
What Lossless PDF Optimization Can and Cannot Do
It can
Rebuild the document so objects are packed into object streams.
Drop unreferenced objects left behind by earlier edits and incremental saves.
Clear the standard document information fields when you enable that option.
It cannot
Recompress, downscale, or re-encode the images inside your PDF.
Subset or strip embedded fonts.
Open encrypted or password-protected PDFs.
Guarantee a smaller file. Well-built PDFs often see no useful change.
Privacy and Local Processing Notes
Method Explanation
- 1. Upload or select a PDF file.
- 2. Validate the file type and size.
- 3. Read the real bytes of the file in your browser.
- 4. Parse the PDF and, if you enabled it, clear the standard document information fields.
- 5. Re-serialize the document using object streams.
- 6. Measure the actual size of the generated file.
- 7. Compare it with the original size and report the real difference.
- 8. Offer the generated file for download only when it is genuinely smaller.
Frequently Asked Questions
Related tools
More tools to try
Related reading
Learn the formula, assumptions, examples, or context behind this tool.