香港工具箱HK TOOLBOX全部工具 →
← Free PDF Tools Online

How to Compress a PDF Without Uploading It

Updated 5 November 2026 · Free PDF Tools Online

Compressing a PDF while keeping it on your own device is possible, but the result depends entirely on what kind of PDF you started with — and most guides skip that part. A document exported from Word and a 40-page phone scan need opposite treatments. Applying the wrong one either saves nothing or destroys the text.

This guide explains why a PDF has the size it has, what each compression method actually removes, and how to check that the compressed file is still usable before you send it to anyone.

On this page
  1. Why your PDF is large in the first place
  2. The two kinds of PDF (this decides everything)
  3. Compress in the browser, locally
  4. Compress with macOS Preview
  5. Windows and Android
  6. How to tell if the compressed file is still usable
  7. Why compression sometimes makes the file bigger
  8. Questions we get asked

Why your PDF is large in the first place

A PDF is a container. Inside it are pages, and each page holds a mixture of content types — text, vector shapes, and images. The file size is dominated by whichever of those is heaviest, and knowing which one is heavy tells you whether compressing is worth attempting at all.

Three things make PDFs big:

The two kinds of PDF — this decides everything

Before choosing a method, decide which of these you have. The answer changes what compression can even do.

Text-based PDF (exported from Word, Excel, a web page, a design tool)

The pages contain real text and vector artwork. Compressed well, these files shrink because unused fonts, duplicate resources and orphaned objects get stripped out. Compressed badly — by rasterising every page into an image — they can get larger and you lose the ability to select, search or copy any of the text.

Typical realistic saving: modest. If a Word export is 2 MB, there is not much fat to remove, because the content genuinely is that size.

Image-based PDF (a scan, a phone photo of a document, a fax)

Every page is a photograph of paper. There is no text inside the file at all, only pixels. These files compress dramatically, because the images can be re-encoded at lower quality. The trade-off is directly visible: text edges soften, small print becomes unreadable, and at aggressive settings OCR stops being able to read the page.

Typical realistic saving: large. A 30-page scan at 90 MB can often come down to single-digit megabytes at a quality that still reads fine on screen.

How to tell which one you have in ten seconds Open the PDF and try to select a sentence with your mouse. If the text highlights, it is text-based. If nothing highlights, or the whole page highlights as one block, it is an image — you are looking at a picture of a page.

Compress in the browser, locally

Our PDF toolbox compresses PDFs by re-rendering each page to a canvas and re-encoding it as a JPEG at a quality level you choose. Nothing is transmitted — the work happens in your tab, and the result is saved straight to your disk.

  1. Open the toolbox and choose Compress PDF.
  2. Select your file. The page count and original size are shown.
  3. Set the quality slider. Start high, around 80, and work down only if the result is still too large.
  4. Compress, compare the before/after size, and save.
Be honest about what this method does Because the compressor re-renders each page, it is optimised for image-based PDFs — scans and photos. On a text-based PDF it will flatten the text into an image: the file may or may not get smaller, and you will lose text selection and search. Use it on scans, not on documents exported from Word.

Compress with macOS Preview

Preview has a built-in compression filter, and unlike most built-in tools it does not rasterise the pages.

  1. Open the PDF in Preview.
  2. Choose File → Export (not Save).
  3. In the Quartz Filter dropdown, pick Reduce File Size.
  4. Save under a new name, then compare the two file sizes.

The filter is aggressive and offers no controls. On a text document it usually shrinks the file nicely while keeping text selectable. On a scan it downsamples the images hard, and small print often becomes unreadable. Check a representative page before sending.

A second Preview trick that costs nothing: Export alone, without the filter, rewrites the file and drops accumulated revision history. On a PDF that has been edited many times this alone can cut the size substantially with no quality change at all.

Windows and Android

Windows

There is no built-in compressor that preserves text. The two practical routes:

Android

No system-level compressor exists. The browser route behaves the same as on desktop: open a local-processing tool in Chrome, pick the file, compress, save to Downloads.

How to tell if the compressed file is still usable

Do not judge by file size alone. Run these four checks on the output before you email it:

CheckPass looks likeFail means
Select a line of text with the mouseIndividual words highlightThe page was rasterised — text is now an image
Use Ctrl/Cmd+F to search for a word you know is on page 3The match is found and jumps correctlyText layer lost
Zoom to 200% on a page of small printEdges stay legibleOver-compressed; rebuild at higher quality
Open the last pageIt renders, no blank pageTruncated output — recompress at lower aggressiveness

All four take under a minute and catch every common failure.

Why compression sometimes makes the file bigger

This surprises people and it has a simple cause: the tool converted text into pictures.

Text in a PDF is stored as characters plus font information — a page of dense text costs a few kilobytes. The same page rendered as an image at print resolution costs a few hundred kilobytes. If a compressor rasterises a text page and then encodes it as a high-quality JPEG, the output can easily be several times the input.

If a compressed file came out larger than the original, the tool you used is not suitable for that document. Try a method that preserves the text layer instead, or accept the original size — a 2 MB text PDF is not a problem worth solving.

Questions we get asked

How much smaller will my PDF get?

It depends entirely on the content. A scanned document can typically be cut to a tenth of its size and still read fine. A PDF exported from Word has very little removable weight, and expecting it to halve is unrealistic — the content genuinely occupies that space.

Does compressing a PDF break the text?

Only if the compressor works by re-rendering pages as images. Methods that strip unused fonts and orphaned objects leave the text layer untouched. The mouse-selection test above tells you which kind of compression you got.

Can I compress a PDF to under 5 MB for an upload portal?

Usually yes, if it is a scan — lower the image quality until the target is met, then check that small print is still readable. If it is a text document and the portal rejects it, the file is probably full of high-resolution images rather than text; check which pages are heavy before compressing the whole document.

Is it safe to compress a signed PDF?

Most compression rewrites the file, which invalidates a digital signature even when the visible page looks identical. If a document is digitally signed, compress a copy for reference and submit the signed original.

Why does my PDF get blurry after compression?

Because the images inside it were re-encoded at a lower quality or a lower resolution. Compress in steps rather than all at once: try a high quality setting first, check the readability of the smallest text, and only go lower if the size target still is not met.

Try it: Compress your PDF in the browser — free, no sign-up, no watermark, and the file never leaves your device.
Keep reading: How to merge PDFs without uploading them · How to split a PDF without uploading it · Do online PDF tools upload your files?