Skip to content
KaiPDF

Compress a PDF without uploading it

Shrink a PDF to fit an email or upload limit while the file stays on your computer or phone. The compression engine runs inside your browser, so there is no upload step and no server copy.

Choose a PDF fileor drag and drop it anywhere on this page Stays on your device. Nothing is uploaded.

How it works

  1. 1

    Choose your PDF. It is read from your disk into this browser tab, not sent to a server.

  2. 2

    Pick Light, Balanced or Strong, or choose Target size and enter a limit such as 200 KB.

  3. 3

    Select Compress PDF and download the smaller file, which is saved straight from the tab.

Why compressing is the step people most often upload by accident

You usually compress a PDF because a portal or inbox rejected it. That makes it the moment you are most likely to grab the first online tool you find and hand it a payslip, a medical report or a scanned passport. Most online compressors work by receiving your file on their server, shrinking it there and sending it back.

Here the same job happens on your own device. Your browser downloads two open-source PDF engines, PDFium and qpdf, compiled to WebAssembly, and runs them in a background worker inside the tab. The PDF goes from your disk into that worker and the smaller copy comes back out as a download. The page has no code that sends file contents anywhere.

What actually happens to your file

Compression only touches the photos and scans inside the PDF. Each large image is decoded, scaled down to the chosen resolution and saved again as JPEG using your browser's own image encoder. Text, fonts and vector drawings are left as they are, so they stay sharp and selectable. qpdf then rewrites the file structure to drop the old image data.

In Target size mode the tool tries several quality steps and keeps the lightest one that fits. If no step fits and you allowed it, it can turn pages into images as a last resort, and it tells you when that happened because the text can no longer be selected.

SettingImage resolutionGood for
LightUp to 200 DPIReports you may print later
BalancedUp to 144 DPIEmail attachments and most portals
StrongUp to 96 DPIStrict limits where small matters most
Target sizeSteps down until it fitsForms that say "max 200 KB" or "max 1 MB"

Check it yourself

In Chrome, Edge or Firefox, press F12 (or right-click and choose Inspect) and open the Network tab. Clear the list, then open your PDF and press Compress. You will see the page load its own code (.js files and a .wasm file) and, on any page of the site, background requests to Google for sign-in and bot protection. None of them is the size of your PDF, and none sends your file. A file upload would show up as a large outgoing request while the tool works.

You can also go offline. Open your PDF in the tool and wait for the page preview to appear, then turn off Wi-Fi and press Compress. Small detail: the qpdf clean-up engine is fetched the first time you press Compress. If you are already offline at that point, the tool skips that final pass and the result may be a little larger. To avoid that, compress any harmless PDF once before you disconnect.

Limits to know

Everything happens in your device's memory, so very large files depend on your hardware. A 300-page scanned PDF can be slow on an older phone, and the tab may run out of memory where a laptop would cope. If that happens, split the file first, compress the parts, and merge them back.

PDFs that are mostly text barely shrink, because text is already compact. Big savings come from photos and scans. The saved PDF has no watermark, even on the free plan.

Private by design: this tool runs in your browser with WebAssembly. Your file is never uploaded, and it is gone from memory when you close the tab.

Questions

Is my PDF uploaded when I compress it here?

No. The file is read into your browser tab and compressed there with WebAssembly. Nothing in the page sends file contents to a server.

How can I prove the file is not uploaded?

Open your browser's DevTools, go to the Network tab and compress a file. You will see no outgoing request anywhere near your file's size. You can also turn off Wi-Fi after opening the PDF in the tool and compress it offline.

Does the whole site work offline?

No. You need a connection to load the page and the tool. Once your PDF is open in the tool, compressing does not need the internet, apart from a one-time download of the clean-up engine on your first compression.

Is the compressed file kept in my browser?

No. It is held in the tab's memory until you download it, and it is gone when you close the tab.

Can I compress a password-protected PDF?

Yes. You are asked for the password, and it is used only inside your browser to open the file.

Related