“File exceeds the maximum size”: how to get a PDF under 2 MB or 5 MB

Updated on 1 November 2026 · Avanzaremos

It is the most common error when uploading documents to a job portal, a university or a government site: “the file exceeds the maximum allowed size (2 MB)”. The good news is that it can almost always be solved in a minute.

Why your PDF is so large

Text takes almost no space. What makes a PDF large are images: pages scanned at high resolution, 12-megapixel phone photos or screenshots. A 10-page scanned PDF can weigh 20 MB and a 50-page Word export, 300 KB.

Step 1: compress the PDF

Open Compress PDF and choose the “Recommended” level. It recompresses only the images and leaves the text intact and selectable. Next to the download button you will see the final size: compare it with the portal’s limit.

Step 2: if it is a scan, make it black and white

Turn on “Convert images to black and white”. In scanned documents colour adds nothing and removing it cuts the size much further.

Step 3: if it still does not fit

  • Use the “Maximum” level: text stays sharp, only photos lose detail.
  • Remove pages they did not ask for with Delete pages (attachments, blank sheets).
  • If the portal accepts several files, split the document with Split PDF.

If what you have are photos

Do not put them into a PDF straight from the phone. Shrink them first with Compress images (a longest side of 1600 px is enough to read a document) and then join them with JPG to PDF. If they ask for a photo under 100 KB, use Reduce image size in KB.

What to avoid

Avoid uploading documents with personal data to online compressors that process them on their servers. The tools linked here work inside your browser.