1. Home
  2. Guides
  3. Why an upload form says your file is not an accepted image type

HEIC · Image formats

Why an upload form says your file is not an accepted image type

The form is telling you it only accepts certain image formats — almost always JPG and PNG — and your file is something else. The four usual culprits are a HEIC photo straight from an iPhone, a .jfif file Windows produced when you saved an image, and .webp or .avif files saved from a website. None of them are broken; they are simply formats the form was not built to take. Converting the file to JPG or PNG fixes it in every case. Renaming the extension sometimes works and sometimes does not, for a reason worth understanding: it depends on whether the form checks the name or reads the file.

What the form is actually checking

Upload forms validate images in one of two ways, and which one you are facing decides whether renaming will save you.

The cheap check reads the file extension and the MIME type your browser reports. This is the one that rejects a photo named IMG_4821.HEIC purely on the strength of those four letters. Rename it to .jpg and this kind of form is satisfied — even though the file is still a HEIC inside, which usually means it fails later, or uploads successfully and then displays as a broken image.

The thorough check ignores the name entirely and reads the first few bytes of the file, where every image format carries a distinctive signature. This is the check that produces the frustrating case: you renamed IMG_4821.HEIC to IMG_4821.jpg, the form still refuses it, and nothing you do to the filename makes any difference. It has looked inside and seen that the contents are not a JPEG.

A real conversion satisfies both, because it produces a file that genuinely is what its name claims.

Need to convert the file?

HEIC to JPG

The four files that cause this

A HEIC photo from an iPhone. Since iOS 11, iPhones save photos as HEIC by default, and most upload forms — job applications, government portals, insurance claims, marketplace listings — have never been updated to accept it. This is by far the most common cause.

A .jfif file from Windows. If you saved an image from a browser or Outlook and Windows named it .jfif, that file is a perfectly ordinary JPEG with an unusual extension, caused by a registry mapping that certain Windows and Office updates set. Forms reject it on the name alone.

A .webp file saved from a website. Most images on the modern web are served as WebP, so "save image as" hands you one. Browsers display them everywhere; upload forms rarely accept them.

A .avif file, for the same reason as WebP but newer, so support is thinner still.

Why the file size limit is sometimes the real problem

It is worth ruling this out, because the error messages read similarly and people spend a long time converting a file that was never the wrong format. If a form rejects a photo without naming a format, check the size limit. A modern phone camera produces files of 3 to 12 MB, and plenty of older forms cap uploads at 2 MB.

Converting a HEIC to JPG makes the file larger, not smaller, so it will not help there. Converting to JPG at a smaller resolution will.

What to do

Convert the file to JPG, which is accepted by essentially every form ever written. PNG is the alternative when the image has transparency or is a screenshot of text, where JPEG compression looks soft.

Every converter on this site runs inside your browser rather than uploading to a server, which is worth something when the file in question is a passport scan, a medical document or a photograph of yourself for an application. The file never leaves your device.

Frequently asked questions

What does "not an accepted image type" mean?

The upload form accepts a fixed list of image formats, usually JPG and PNG, and your file is not one of them. It is a restriction in the form, not a fault in your file. Converting the image to JPG resolves it.

Why does the form reject my iPhone photo?

Because it is a HEIC file. iPhones have saved photos in HEIC by default since iOS 11 in 2017, and most upload forms only accept JPG and PNG. Convert it to JPG and it will upload.

I renamed the file to .jpg and it still will not upload. Why?

Because that form reads the contents of the file rather than trusting its name, and the contents are still HEIC. Renaming changes the label, not the data. Only an actual conversion changes what is inside.

Which image formats do upload forms usually accept?

JPG and PNG are safe almost everywhere. GIF is often allowed. HEIC, WebP, AVIF, JFIF, BMP and TIFF are all commonly rejected, and SVG is usually blocked deliberately because it can contain scripts.

Will converting reduce the quality of my photo?

Converting to JPG re-encodes once at quality 0.92, which is not visible on a photograph. Converting to PNG is lossless and loses nothing at all, at the cost of a larger file.

Do I have to upload my file somewhere to convert it?

Not here. The conversion runs inside your browser tab, so the file is never transmitted. That matters when the document is an ID, a medical record or anything else you would rather not hand to a third party.