You take a photo, open the application form, choose the file, and the portal says "invalid file type". The photo looks completely normal on your phone. The usual reason is HEIC, a newer photo format that many phones use by default and many portals do not accept. Here is how to recognise the problem and fix it.
What HEIC is and why phones use it
HEIC (also called HEIF) is a modern format that stores a photo in about half the space of a JPG at similar quality. Apple turned it on by default for iPhone cameras, and some Android phones, such as certain Samsung models, offer a similar option. It is a good format for saving storage, but many websites, older software and government portals were built around JPG and PNG and still cannot read it.
How to tell if your photo is HEIC
- The file name ends in .heic or .heif instead of .jpg.
- The file details show "HEIF" or "HEIC" as the type.
- The portal rejects the photo even though its size is right.
Fix 1: Make the camera save JPG from now on (iPhone)
Open Settings → Camera → Formats and choose Most Compatible. New photos will be saved as JPG. This does not change photos you have already taken, so retake the photo or use one of the other fixes for older pictures.
Fix 2: Convert an existing iPhone photo
- In Settings → Photos, under "Transfer to Mac or PC", choose Automatic. When you copy photos to a computer, they are converted to JPG when needed.
- Send the photo to yourself in an email app as a regular attachment. Some apps convert it to JPG when sharing for compatibility. Open the received file and check its extension.
- Apps like WhatsApp usually send photos as JPG, but they compress them further, so only use that route when quality is not critical.
Check the extension of the resulting file every time. It is the only reliable test.
Fix 3: Turn off HEIF on Android
If your phone has a "HEIF pictures" or "High efficiency pictures" setting in the camera options, switch it off for new photos. The name and place of this setting differ between brands and models, so look in the camera's settings menu.
Fix 4: Use the converter on this site
The image converter turns an image into JPG, PNG or WEBP in your browser. It can only open formats your browser understands. Safari on iPhone can often open HEIC photos, so the converter may work there. Other browsers may refuse to open a HEIC file. If you see a message that the image cannot be opened, use Fix 1 or Fix 2 first.
After converting: size and shape
A JPG made from a phone photo is usually still several megabytes. Most portals also have size and pixel limits, so continue with these steps:
- Set the exact pixel size in the image resizer.
- Reduce the file to the KB limit with the image compressor.
- Check that the final file name ends in .jpg and that the preview looks sharp.
The guide on why photo and PDF uploads get rejected lists the other common causes, in case HEIC was not the only problem.
Frequently asked questions
Does renaming photo.heic to photo.jpg work?
No. Only the name changes, not the content. Many portals read the actual content and reject the file, and some apps will fail to open it.
Will converting HEIC to JPG lower the quality?
JPG is a lossy format, so there is a small loss, but at normal settings it is hard to see. Convert from the original, and avoid converting the same file several times.
Should I change the camera setting back after the application?
That is up to you. HEIC saves storage. You can switch back to High Efficiency once your forms are done.