PDF Compress
Shrink a PDF in your browser by re-saving it and stripping metadata, honestly.
Compression re-serializes the file locally with pdf-lib. The PDF never leaves your browser.
How to use it
- Choose a PDF file. Its original size is shown in the Before row.
- Leave Remove document metadata on to drop the title, author, subject and keywords stored in the file.
- Leave Use object streams on for the smaller output; switch it off if an old reader refuses to open the result.
- Click Compress PDF and read the honest numbers: Before, After and the percentage saved.
- Download the result with the Download button.
Common use cases
- Cleaning a file before sending — strip the metadata that travels with exported PDFs.
- Email attachments — shave what can be shaved locally before hitting the size limit.
- Checking whether re-saving helps — the tool reports the real gain instead of a promise.
- Privacy tidying — author names and edit history in the Info dictionary are removed on request.
Why it stays private
Compression re-serializes the file in your browser with pdf-lib. The PDF is read with the File API, never uploaded, and no network request is made.
FAQ
Q: Why did my file only shrink by a few percent, or even grow? A: Because most of the size usually sits in streams that are already compressed — embedded images and fonts. This tool does not re-encode them, so the honest result can be small, zero, or slightly larger after re-serialization. Shrink at the source instead.
Q: What exactly is removed when I strip metadata? A: The document Info dictionary entries: title, author, subject, creator, producer and keywords. They are set to empty values. Page content is untouched.
Q: Is this the same as a server-side compressor? A: No. Server-side tools re-encode images and fonts with heavier pipelines. This one is limited to what pdf-lib can do locally, and it says so instead of pretending otherwise.
Your data stays on this device
PDF Compress runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.
Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.