PDF Compressor

Compress a PDF online for free and reduce its file size. Optimize PDFs locally in your browser with no upload to servers. Great for email and storage.

Shrink your PDF without leaving your browser. Upload a PDF and optionally strip metadata to reduce its size. The optimization runs locally with pdf-lib — your file never leaves your device.

Files are processed locally in your browser for privacy.

File
Original size
Compressed size
Status

Size change

How PDF compression works here

Lightweight optimization

This tool re-saves the PDF with object streams enabled and can strip embedded metadata. That often yields a smaller file without altering visible content.

What it cannot do

It does not re-encode images. For PDFs dominated by large scanned images, the reduction may be modest. For those cases, converting scans to image-only PDFs first helps.

Built with pdf-lib, an open-source MIT-licensed library.

FAQ

Is my PDF uploaded anywhere?
No. Everything runs locally in your browser with pdf-lib.
Will compression lower quality?
Visible content is preserved; only storage structure and metadata are optimized.
Why didn't my file get much smaller?
PDFs built from large scanned images need image re-encoding, which this tool does not perform.