Fix: required image should be JPG format and file size should be less than 1024 KB
The error means the portal will only accept a JPG (JPEG) file smaller than 1024 KB, which is 1 MB, and your file fails at least one of those two checks. Phone photos commonly fail both: iPhones shoot HEIC and Android often saves large JPEGs of 3 to 8 MB. The fix is to convert the image to JPG, resize it down to the pixel size the portal asks for, and then compress it under 1024 KB, in that order. Resizing first is what lets the file drop below 1 MB without visible quality loss; compressing a full-resolution photo straight to 1 MB degrades it.
Fix it now: compress your photo under the limit
Runs entirely in your browser. Your photo never leaves your device.
Runs in your browser. Your photo stays on your device.
Why your file triggers the error
Two separate checks are behind the one message. Format: the file must literally be a JPG/JPEG; HEIC (the iPhone default), PNG, WebP, and PDF all fail, and renaming the extension does not convert the format. Size: the file must be under 1024 KB, and a modern phone photo is usually several megabytes straight off the camera.
Government upload portals in several countries use a 1 MB JPEG ceiling. India's e-Visa portal, for example, accepts a JPEG between 10 KB and 1 MB. Whatever portal showed you the message, the required file is the same: a real JPG under 1024 KB.
The fix, in the right order
1. Convert to JPG: export or re-save the photo as JPEG, do not just rename it. 2. Resize: scale the image down to the dimensions the portal asks for (or something sensible like 1200 px on the long side if it only gives a KB limit). 3. Compress: only then bring the file under 1024 KB. A photo resized first reaches that size at high JPEG quality with room to spare, so it stays sharp.
The free compressor on this page does all three steps in your browser: it reads HEIC and PNG, converts to JPG, resizes, and compresses below the limit you set. Your photo never leaves your device.
One warning about editing
Converting, resizing, and compressing prepare the file without changing what the photo shows, and every portal allows that. Filters, retouching, and AI background tools are a different thing: visa and passport portals reject digitally altered photos, so if the photo itself has a problem, retake it rather than editing it.
Frequently asked questions
Is 1024 KB the same as 1 MB?
Yes. 1024 KB equals 1 MB, so the error is asking for a JPG file smaller than 1 MB.
Why does my photo still fail after I renamed it to .jpg?
Renaming changes the extension but not the format: a HEIC or PNG file renamed to .jpg is still HEIC or PNG inside, and the portal reads the real format. Re-export the image as JPEG instead.
How do I get my photo under 1024 KB without making it blurry?
Resize first, compress second. Scale the image down to the pixel size the portal wants, then compress; at reduced dimensions the file lands well under 1 MB at high quality. Compressing a 4000 px photo directly to 1 MB is what causes visible artifacts.
Can I convert HEIC to JPG without installing anything?
Yes. The compressor on this page converts HEIC to JPG in your browser and compresses it below the KB limit in one step, without uploading the photo anywhere.
Now check your photo against the official spec
Free, in your browser, in under a minute. You pay $9 only if it passes, accepted or your money back.
Check my photo freeRelated guides
- Indian visa portal: 'Only JPEG files can be uploaded' error fixed
- India visa photo rejected: fix size, square and glasses
- DS-160 photo upload service unavailable: what it means and what to do
- CEAC 'Invalid Image Detected' error: how to actually get your upload through
- Vietnam eVisa: 'Portrait photo was captured from another source' explained
- Kyrgyzstan e-Visa photo requirements: 35x45mm explained
- Zambia e-Visa photo requirements: 35x45mm explained
- Mongolia e-Visa photo requirements: 30x40mm explained
- Jordan e-Visa photo requirements: upload spec explained
- Qatar Hayya card photo requirements: size and upload spec