Compress large PDF files

Large changes the question. Below a few hundred pages, compressing a PDF is a routine job that finishes in seconds. Past that, two real limits arrive: how much memory a browser tab is allowed, and how long you are willing to watch a progress bar. Both have measured numbers behind them.

Compress large PDF

What a browser tab is allowed to use

The engine runs inside the tab, so the tab's memory budget is the real ceiling, not any rule in the tool. The measured figure comes from an iPhone 16 Pro class phone with 8 GB of RAM on iOS 26.6: the tab was killed at a hard 2 GiB per-process cap, with 494 MB of system memory still free. That cap is device-class specific. A phone with 4 GB gets less, and nothing here measures how much less. Desktop browsers have more room and no measured ceiling of ours.

A second limit binds before memory does on any single page. A canvas tops out at 8192 by 8192 pixels, exactly 67,108,864 of them. One row more comes back blank with nothing reporting a failure. The largest page in the test corpus at 150 dpi is 9.9 million pixels, 15% of that cap, so ordinary pages are nowhere near it.

Page count is the number that matters

Megabytes are a bad predictor. A 60 MB file that is 12 pages of photographs is easy. A 30 MB file that is 900 scanned pages is the hard one, because the raster method walks every page.

That walk was measured. On the same phone, a 300 page run at 150 dpi finished all 300 pages in one tab without a kill, at a median of 671 ms a page, and the per-page cost drifted up only 17% across the whole run. So the memory does come back between pages. Nothing here measures a document past 300 pages.

How long it takes

On the 120 case public run the median compression took 2,512 ms and the ninetieth percentile 3,968 ms. The slowest single case took 9,119 ms, a mixed document aiming at a 1000 KB target where the raster method had to run. The whole 120 case run took 305 s.

Those are ordinary documents. A several hundred page scan is a different scale of job, and the honest answer is that no bench figure covers it. Expect the raster method to dominate the time, because it is the one that renders every page.

What to close before you start

Three habits stop a long run from failing halfway.

When the file will not go small enough

Try the size first. The large file page and a 10 MB target both run the same engine, and on a scan the reduction is often dramatic: the top tenth of the public run gave back 88.1% of the source bytes.

If it still does not fit, split rather than squeeze. A 400 page manual sent as four 100 page files reaches the other end. The same manual crushed until it fits one mail attachment arrives unreadable. Organize pages cuts a document into parts without rebuilding it.

And check what is actually heavy before assuming compression is the answer. The general guide covers how to tell a scan from a text document in five seconds, which decides everything else. The compress hub lists the rest of the cluster.

Questions people ask

How big a PDF can a browser tab handle?
There is no fixed cap in the tool, so it comes down to the device. The one measured figure is a 2 GiB per-process limit on an iPhone 16 Pro class phone. Desktop browsers get more, and we have no measured ceiling for them.
How long does compressing a large PDF take?
On the 120 case public run the median was 2,512 ms and the slowest single case 9,119 ms. Those are ordinary documents. A several hundred page scan takes much longer and has no measured figure here.
Should I split a large PDF before compressing it?
Only if it still misses the target after compression. Splitting a document that would have fit anyway just makes more files to keep track of.
Does a large file get uploaded to a server?
No. The document is read by the page and processed in the tab, so nothing is sent anywhere. The file size does not change that, though it does decide whether the tab has enough memory for the job.

Do it now

The tool runs in this browser. Your file never leaves the machine, and the result is checked before you download it.

Compress large PDF

Where to go next