Compress PDF Files
Reduce a PDF's size
To compress a PDF here, drop it in and click Optimise. The tool rewrites the file's internal structure more compactly and can strip its metadata, leaving text and images untouched, then shows you the size before and after. Quality never drops, but image-heavy or already-optimized PDFs won't shrink much.
- Files processed on your device
- No server-imposed size limit
- 100% free
How to compress a PDF
- 1Drop in your PDF, or several to process them as a batch. They open in your browser and are never uploaded.
- 2Leave “Strip metadata” ticked to remove the title, author, subject and keywords, then click “Optimise the PDF”.
- 3Check the before and after sizes, then download the optimized file, or a ZIP for a batch.
Lossless by default, and what that means
Most online compressors get their big numbers by degrading images: the file shrinks, but photos go soft and scanned text gets harder to read. This tool takes the opposite approach. It restructures the document more compactly, packing objects into compressed streams and condensing the cross-reference table, and it can drop the metadata. Pages, fonts and images stay identical, down to the pixel. That is the default. For a scan or a photo-heavy file that still has to fit a size limit, the optional Strong compression re-encodes large JPEG photos at lower quality (1,600 pixels at most on the long side) and replaces an image only when the new version is clearly smaller. Text and vector graphics are untouched.
The trade-off is worth being upfront about: how much you save depends on how the PDF was made. Files exported by older software, office scanners or careless print drivers can shrink noticeably. A PDF that's mostly photos, or one already optimized by a modern tool, won't change much and may even grow slightly. When that happens the tool tells you, and you simply keep the original.
When it's the right tool
Lossless optimization is the sensible first step when:
- a PDF from accounting software or an old scanner is suspiciously large for a few pages of text;
- you're about to share a document and don't want its author, working title or internal keywords going with it;
- you have a folder of PDFs to tidy up before archiving: batch mode handles them all and bundles the results in a ZIP;
- a file is slightly over an email or upload limit and you'd rather not cut pages yet.
Still too big?
When a hard limit applies, say a portal that rejects anything over 5 MB, the most effective way to get under it without hurting quality is usually to send less. Extract pages keeps only the pages that matter, and Split breaks a large document into several smaller uploads.
Our guide to reducing PDF file size walks through every option, and compressing a PDF for email lists the attachment limits of the main mail services.
Protected PDFs
If a PDF carries protection that doesn't stop it from opening, such as printing or copying restrictions, the tool decrypts it in memory to optimize it. The result is no longer protected, and a notice tells you so. To lock it again, run the output through Protect PDF. Files that ask for a password just to open them need to be unlocked first.
Metadata: the details people forget
A PDF often carries more than it shows: a working title (“Acme proposal v3, do not send”), an author name pulled from your computer login, a subject line, internal keywords. Those fields show up in the document's properties, and sometimes in search results when the file is posted online.
“Strip metadata” clears all four before the file is saved. It doesn't touch what's visible on the pages, though; to hide text that actually appears on a page, you need to redact it.
Nothing leaves your device
Most compression sites upload your documents and process them on their servers. Here everything happens with pdf-lib inside your browser: no file is sent, kept or logged on a server, and the tool works offline once the page has loaded. That's what makes it safe to use on contracts, payroll records or medical paperwork.
Technical specifications
- Processing
- 100% local, in your browser
- Technology
- pdf-lib · Web Worker
- File size
- No server-imposed size limit: your device's memory is the only limit
- Privacy
- File never uploaded or stored: suited to GDPR and professional secrecy
- Price
- Free, no sign-up, no watermark
Frequently asked questions
Does compressing reduce quality?
Not by default: the optimization is lossless, so text, fonts and images stay exactly the same. Only the file's internal structure is rewritten more compactly, and metadata can be removed. The optional Strong compression does lower the quality of JPEG photos to save more space.
How much smaller will my PDF get?
It depends on how the file was created. PDFs from older software or scanners can shrink noticeably; image-heavy or already-optimized PDFs barely change. You see the size before and after, and the tool tells you when a file was already optimized.
Why didn't my PDF shrink?
Because images, usually the bulk of a file, are left untouched to protect quality. To get under a strict limit, drop pages you don't need with Extract pages, or split the document into several files.
Is it private?
Yes. The file is optimized in your browser and never uploaded, stored or logged on a server. You can go offline after the page loads and it still works.
Can I compress several PDFs at once?
Yes. Drop in several files and choose to process all of them: each one is optimized separately and you download the set as a single ZIP.
Is there a file size limit?
The tool sets none; your device's memory is the only limit. Files of several hundred megabytes are fine on a recent computer, though very large scans may be too much for an older phone.
What does “Strip metadata” remove?
The document's title, author, subject and keywords. It's worth doing before you share a file whose properties reveal a name, a client or a working title.
Related guides
- How to reduce a PDF's file size without losing quality
- How to convert a Word document to PDF
- PDF tools with no upload: the private alternative to iLovePDF and SmallPDF
- Compress a PDF to send it by email (Gmail and Outlook limits)
- How to Fix a PDF That Won't Open
- How to convert a PDF to JPG or PNG: which format, which resolution
- Compress a PDF to under 2 MB (for online forms and portals)
- Convert JPG or PNG images to a single PDF

