Docsdom
File Too Large to Upload? Why It Happens Even Under the Limit

File Too Large to Upload? Why It Happens Even Under the Limit

Why a form rejects a file that looks small enough, how KB is counted differently on Mac, Windows, and websites, and the quickest fix for photos and PDFs.

Published

The file looks small enough, but the form says no

Your file manager says 49 KB, the form allows 50 KB, and the upload is still rejected. Or the error says the file is too large when the real problem is something else. Both are common, and both have simple explanations.

The usual causes, roughly in order:

  • The website counts KB differently from your computer
  • The file is close to the limit and your computer rounds the size down
  • The limit is for pixel dimensions or the total of all uploads, not just this file
  • The format is wrong, and the form reports it as a size problem

1 KB is not the same everywhere

A kilobyte can mean 1,000 bytes or 1,024 bytes, and different software uses different ones. Mac Finder counts 1 KB as 1,000 bytes. Windows File Explorer counts 1 KB as 1,024 bytes and rounds sizes up to the next whole KB. Websites can use either.

So a photo of 51,000 bytes shows as 51 KB on a Mac but 50 KB on Windows. A portal that allows 50 KB and counts 1,000 bytes per KB rejects it, even though Windows showed exactly 50 KB.

The fix is to leave a little room. Aim a few KB under the limit, or use a tool that does it for you: Compress Image and Compress PDF both treat a 50 KB limit as 50,000 bytes, so the result passes whichever way the portal counts.

When the error is not really about size

Some forms show a generic size error for any file they cannot accept. Check these before compressing further:

  • Pixel dimensions: a 4000-pixel-wide photo can be rejected even when its KB size is fine. Set the exact width and height with Resize Image
  • Format: iPhone photos may be HEIC, and many forms take only JPG. Images saved from websites may be WebP. Convert them with PNG to JPG, which also accepts WebP
  • Total limit: some portals cap all uploads together, for example 5 MB across every document
  • Minimum size: a file below the minimum, such as under 10 KB, is rejected too, sometimes with the same message

The fastest fix for photos

Open Compress Image, choose the form's maximum, such as Under 50 KB or Under 100 KB, and add the photo. The result is a JPG under that limit, kept as sharp as the limit allows. If the form gives pixel dimensions as well, resize first and compress second.

Two details help with strict forms. A photo that is already under the limit comes back unchanged, so you never get a worse copy of a file that already fits. And a PNG with a transparent background is saved with a white one, which is what photo slots expect.

For exam-specific photo and signature sizes, see our list of photo and signature sizes for online forms.

The fastest fix for PDFs

Scanned documents and PDFs made from phone photos are usually the problem, because each page is a large image. Open Compress PDF, choose the portal's limit, such as Under 200 KB or Under 1 MB, and add the file. Pages become compressed images, which is why the file shrinks so much. Text in the result can no longer be selected, which is fine for certificates and ID proofs.

If a long PDF still cannot reach the limit, upload only what the form asks for: delete extra pages with Remove PDF Pages or save a page range with Split PDF.

Email attachments

Email has limits too. Gmail allows attachments up to 25 MB per message and turns anything larger into a Drive link, and Outlook.com allows about 20 MB. Several phone-scanned PDFs can pass that quickly. Compress each PDF, or send the documents across two emails.

If the person receiving the files needs to copy or edit text, compression is the wrong fix, because compressed pages can no longer be selected. Share the original through a cloud storage link instead, and keep compression for documents that only need to be read.

Try Compress PDF

Free, with no account. It runs in your browser, so your files are not uploaded.

Open Compress PDF