The short version

Drop the PDF and press the button. The tool works in three stages, cheapest first, and stops at the first one that gets the file under 4 MB.

Images are recompressed in place first, so text, links and forms stay exactly as they were. Only when a file still will not fit are the pages rebuilt as images, and even then an invisible text layer keeps the words searchable. A file already under the cap is handed back untouched.

Four megabytes is generous. Eighty pages of text fit, thirty pages of greyscale scanning fit, and a twenty-page colour scan is only just over. So when a file is refused at this size, the first useful question is not how to make it smaller. It is whether the number you were told is the number the server is enforcing.

Where the 4 MB limit comes from

Who asks for itPlaces that cap uploads at 4 MB
  • Upload libraries left at their shipped default4 MB, undocumented
  • School and university submission systems4 MB per file
  • Council and municipal e-forms4 to 5 MB
  • Older intranet and HR portals4 MB per attachment
  • Support desks that accept attachments by form4 MB

The round binary numbers, 2 MB and 8 MB, tend to be deliberate. Four sits awkwardly between them, and it is one of the values that turns up in stock configuration: a post size ceiling here, a temporary file limit there, a proxy buffer somewhere else. When three different layers each have an opinion, the smallest one wins, and nobody who wrote the help text was necessarily aware of it.

How the tool hits 4 MB

1

Add the PDF

Drop it or browse. It is read into browser memory; nothing is uploaded, so a slow connection makes no difference.

2

Stages one and two: tidy, then the images

Unused objects, thumbnails and stale metadata go first, which costs nothing at all. Then the pictures inside the file are recompressed in place, starting at 200 ppi, while your text, links and form fields are left exactly as they were.

3

Stage three, only when it is needed

If the images were not where the weight was, the pages are rebuilt as pictures with an invisible text layer behind them, so the words stay searchable. It probes at 150 dpi, works out the resolution that should fit, and will not go below 60 dpi.

4

Download, and read the result line

It shows the final size and which stage produced it. If none fitted, you still get the smallest attempt, labelled honestly, rather than a file that silently missed the target.

The image ladderSeven rungs, from 200 ppi down to 60
200q82150q75120q66100q5880q5072q4260q36Rung 1: images barely touched (ppi above, JPEG quality below)Rung 7: visibly softYour text, links and form fields are untouched at every rung
Stage two walks down this ladder, recompressing the pictures inside the file and leaving everything else alone. It stops at the first rung under 300 KB, and abandons the ladder early when the images are not what is making the file big.
Stages
Three

Structure, then the images in place, then the pages as pictures. It stops at the first stage that fits.

Text after compression
Kept

Untouched at the first two stages. If the pages do get rebuilt, an invisible text layer keeps them searchable.

Bytes uploaded
0

The IDs, forms and statements people compress for portals never leave the device.

What fits in 4 MB, and what does not

At 4 MB the first attempt clears most documents. Text costs about forty kilobytes a page, a page with charts about a hundred and ten, greyscale scanning a hundred and thirty, and colour scanning nearer two hundred and forty. Only the colour sets of twenty pages or more need much work.

Try it

Will your file fit in 4 MB?

Enter the page count and what the pages contain. The estimate shows the attempt that is likely to succeed and what that attempt looks like.

Typical sizesCommon documents against the 4 MB line
80-page text contractabout 3.4 MB30-page report with chartsabout 3.3 MB30-page greyscale scanabout 3.9 MB20-page colour scanabout 4.8 MB4 MB
Estimates before any quality is traded away. Only the colour scan crosses the line, and it clears it after a rung or two.

When it cannot reach 4 MB

Some documents will not fit legibly, and the tool says so rather than pretending. When the result line reports a miss, three moves usually solve it:

  • Split first. Use Split PDF to break the file into parts and compress each. Most portals accept several attachments even when each one is capped at 4 MB.
  • Rescan the source. A fresh 150 dpi greyscale scan compresses far better than a colour scan that has already been through one compressor. Every pass costs quality, and the first pass should start from the cleanest source.
  • Check the real limit. Portals sometimes state one number and accept another. Read the fine print, or try a slightly larger file before compressing harder than you need to.
One pass, from the original
Compressing an already-compressed file compounds the quality loss without much further saving. If the first result is not right, run the original again rather than the output. And keep the original: the compressed copy is for the portal, not for your records.

A 4 MB cap is usually a default, not a policy

The difference matters because the two fail in different ways and respond to different things. A policy limit is written down, named in the help text, and enforced with a message that repeats the number back to you. A default limit is none of those. It lives in a configuration file somebody inherited, and when you exceed it the request dies before the application that was supposed to validate it ever sees the file.

Reading the rejectionTwo limits, two very different failures
Policy limitMessage names the size: "maximum 4 MB"Rejected after the upload completesYou stay on the same pageThe number appears in the help textDefault limitGeneric error, or a blank pageFails part way through, or instantlyOften a 413 or a connection resetNo number stated anywhere
A policy limit refuses the file and says why. A default limit drops the connection and leaves you guessing, which is the clearest sign that the number in the help text is not the one being enforced.

If the failure looks like the right-hand column, three things are worth trying before compressing harder. Upload from a wired connection or a different network, because a limit that bites part way through is sometimes a timeout wearing a size limit's clothes. Try a file comfortably under the stated cap, say 2 MB, to find out whether the real ceiling is lower than advertised. And if there is a support address, ask: a default limit is the one kind of limit somebody can raise in an afternoon, and it is worth an email before it is worth an hour of compression.

If the failure looks like the left-hand column, the cap is real and the tool above is the answer. At 4 MB it rarely costs anything visible. Most documents land on the first or second rung of the image ladder, which softens photographs slightly and leaves text exactly as it was.

One thing not to do in either case is rename the file to something smaller-sounding or change its extension. Size checks read the bytes, not the name, and a PDF renamed to dodge a filter arrives as a file the other end cannot open.

Where people use the 4 MB target

Typical jobsWhat gets compressed to this size
  • Coursework and dissertation submissions30 to 80 pages
  • Planning and building-control documents10 to 30 pages
  • HR and onboarding paperwork5 to 20 pages
  • Support tickets with attached evidence5 to 40 pages

Why this runs in your browser

The documents that hit an undocumented 4 MB wall are usually the ones somebody has spent weeks on: a dissertation, a planning submission, a completed case file. Handing a full copy to a third-party compressor to work around a configuration setting is a poor trade.

Two ways to compressOne of them never transmits the document
Your devicePDFin memoryBrowser enginecompressDownload0 bytes leavethe machineTypical online toolPDFon diskuploadServercopies filedownloadA full copy now sits on hardware you do notcontrol, under a policy you cannot audit
PDF.js renders the pages and pdf-lib rebuilds the file inside the tab. The document is read into memory, compressed there, and offered as a download.

The tool is right above

Everything on this page runs in your browser. Scroll up, drop the file, and keep it on your machine.

Jump to the tool

Common questions

The questions people have when a 4 MB limit refuses a file.

01Why do so many systems stop at 4 MB?

It is a common default in upload and server configuration rather than a considered policy, so it often applies without being documented anywhere.

02How can I tell a default limit from a real one?

A real limit names the size in its error message and rejects the file after the upload finishes. A default limit fails with a generic error, sometimes part way through, and states no number.

03Can a 4 MB limit be raised?

Sometimes, and it is worth asking. A default limit is a one-line configuration change, unlike a policy limit tied to storage costs.

04What fits in 4 MB?

Eighty pages of text, thirty pages of greyscale scanning, or roughly fifteen colour pages. Twenty colour pages need a rung or two of the ladder.

05Does renaming the file help?

No. Size checks read the bytes, not the filename, and changing the extension only produces a file the recipient cannot open.

06My file is already under 4 MB. Do I need this?

No. The tool checks first and hands a file that already fits straight back untouched.

07Are my files uploaded anywhere?

No. Rendering and compression run in your browser. The file never leaves the device.

08Is it free?

Free. Every tool, unlimited use, no signup.