Compress PDF without uploading

By PDFWrangle Editorial Team · Last updated

PDFWrangle compresses PDFs without uploading them. Your file is read, rewritten and saved by JavaScript running in your own browser tab, so it never travels to a server. You don't have to take that on trust: the two tests below let you check it with your browser's own tools in a couple of minutes.

Loading tool…
🔒 Files never leave your device✓ No sign-up∞ No usage limits

Compress in three steps

  1. Add your PDF.
  2. Pick a level, or type a target size.
  3. Compress and download the smaller copy.

For all the compression options, see Compress PDF.

How compression runs in your browser

What your browser downloads

Almost everything you see in the Network panel is your browser downloading something from pdfwrangle.com, not sending your file to it. When a page loads, that includes the page itself, its JavaScript files under /_next/static/, fonts, the logo, and small page-data files for the links in the menu (their names end in .txt?_rsc=…), which the site prefetches so other pages open faster. All of these are GET requests, and none carries your file.

Two kinds of small requests go the other way, and neither carries your file. When the page loads, Cloudflare Web Analytics downloads a small script from static.cloudflareinsights.com and sends an anonymous page-view report to Cloudflare. And after you use a tool, the page sends one small anonymous usage event, a POST request to pdfwrangle.com/api/e, saying which tool you used, whether it worked and a rough file size range such as "1–5 MB". It never includes your file, its name or its contents. If your browser sends a Global Privacy Control or Do Not Track signal, the usage event isn't sent. Our privacy policy has the details.

The compression code, including pdf-lib, arrives with the page. A moment after the page appears, it also downloads pdf.js and its worker (about 1.4 MB in total) in the background, even if you never tick Convert pages to images, so the option is ready when you need it. The worker is a file under /v/ whose name starts with pdf.worker. It's downloaded once per visit, and nothing is fetched again when you compress.

Verify it yourself

Test 1: compress with the internet switched off.

  1. Open this page and wait until it has fully loaded, then give it a few more seconds so the background download of the PDF renderer can finish.
  2. Disconnect: turn off Wi-Fi or unplug the cable, or choose Offline in the throttling menu of your browser's DevTools Network tab.
  3. Add a PDF, compress it and download the result. Then tick Convert pages to images and compress another one. Both work, because no server is needed. The usage event simply isn't sent while you're offline.

If you disconnect too early, before the page has finished loading, the tool may not appear or may report an error. That's a download that didn't reach you, not a blocked upload. Reconnect, reload the page and start again.

Test 2: watch the Network panel.

  1. Open the tool page and wait until it has fully loaded.
  2. Open your browser's developer tools: press F12 (Windows, Linux) or Cmd+Option+I (Mac) in Chrome, Edge or Firefox, and select the Network tab.
  3. Clear the list (the clear button in the Network toolbar), so only new requests appear from now on.
  4. Add a PDF and click Compress. Try it with Convert pages to images ticked, too.
  5. Look through the new requests. To show the Method column in Chrome or Edge, right-click a column header and tick Method. An upload would show up as a POST or PUT request with a body about as large as your file. You should find none. You will see one small POST request to /api/e after you use the tool: that's the anonymous usage event described above. Click it and open the Payload tab (Request in Firefox) to see exactly what it sends: a few short fields of text, not your file. You may also see a request to Cloudflare Web Analytics. The page already downloaded the PDF renderer in the background while it loaded, so apart from the usage event, compressing usually adds no new requests to pdfwrangle.com. With Convert pages to images you may see a blob: entry: that's the pdf.js worker starting from your browser's own memory, not a transfer.

Related tools

Frequently asked questions

Is compressing a PDF on PDFWrangle really private?

Yes. The file is processed in your browser tab and never sent to pdfwrangle.com or anyone else. You can confirm it with the offline test or the Network panel on this page.

Does PDF compression work offline?

Yes, in both modes. Once the page has fully loaded, you can disconnect and keep compressing, with or without Convert pages to images.

How is this different from online compressors that upload?

Most online compressors process your file on their servers. Smallpdf, for example, says it deletes files after one hour (Smallpdf Compress PDF, checked 2026-10-20). With PDFWrangle there's nothing to delete, because the file never reaches a server.

Is it safe for confidential documents?

The file stays on your device, which removes the server side of the risk. Your own device still matters: browser extensions with permission to read web pages can see what a page shows, so for very sensitive files, use a browser profile or private window without extensions.

Full guide: How to Compress a PDF (and Why Some PDFs Won't Shrink) →