How to Compress a PDF: By Level, or to a Size You Set
Compress PDF asks two different questions: which level, or which size. A level picks the settings for you; a target names a number and lets the tool search for settings that reach it. Here is what each level does to your pages, why a target is a goal rather than a promise, and how to check the result before you send it.
Tools used in this guide
1. Open your PDFs
Compress PDF opens on a drop area. Drag your files onto it, or use Choose files at marker 1. You can add up to twenty PDFs at once, up to 100 MB each. It runs in a current Chrome, Edge, Firefox or Safari, on a computer or a phone. If your browser has WebAssembly switched off (Lockdown Mode on an iPhone does this) or is too old to run it, the panel says Not available in this browser and offers no Choose files button.
- Choose files. Pick the PDFs from your device, or drag them onto the panel. They are read in this tab and never uploaded.
- Try a sample PDF. Loads the 537 KB example used in every screenshot here — four pages of photographs, so every level has something real to work on.
The files are read in the tab you already have open — there is no upload path in the product at all — and each one appears as a row with its name and its size. That size is the “before” number every figure on the result screen is measured against, so it is worth a glance now.
To follow along without a document of your own, Try a sample PDF at marker 2 loads the 537 KB file used in every screenshot below. It is four pages, each carrying one photographic image and a few paragraphs of text, which is the shape of most documents people actually need to make smaller.
2. Pick a level
The settings card has two tabs, and the tab you pick decides what kind of question you are asking. Level is the default.
- Level or Target size. The two ways of asking. A level fixes the settings and lets the size fall where it falls; a target fixes the size and searches for settings that reach it.
- Light. Rewrites the file's structure and leaves every pixel alone. Nothing is re-encoded, so the saving is modest and the pages come out identical.
- Medium. Re-encodes the photographs and scales any image over 1600 pixels on its longest side down to it. This is where a large saving comes from, and it is lossy.
- Heavy. The same pass at 1000 pixels and a lower quality. The smallest practical file, and the one always worth comparing before you send it.
The three cards at markers 2, 3 and 4 are not three strengths of one setting. Light does a different job from the other two:
| Level | What it does | What it costs |
|---|---|---|
| Light | Rewrites the file’s internal structure: object streams, flate recompression, unreferenced objects dropped | Nothing. Every pixel is the pixel it was |
| Medium | All of the above, plus photographs re-encoded and any image over 1600 px on its longest side scaled down to it | Lossy, but rarely visible at page size |
| Heavy | The same pass at 1000 px and a lower quality | Lossy and sometimes visible. Compare it |
Light is the one to reach for when the pages must not change. A print job, a signed document, a scan someone will read at full zoom — Light touches none of the imagery, so the worst case is that it saves you very little. That is also its ordinary case: on a file whose bulk is photographs, structural savings are a rounding error.
Medium is the default because most documents are photographs in a wrapper. Re-encoding them is where a large saving comes from, and 1600 pixels is above what a full-page image needs on screen, so the downscale is usually invisible.
Heavy is worth trying and worth checking. It is not “Medium but more”; a 1000 px cap and a markedly lower quality can show on fine detail and on text that is part of an image rather than real text. Step 6 is how you check it in ten seconds.
One thing that holds at every level: text and vector drawings are never re-encoded. A paragraph is exactly as sharp at Heavy as at Light. Bookmarks, form fields and tagged structure are carried across rather than flattened away — if you want a form frozen as it looks, that is Flatten PDF, not a compression level.
3. Or name a size instead
Switch to Target size when the number is the requirement — a mailbox that rejects anything over 10 MB does not care which level you picked.
- Size presets. Only sizes smaller than your largest file are offered. A target above every file you loaded would be a run that has nothing to do.
- Aim for at most. Any size in megabytes, for a limit the presets do not happen to cover. Pressing a preset fills this box, and you can type over it afterwards.
- A goal, not a guarantee. The search will not go below a quality floor, so a target it cannot reach is reported as missed rather than quietly rounded up to.
The presets at marker 1 run from 100 KB to 10 MB, and only the ones smaller than your largest file are shown. A target at or above every file you loaded is a run with nothing to do, so rather than let you pick it and then refuse, the row hides it. The sample here is 537 KB, which is why three chips are on offer instead of seven. The box at marker 2 takes any size in megabytes, for a limit the presets do not happen to cover.
What happens next is a search, not a setting. The tool runs the file at Medium’s settings first, because a file that already fits there costs one pass and no further guessing. If that misses, it goes straight to the floor — a much harder squeeze — to answer “can this file get there at all?” in one more pass rather than discovering it in four. Only if the answer is yes does it start narrowing between the two, and it stops early once a pass lands close under the target. Four passes is the ceiling for one file, and of the passes that fit, you get the one with the highest quality rather than the smallest.
Marker 3 is the sentence worth taking seriously before you run it:
- There is a quality floor the search will not cross. It will not wreck your pages to hit a number.
- A PDF of pure text has nothing to give at any quality. There are no photographs to re-encode, so the structural saving is all there is, and that is the same saving Light would have given you. The search works that out within two passes and stops.
- A target that cannot be reached is reported, not fudged. The row says it missed, names the target it was aiming at, and offers Split PDF — because several files under a limit is usually what “it has to be under 10 MB” actually means.
4. Run it
- Hint line. Says what pressing Compress will do, and when nothing happens it says what is blocking it. The button stays clickable so that this line can answer you.
- Start over. Empties the list and returns to the drop area. It clears the tool, never your disk — the files you chose are untouched.
- Compress. Runs the pass, and turns into Stop while it works. It keeps its own width rather than pushing the buttons beside it about.
Compress at marker 3 is the last decision; nothing has been written until you press it. While it runs, the same button becomes Stop — it keeps its place and its measured width rather than a Cancel button appearing and shoving the row sideways.
The line at marker 1 is the one to read when a press seems to do nothing. Compress is not a disabled button, on purpose: a disabled control swallows the click and leaves you guessing. Here the click lands, the run is refused, and the hint says which of the two reasons it was — no files, or a target the form will not accept.
Start over at marker 2 empties the list and returns to the drop area. It clears the tool and not your disk: your original files are never modified by anything here, at any point.
5. Read the result
- What came out. How many files were produced. If some could not be processed at all, it reads 2 of 3 files compressed; a file that could not be made smaller still counts as compressed, and its own row says so.
- Before, after and the saving. Measured on the bytes that were actually written, not estimated. When there was no saving to make, it says that instead of showing a percentage.
Every number on this screen is measured on bytes that exist, not estimated. Marker 2 gives the before, the after and the percentage — and when there was no saving to make, it says so in words instead of showing you 0%.
- Before and after. The real size of your file and of the copy. A file that could not be improved reads unchanged here, and the bytes you are offered are your own.
- Compare. Lays the copy over the original so you can see what the re-encoding cost before you commit to it. Pressing the cover beside it does the same thing.
- Download. Saves this one file. From two results upward, a Download all as ZIP button appears under the list as well.
Each file gets a row, with a cover rendered from the file that was produced rather than from your original, so what you are looking at is what a download would save. Marker 3 is the pair of real sizes, and four outcomes are told apart here in words and a glyph rather than by colour:
| It says | What happened |
|---|---|
| 537 KB → 297 KB · 45% smaller | The ordinary result. That is the file you get |
| 537 KB · unchanged | The rewrite came out no smaller, or less than 1% smaller, so you are handed your own bytes back — which is why that row has no cover and no Compare |
| Under your 500 KB target | Target mode, and it got there |
| Could not reach 500 KB without wrecking the pages | Target mode, and it stopped at the quality floor |
The second row is the one worth understanding: the output is never larger than the input. If the rewritten file comes out bigger, or less than 1% smaller — which happens, on a PDF that was already packed tightly — the tool discards its own work and gives you the original, then tells you it did. Compressing an already-compressed file is not a trap here, it is a no-op.
Download at marker 5 saves that one file; from two results upward a Download all as ZIP button appears under the list as well.
6. Check it before you send it
The result screen tells you what the file weighs. It cannot tell you whether the pages still look right, and at Heavy or at an aggressive target that is the question that matters.
- Original. Your file, on the left of the line. The label carries its size, so the picture names both halves of the trade you are looking at.
- Compressed. The copy, on the right of the line. Each label fades when the divider has covered its side of the page.
- Divider. Drag it across the page to move the seam. Everything to its left is the original and everything to its right is what you are about to download.
- Pages and zoom. Step through the pages, or switch to Actual size — which stops fitting the page to the panel and shows you the real pixels instead.
Compare at marker 4 of the previous figure — or a press on the cover, which does the same thing — lays the two files over one another and draws a seam between them. Left of the divider is your original, right of it is what you are about to download, and the two labels carry both sizes so the trade is named rather than implied.
Drag the divider at marker 3 to move the seam. The controls at marker 4 step through the pages and switch the zoom, and the zoom is the part people miss: the view opens fitted to the width of the panel, which shrinks the page and hides exactly the fine detail that re-encoding changes. Actual size stops fitting and shows the real pixels. A comparison that looks identical when fitted and still looks identical at actual size, over a photograph or some small text, is a compression that cost you nothing you can see.
If it did cost something, go back with Compress more — it returns to the settings with your files still loaded — pick a lighter level, and run it again. Your original is still on your disk, untouched.
When a PDF will not get smaller
“It did not compress” is usually a true answer about the document rather than a failure of the tool. What is inside it decides almost everything:
| What your PDF contains | What to expect |
|---|---|
| Full-page photographs or scans | The biggest reductions. Medium and Heavy re-encode and downscale them, which is where the space is |
| Text and vector drawings | Little at any level, and the same little at all three. Nothing here is ever re-encoded |
| A file exported once, already tightly packed | Little or nothing. You will be handed your original back and told why |
| A file saved and re-saved many times | Often a real structural saving, and Light alone may be enough |
| Large embedded fonts | There are no font subsetting or removal controls. Do not plan around this one |
Being able to select text tells you less than it seems to. A searchable scan holds both a full-page image and a text layer, so selectable text does not mean the file is mostly text — and it is the image that decides whether there is anything to win.
Running the same output through the tool a second time is not worth much. Once the structural saving is gone it is gone, and re-encoding an already re-encoded photograph costs quality for almost no bytes.
Still too large for the limit you have to hit
Check the real limit first and leave yourself room under it. Then pick the step that fits what you actually have:
- You still have the source document. Export it again from the application that made it, at a screen-quality or smaller-file preset. This beats any after-the-fact compression, because the original image data is still there to be resampled properly. For scans, try a lower scanning resolution or greyscale, then check that small text is still readable.
- The recipient only needs part of it. Extract PDF Pages for one short file, or Split PDF when several files under a limit are acceptable — which is also what Compress itself suggests when a target cannot be reached.
- You only have the PDF, and image-only pages are acceptable. Export as JPG at a lower DPI with PDF to Images and rebuild with Image to PDF, which embeds JPEGs unchanged, so the new file weighs what the images do. Understand the cost before you do it: this removes selectable text, bookmarks and every interactive feature, and PNG pages would come out larger rather than smaller. Check the size and the readability of the result before you send it.
- The whole document has to stay intact. Share a link instead of an attachment, if the recipient will take one.
What happens to your file
Compression runs entirely inside your browser tab. Your PDF is never uploaded — there is no upload path in the product at all — which shapes what to expect in practice:
- Nothing is written until you press Compress, and nothing is saved until you press Download. A finished result is not a file on your disk yet.
- Your originals are never modified. Every level writes a new file; the one you chose stays exactly as it was.
- No watermark is ever stamped on an export.
- The limits are the tab’s, not a policy. Twenty files per run, 100 MB per file, 300 MB in total — the point where a browser tab stops being able to finish rather than a round number someone picked.
- No account is needed. Pro ($9.99/month) is required to download compressed copies of your own files and includes unlimited exports. The technical limits above still apply to each browser run.
- Because the work is local, closing the tab mid-run loses it. There is nothing stored server-side to come back to.
If a file will not open at all, or the tab runs out of memory on a very large scan, PDF troubleshooting covers that. Ready to try your own document? Open Compress PDF.
Common questions
I press Compress and nothing happens. What is wrong?
Read the line just above the button. Compress is deliberately not a disabled button — a disabled control swallows the click and explains nothing — so the press lands, the run is refused, and the hint says why. There are only two reasons: no files have been added yet, or you are in Target size and the box holds something the tool will not run, such as an empty value, a size under 0.01 MB, or a number larger than every file you loaded. Fix what the line names and it changes to tell you how many PDFs are ready.
Why are the 5 MB and 10 MB presets missing from my target row?
Because they are bigger than the largest file you loaded, and a target above every file is a run with nothing to do — it would spend a pass per file to report that each was already small enough. The chips are filtered against your biggest file, so a 537 KB PDF offers 100 KB, 200 KB and 500 KB and hides the rest. Load a larger PDF and the larger presets come back. The box below them still takes any size you type.
Can I stop a run once it has started?
Yes — the Compress button becomes Stop for as long as the run lasts, in the same place and at the same width. What stopping means depends on the browser: where the work runs in a background worker it ends promptly, and where it has to run on the main thread it can only stop after the file it is currently on, which is why the button calls itself Stop after this file there. Either way nothing you loaded is altered, and the banner confirms that your files are untouched.
Some of my files failed. Do I lose the ones that worked?
No. Each file is compressed on its own and the result screen lists all of them together — the ones that worked with their sizes and a download, the ones that did not with the reason. A partial run still hands you everything it managed. The usual reason a single file fails is that it is password-protected, and that row offers Unlock this PDF instead of a retry; a damaged file gets no retry either, because it would fail the same way every time. Any other failure gets a Try this file again button for that file alone.
The comparison looks identical on both sides. Is it working?
Almost certainly yes, and that is the useful answer: at Medium the difference on most documents is genuinely hard to see at page size. The view opens fitted to the width of the panel, which shrinks the page and hides exactly the fine detail re-encoding changes. Press Actual size to stop fitting and show the real pixels, then drag the divider across an area with photographic detail or small text. If it still looks the same there, the compression cost you nothing you can see.