How to Compress a PDF Without Losing Quality

A PDF that will not upload is usually not "too big" in any mysterious way. Something inside it is larger than it needs to be: a 12 megapixel photo of a page, a font that was embedded four times, or objects left behind by the program that made it. Compression is the job of finding that thing and removing it.

This guide explains what the two practical kinds of compression do, when each one is safe, and how to check that the result is still readable before you send it.

Why PDFs get large in the first place

A PDF is a container. It can hold text as text, images as images, and drawings as instructions for lines and curves. Three things make the container heavy:

  • Scanned pages. A scan is a photograph of a page. At 300 DPI in colour, one A4 page is often 3 to 8 MB. Twenty pages of that is a 100 MB file with almost no text in it.
  • Phone photos pasted into a document. A modern phone camera produces 4 to 8 MB per shot. A report with ten photos is a 50 MB report.
  • Leftover structure. Editing a PDF repeatedly can leave duplicate fonts, unused images and old versions of pages inside the file. The visible pages look the same, but the file carries the history.

Text itself is tiny. A hundred pages of plain writing is usually under 1 MB, because a page of text is a few kilobytes of character codes plus a font. That is why "compress this text document" often does very little: there is nothing heavy to remove.

The two kinds of compression

Every tool you will meet, including ours, is doing one of these two things, or a mix of both.

1. Structural cleanup (lossless)

The file is rebuilt so that repeated data is stored once, unused objects are dropped, and the internal file structure is written more efficiently. Nothing visible changes. Text stays selectable, links keep working, forms keep their fields, and quality is identical.

The catch is that it can only save what was actually redundant. On a file that was already saved cleanly by a modern program, the saving might be 2 to 10 percent. On a file that has been edited and re-exported many times, it can be 30 percent or more.

2. Rebuilding pages as images (lossy)

Each page is drawn, then saved as a JPEG at a chosen resolution and quality, and those images are placed back into a new PDF. This is what makes scanned files shrink by 50 to 90 percent, because a page photographed at 300 DPI is far more detailed than a screen or an office printer needs.

The cost is real: text becomes part of a picture. It cannot be selected, searched, copied, or filled in. If the PDF has form fields, they disappear.

Choosing a setting for the job

What you are doing What to choose Why
Emailing a report to a colleague Structural cleanup first Text stays crisp and searchable
Uploading a scan to a government portal with a 2 MB limit Rebuild at 150 DPI, medium quality Gets a 5 to 10 MB scan under the limit
Sending a portfolio or brochure to print Structural cleanup only, or rebuild at 300 DPI Print needs detail
Archiving signed contracts Structural cleanup only You may need the text layer later
Sending photos of documents over chat Rebuild at 150 DPI Chat apps re-compress anyway

A useful habit: try the lossless option first and look at the number. If it gets you under the limit, stop there. Only reach for the lossy option when you have to.

Doing it in the browser

Open Compress PDF, drop the file in, and choose a mode. The page shows the size before and after, so you are not guessing. If the result is not small enough, run the new file through again with a lower resolution rather than starting from the original, and keep the original until you are happy.

Two practical notes:

  • Work from a copy. Keep your original file. Compression is easy to redo and impossible to undo.
  • Check the output, not just the size. Open the compressed file, zoom to 100 percent, and read a paragraph. If the letters look furry, go back and raise the resolution.

What compression cannot fix

Some files are large for reasons compression will not touch:

  • Embedded video or audio. Rare in PDFs, but when present it dominates the file.
  • Very high resolution images that are needed. If a page is a 600 DPI scan of a map, no lossless method will make it small.
  • Encrypted files. Most tools cannot open them at all. Remove the password first with Unlock PDF, then compress.
  • A file that is already compressed. Running compression twice on a rebuilt file usually makes it slightly larger, because the JPEG is re-encoded. Use a lower resolution instead.

How small is small enough

Common limits you will run into: 2 MB for many government and university portals, 5 MB for some email systems, 10 MB for most web forms, and 25 MB for Gmail attachments. If a portal states a limit, aim for about 80 percent of it, because upload systems sometimes count the file differently from your computer.

If you need a specific number, the honest approach is to compress, check the size, and adjust the resolution one step at a time. That takes about a minute per attempt and avoids sending something unreadable.

Frequently asked questions

Does compressing a PDF reduce quality?

Only if the tool rebuilds pages as images. Structural cleanup does not touch the visible content. Our Compress PDF page labels the two modes so you can tell which one you are using.

Can I compress a PDF on my phone?

Yes, and it is the same tool. The limit is your phone's memory rather than a server quota. A 50 MB file on a mid-range Android phone usually takes a few seconds; a 150 MB file may need a computer.

Why did my PDF get bigger?

If you rebuilt an already-compressed file at a higher resolution than its original, it grows. Start from the original and go one step down instead.

Is it safe to compress private documents online?

It depends on the tool. Ours processes the file inside your browser tab, so the document is never uploaded. Any tool that asks you to wait while a server works is receiving a copy of your file, which is worth knowing before you send a passport scan.

Compress PDFShrink a PDF so it fits an upload limit or an email.

Open Compress PDF