HEIC to JPG: why a form rejects your iPhone photo, and three ways to fix it
5 minutes, updated 2026-11-09
You pick a photo on your phone, the form says 'invalid file type', and the file name ends in .HEIC. Nothing is wrong with the photo. It is saved in a format that most upload forms were never built to read, and the fix takes a minute once you know where it comes from.
What HEIC is
HEIC is Apple's name for a HEIF image: the picture is compressed with HEVC, the same codec many phones use for video. It stores a photo at roughly half the size of a JPG of similar quality, which is why iPhones have used it by default since iOS 11 on the iPhone 7 and later. Some Android phones offer the same thing as a 'high efficiency pictures' option in the camera settings.
The catch is support. Safari on Apple devices opens HEIC, but most browsers on Windows and Android do not, Windows itself needs the HEIF Image Extensions from the Microsoft Store to show them, and nearly every government, exam and job portal accepts only JPG, sometimes PNG or PDF.
Why renaming the file does not work
Changing photo.HEIC to photo.jpg only changes the label. Upload checkers read the first bytes of the file, which still say HEIF, and refuse it; the ones that do accept it then fail to show a preview. The picture has to be re-encoded as a real JPG.
Fix 1: make the iPhone shoot JPG from now on
- Open Settings, then Camera, then Formats.
- Choose 'Most Compatible'. New photos are saved as JPG (and videos as H.264).
- Photos you already took stay HEIC; this setting only affects new ones.
Fix 2: let the phone convert when you copy
Under Settings, then Photos, the 'Transfer to Mac or PC' option set to Automatic converts photos to JPG when you copy them to a computer over a cable. Picking a photo straight from the photo library inside a web form often converts it too. It does not happen when the file comes from the Files app, a cloud drive, a chat download or a computer, which is exactly when a HEIC reaches a form.
Fix 3: convert the files you already have
Drop the HEIC files on the convert tool and choose JPG, or drop them straight on the fit-to-size tool if the form also has a KB limit; it decodes HEIC and writes a JPG under the limit in one step. Outside Safari the browser cannot read HEIC by itself, so the page fetches a decoder (libheif, about 3 MB) from this site the first time. The photo is decoded on your device and never uploaded.
A converted 12 MP photo at quality 90 is usually 2 to 4 MB, larger than the HEIC was, because JPG is the older, less efficient format. That is normal. If the form has a size limit, let the fit-to-size tool bring it down rather than lowering quality by hand.
Quick answers
| Situation | What to do |
|---|---|
| Form says the file type is not allowed | Convert to JPG; renaming is not enough |
| Form accepts the HEIC but the preview is blank | Convert to JPG; the portal cannot decode it |
| Photo looks sideways after converting | Use the rotate tool; it writes the turn into the pixels |
| Converted JPG is too big for the limit | Use the fit-to-size tool with the form's KB limit |
| You need many photos converted | Drop them all at once and download one ZIP |