All guides

How to compress a PDF without uploading it to a server

A PDF is often larger than it needs to be. Scanned pages are stored as big images, and many files carry metadata nobody needs. A smaller file is easier to email, attach to a form, or keep on a phone.

Most compressors do this on their servers. PDFPrivy’s Compress PDF tool does it in your browser instead, so the original and the smaller copy both stay on your device. This guide covers the two modes, which one to pick, and what to expect.

How to reduce PDF size locally, step by step

  1. Open the Compress PDF tool and select your file.
  2. Pick a mode. Safe cleanup is the default for documents with selectable text; Image compression is suggested for scanned or image-heavy PDFs.
  3. For Image compression, choose a quality preset — Light, Balanced, Strong, or Maximum — or set a custom quality, and check the first-page preview.
  4. Run the compression and download the result. If it isn’t smaller than the original, you get your original back unchanged.

Compress a PDF without uploading it: how local compression works

Server-based compressors need your document on their machines to work on it. For a holiday flyer that hardly matters; for a contract, a bank statement, or a scan of your passport it matters a great deal.

PDFPrivy compresses locally. Safe cleanup re-saves the file with pdf-lib; Image compression redraws each page with pdf.js and rebuilds the file — all inside your browser tab. Your file is not uploaded, there is no account, and nothing is kept once you close the page.

If you want to know what to look for in any online PDF tool, the guide to whether online PDF tools are safe walks through it.

Compress a scanned PDF offline

After your first visit with a connection, your browser stores the app and both compression modes on your device. You can then open Compress PDF and shrink files — scanned ones included — without any internet connection. The page shows “Available offline on this device” once it is ready, and you can install PDFPrivy from your browser’s menu to use it like an app.

Can you compress a PDF without losing quality?

Yes, with Safe cleanup — but expect a modest result. It strips metadata and re-saves the file without touching the pages, so text stays selectable and images stay exactly as sharp. On many files the saving is small, and sometimes there is none.

Image compression is where large reductions come from, especially for scans. It rebuilds each page as a JPEG picture at the quality you choose. That shrinks image-heavy files a lot, but it is destructive: text is no longer selectable or searchable, and links, form fields, annotations, and bookmarks are removed. The tool warns you before you apply it to a document with real text.

Which compression mode to choose

  • Use Safe cleanup for documents you still need to search, copy from, or fill in — and for anything where quality matters more than size.
  • Use Image compression for scanned PDFs and photo-heavy files that are too large to send, where selectable text doesn’t matter.
  • Start with a lighter preset and step up only if the file is still too big; the preview shows what the first page will look like.

What compression can and can’t do

  • Size reduction is not guaranteed and varies by file. A PDF that is already efficient may not shrink at all.
  • The presets are image-quality levels, not a target file size. You can’t ask for “exactly 1 MB”.
  • Image compression does not run OCR. To make a compressed scan searchable, run OCR first.
  • Large files are processed in your device’s memory, so very big documents can take a while on slower machines.

Frequently asked questions

Is my PDF uploaded when I compress it?
No. Both modes run in your browser, and the file is not uploaded to any server. You can confirm it in your browser’s Network tab.
Which mode keeps my text selectable?
Safe cleanup. Image compression turns each page into a picture, so text is no longer selectable or searchable.
Can I compress PDFs offline?
Yes, after your first visit with a connection. The app is then stored on your device and the page shows “Available offline on this device”.
Why didn’t my file get smaller?
Some PDFs are already compact. Safe cleanup only removes metadata, so savings can be small or zero. If the result isn’t smaller, the tool returns your original unchanged.

Ready to try it?

The tool runs locally in your browser — nothing is uploaded.