Skip to content
CompressFilesSize
Troubleshooting7 min read·Updated December 3, 2026

File Too Big to Upload? Fix It by File Type

“File too large” is not a compression problem in general. It is a specific number, a specific format, and usually a specific mistake: resizing the container instead of the contents. Here is how to fix the five file types that cause most upload failures.

Find the real limit and the real size

Portals often state the limit twice: once in the interface and once in an error message after upload. Check the file size in bytes, not the rounded number in your file manager. A file listed as 25.1 MB will fail a 25 MB cap even though it looks like 25.

Leave a margin. Target 24 MB for a 25 MB limit, 9.5 MB for 10 MB, and 0.95 MB for 1 MB. Encoding overhead and server-side checks can add a little on the way in.

Photos: resize before you lower quality

A 12 MP photo does not need 4000 px to look good in a form. Resize the long edge to 1600–1920 px and encode at 78–82%. A 6 MB photo becomes 300–500 KB. If the limit is 1 MB, 1200 px at 75% is usually enough.

If the form requires a specific pixel size, resize to those exact dimensions first. Cropping and compressing in the wrong order produces soft images that still fail the dimensions check.

  • 1 MB: 1200 px long edge, 75% quality.
  • 2 MB: 1600 px, 78%.
  • 5 MB: 2400 px, 82%.
  • 10 MB: keep the original unless it is a RAW export.

Video: do the bitrate math

Target size in megabytes times eight gives megabits. Divide by duration in seconds to get the total bitrate budget, then subtract audio. For 25 MB and 60 seconds: 25 × 8 / 60 ≈ 3.3 Mbps total, or about 3.2 Mbps for video after audio. That is comfortable at 720p.

If the clip is five minutes, the same 25 MB allows only about 0.65 Mbps — 480p territory. Shortening the clip is often better than crushing the quality. Trim the intro, cut dead air, or export only the relevant section.

  • 10 MB: about 60 seconds at 720p, or 2–3 minutes at 480p.
  • 25 MB: about 60–90 seconds at 720p.
  • 50 MB: about 5 minutes at 720p.
  • Over 100 MB: use a file-transfer link instead.

PDFs: compression happens before the ZIP

A PDF is a container for text, fonts, and images. Zipping it rarely helps because much of the content is already compressed. The real fix is to re-export the PDF with compressed images or use a PDF optimizer that downsamples images to 150–200 DPI.

Scanned documents are the worst offenders: each page is a full image. A 30-page scan at 300 DPI can exceed 20 MB. Re-scan at 200 DPI in grayscale, or run OCR and save a text-based PDF.

ZIPs: shrink the contents, then rebuild

If a ZIP is over the limit, unpack it and look at the largest files. Compress the photos, re-encode the video, remove duplicates, then build a new ZIP. Repacking the old archive at maximum compression will not beat the size of its contents.

Also remove __MACOSX folders, .DS_Store, and Thumbs.db. On archives assembled on a Mac, these can add several megabytes for no benefit.

When the portal is simply wrong

Some forms reject files that meet the stated limit because of a server-side setting, an extension whitelist, or a filename issue. Rename the file to remove spaces and special characters, try a different browser, and check whether the portal accepts ZIP but not RAR. If nothing works, contact the operator with the exact byte size and format.

Try it

Compress to a target size

Start with 10 MB, 15 MB, or 25 MB — the most common portal limits.

Open the compressor

Written by the CompressFilesSize editorial desk. We test every recommendation in a current desktop and mobile browser, and we publish the actual behaviour of the tool rather than theoretical compression ratios.