PDF Compressor – Reduce PDF File Size in Your Browser

Drop in one PDF or several and pick how hard to squeeze them.

Compression

Drop PDFs here, paste one, or click to choose

One PDF or several at once

Your files never leave your device: everything happens in this browser tab, nothing is uploaded.

The lossless clean-up rewrites the file more compactly and keeps every word selectable. Strong compression turns each page into a JPG image, which makes scanned documents far smaller. You see each file before and after, with the percentage saved, and download them one by one or together in a ZIP. It helps when a job portal, a tax upload page or an email account rejects anything over a few megabytes. Your files never leave your device: everything happens in this browser tab.

How it works

Lossless clean-up opens the PDF with pdf-lib and writes it out again. On the way it packs the small objects that describe pages, fonts and links into compressed object streams, deletes objects that nothing in the document points to any more (leftovers from earlier edits and incremental saves), and compresses any stream the original program stored without compression. If you keep Remove metadata ticked, it also drops the XMP metadata packet, the document info (title, author and the program that made the file), embedded page thumbnails and the private editing data some design programs leave behind. Text, links, bookmarks and form fields stay exactly as they were. Strong compression draws every page with pdf.js at the resolution you choose: 72, 100, 150 (the default), 200 or 300 DPI, meaning that many pixels for each inch of paper. Each page picture is saved as a JPEG at the quality you set, from 20 to 90 (60 by default), and pdf-lib builds a new PDF from those pictures with the same page sizes as the original. This is what makes scans so much smaller, but be clear about the cost: the text becomes part of a picture. You can no longer select, search or copy it, and links, bookmarks and form fields are gone. Either way, if the new file is not smaller than the original, the tool keeps the original and says so, so you never download a "compressed" file that weighs more. A PDF that only restricts printing or editing opens without a password; one that needs a password to open asks for it, and the result has no password. Sizes use decimal units, where 1 MB is 1,000,000 bytes.

Worked example

Say you scanned a 12-page A4 lease for a rental application and the PDF weighs 18.6 MB, but the landlord's portal accepts 5 MB at most. The lossless clean-up will not help much here, because each scanned page is already one big compressed image. So you choose Strong compression at 150 DPI and quality 60. An A4 page is 595.28 by 841.89 points, and a point is 1/72 of an inch, so at 150 DPI every page becomes a JPEG of 1240 by 1754 pixels: plenty to read the small print. If the new file comes out at 2.4 MB, the list shows 18.6 MB → 2.4 MB and 87.1% smaller: 18,600,000 bytes minus 2,400,000 bytes is 16,200,000 bytes saved, and that divided by the original size is 0.871. The file is saved with "-compressed" added to its name and now fits the portal twice over. For a 3.2 MB report exported from Word, the lossless clean-up is the better choice. It might bring the file to 2.9 MB, which is 9.4% smaller, and every word stays searchable.

Which setting to choose

What usually works for common kinds of PDF. Try lossless first: if the file is still too big, switch to strong compression.

Your PDFTry this
Exported from Word, Excel or PowerPointLossless clean-up
Edited and saved many times, or with form fieldsLossless clean-up
Scanned pages or phone photos of documentsStrong, 150 DPI, quality 60
Must fit an email or upload limit of a few MBStrong, 100 DPI, quality 50
You will print itStrong, 200 or 300 DPI, quality 70 or more

Frequently asked questions

Are my PDFs uploaded to a server?

No. The files are read and rewritten inside your browser tab. Nothing is sent anywhere, and closing the tab discards everything.

Which mode should I use?

Start with Lossless clean-up: it keeps text, links and forms. If the file is a scan or still too big, switch to Strong compression. At 150 DPI and quality 60 most scans stay easy to read.

Why can't I select the text after strong compression?

Strong compression saves each page as a picture, so the letters are pixels, not text. That is the price of the large saving. Keep the original if you need to search or copy from it, or use the lossless mode.

Why did my PDF barely get smaller?

Many PDFs are already well compressed, especially scans and files saved by recent office programs. The lossless mode can only remove waste that is there. If the result is not smaller at all, the tool keeps the original and tells you.

Can I compress a password-protected PDF?

Yes. If the PDF needs a password to open, the tool asks for it. Files that only block printing or editing open without one. The compressed copy has no password, so add one again if you need it.

How small should a PDF be for email?

Gmail and Outlook.com allow about 20 to 25 MB of attachments per message, but many company servers and upload forms stop at 5 or 10 MB. Strong compression at 100 DPI and quality 50 usually brings a scanned document well under that.

Can I compress several PDFs at once?

Yes. Drop as many as you like. They are processed one after another, and Download all puts every result in one ZIP file. Changing a setting reprocesses the whole list.