Skip to main content

How to Compress a PDF Without Uploading It

By the PDFCharger team · · Updated · 5 min read

Most "free PDF compressor" websites work the same way: you upload your file, their server shrinks it, and you download the result. That's fine for a menu or a flyer. It's less fine for a bank statement, a signed contract, a medical report or a scan of your passport, because for a while that document sits on a computer you don't control.

You don't have to make that trade. Modern browsers can run the same compression engines locally, on your own device. This guide shows how to compress a PDF with PDFCharger's Compress PDF tool, which does exactly that, and how to check for yourself that your file never left your computer.

Why "where does my file go?" matters

When you upload a PDF to an online service, you're trusting it with three things:

  • The transfer. The file travels over the internet to their servers.
  • The storage. It's saved there, at least while it's being processed. Many services keep files for an hour or more, and some keep them longer.
  • The policy. What happens to it next depends on a privacy policy you probably didn't read.

For anything personal, financial, legal or medical, the safest file is the one that never gets sent anywhere.

How browser-based compression works

PDFCharger loads its PDF engines into your browser as WebAssembly, a format that lets compiled programs run inside a web page at close to native speed. When you compress a file:

  1. Your browser reads the PDF from your disk.
  2. The engine running in that same browser tab rewrites it smaller.
  3. Your browser hands you the new file to save.

There is no upload step, because there is no server doing the work. Your device is the server.

Step by step: compress a PDF in your browser

  1. Open Compress PDF. The page loads the compression engine. That's the only thing that gets downloaded.
  2. Add your PDF. Drag it onto the page or click to choose it. You can add up to 10 files and compress them together.
  3. Pick a quality level. There are four: Low, Medium, High and Maximum. Medium is a sensible place to start.
  4. Pick an algorithm (see the next section if you're not sure).
  5. Compress, then download. If you compressed several files, you can download them all as one ZIP.

Compare the new file size with the original. If it isn't small enough, try again with a different level or algorithm. Each attempt is quick because nothing has to travel over the network.

Which algorithm should you choose?

The tool offers three, and they suit different kinds of PDF:

Algorithm What it does Best for
Standard General-purpose clean-up and recompression of the PDF's internal data Most everyday documents
Condense Removes unused objects and duplicate data while keeping the document's structure intact PDFs with links, bookmarks or fillable forms you want to keep working
Photon Turns each page into an image and rebuilds the PDF from those images Scans and image-heavy PDFs where you just need it small

A word of warning about Photon: because every page becomes a picture, text can no longer be selected, searched or copied, and links and form fields stop working. It's great for a scanned receipt you need to email. It's the wrong choice for a contract someone has to fill in.

How to check that your file wasn't uploaded

You shouldn't have to take any website's word for it, including ours. Here's how to check with the tools already built into your browser:

  1. Open the Compress PDF page.
  2. Press F12 (or Cmd + Option + I on a Mac) to open Developer Tools, then click the Network tab.
  3. Compress a PDF as normal and watch the list of requests.

You'll see the page's own files loading: scripts, styles and the compression engine itself. What you won't see is a request that sends your PDF out. For an upload-based service, you'd see a large outgoing request roughly the size of your file.

PDFCharger is also open source, so anyone can read exactly what the code does with your files.

Tips for getting a PDF really small

  • Scanned documents are mostly images. They usually shrink the most, especially with Photon.
  • Text-only PDFs are already compact. If a report made in Word barely shrinks, that's normal: there's little to remove.
  • Remove pages you don't need first. Deleting a few image-heavy pages often saves more than any compression setting. Delete Pages also runs in your browser.
  • Compress the final version. Compress once, at the end. Repeatedly compressing an already-compressed file mainly costs quality.

How much smaller will my file get?

It depends almost entirely on what's inside the PDF.

  • Scans and phone photos shrink the most. Images are usually stored at a higher quality than you need on screen, and that's where compression has room to work.
  • Reports with charts and pictures shrink moderately. The images get smaller; the text stays as it was.
  • Text-only documents exported from a word processor are already compact. A small reduction is normal, and there's little more to gain.
  • Files that were already compressed won't shrink much again. Compressing twice mostly costs quality.

If you need a specific number, say under 2 MB for an email or under 200 KB for a form, use the target size option rather than guessing at quality levels. It's described in How to compress a PDF to an exact size.

Compressing several files at once

Compress PDF accepts up to ten files at a time. Each one is compressed separately with the same settings, the original and new sizes are shown side by side, and you can download them all as a ZIP. It's handy for a folder of scanned receipts or a set of documents for one application.

Frequently asked questions

Does compression remove anything from the document? With Standard and Condense, text, links and form fields stay intact; only how the data is stored changes. Photon turns pages into images, so text is no longer selectable and links and forms are lost. The tool warns you before you use it.

Can I compress a password-protected PDF? Remove the password first with Decrypt PDF, compress, and then protect it again with Encrypt PDF if needed.

Why is the compressed file sometimes bigger? Occasionally a file is already stored very efficiently, and rewriting it adds a little overhead. If that happens, keep the original; it's already as small as it reasonably gets.

Does it work offline? Once the page and the compression engine have loaded, the work happens on your device. The engine is cached by your browser, so later visits start faster.

The short version

If a document is private, don't upload it to compress it. Open Compress PDF, let your own browser do the work, and check the Network tab if you want proof. It's free, and there's nothing to install or sign up for.

Every step in this guide was checked against the tools on PDFCharger on the date shown above. Found something out of date? Tell us

Also from the Charger family

Need audio tools too?

AudioCharger brings the same free, private, in-browser experience to audio and video — convert, trim, add effects and more.

Try AudioCharger ↗