Why a website won’t accept your file, and how to fix it

When an upload is refused, the message is often vague. The cause is nearly always one of a handful of rules, and each has a quick fix.

Updated

Read the rule first

Most forms state their rules next to the upload button or in the instructions: the formats allowed, a maximum (and sometimes a minimum) size in KB or MB, and sometimes a size in pixels. Write them down before changing anything. The table matches common messages to their usual cause.

MessageUsual causeFix
File size exceeds the limitToo many KB or MBCompress image, compress PDF or compress video
File size should be between 10 KB and 20 KBToo large, or too smallCompress, or resize a little larger
Invalid file type / format not supportedHEIC, WebP, PNG or AVIF where JPG is requiredHEIC to JPG, WebP to JPG, PNG to JPG
Image dimensions are not validWrong width or height in pixelsResize image
Upload a single PDFSeveral pictures or filesImage to PDF or merge PDF
The file could not be readPassword-protected or damaged PDFSee PDF problems

The file is too large

Limits are usually given in KB or MB, and nearly all forms count 1,024 bytes to the KB and 1,024 KB to the MB, as Windows does. So 1 MB is 1,024 KB, and a limit of 200 KB allows up to 204,800 bytes. The KB to MB converter helps when the form and your phone use different units.

The file is too small

Some forms set a minimum, such as “between 10 KB and 20 KB”, to keep out tiny, unreadable pictures. A file under the minimum has too few pixels or too little detail. Resize it a little larger with resize image, keeping within any pixel size the form gives, then compress it to the upper limit. Do not stretch a very small picture far: it gets bigger in KB but blurrier.

The format is not accepted

Forms that ask for “JPG/JPEG” refuse other picture formats, even when the picture looks the same.

Renaming a file from .heic or .png to .jpg does not convert it, and a careful form checks the content as well as the name. The one safe rename is between .jpeg and .jpg, which are the same format with two spellings.

The picture is the wrong size in pixels

If the form names a width and height, such as 200 × 230 pixels, set them with resize image. If the proportions differ from your photo, crop first with crop image or passport photo size, so that nothing is stretched. When the size is given in centimetres and DPI, the DPI guide shows how to work out the pixels.

PDF problems

  • Password-protected PDFs, such as some bank statements, are often refused because the website cannot open them. Save an unprotected copy from the app that created it, or ask the sender for one.
  • Several pages or photos that must be one file: combine pictures with image to PDF or PDFs with merge PDF.
  • Pages sideways or upside down: rotate PDF.
  • Too many pages: keep the ones asked for with extract PDF pages or split PDF.
  • Fillable forms that look blank after upload: flatten the PDF so the typed answers become part of the page.

The file name

Some systems refuse names with spaces, accents, symbols or more than a few dozen characters, or two dots such as photo.final.jpg. Rename the file to plain letters, numbers and hyphens, for example photo-2026.jpg, keeping the extension.

It still fails

  • Check the file opens on your own device. A file that was cut off while downloading or copying will not open anywhere.
  • Large uploads on a slow or mobile connection can time out. Try again on a steadier connection, or make the file smaller.
  • Try another browser, and make sure the page has finished loading before you choose the file.
  • If the form gives no reason at all, contact the organisation that runs it: only they know the exact rule.

Questions

Why does my phone show a different size from the form?

Many phones count 1,000 bytes to the KB, while most forms count 1,024. A file shown as 205 KB on a phone can be 200 KB to the form, and the other way round near a limit. Aim a little under the limit.

Can I just rename a PNG or HEIC file to .jpg?

No. Renaming does not change what is inside the file, and many forms check the content. Convert it instead. Renaming .jpeg to .jpg is fine, because they are the same format.

Why is a file under the limit still refused?

Check the other rules: format, pixel size, minimum size and file name. A form often reports any failed check as a size or format error.

Are my files uploaded when I use these tools?

No. The tools on this site process the file in your browser and save the result to your device; the privacy policy explains this in detail.

Last reviewed .

Related converters and guides

More guides