Fix an Invalid Image Format Upload Error
The form only takes certain file types, and yours is not one, or only looks like one. "Only JPG allowed", "signature JPG is not valid", or a flat refusal of a HEIC or PNG file all point to the same fix: give the form a real file of the type it accepts. The most confusing version is a file named photo.jpg that the form still calls invalid, and it has a simple cause once you know what to look for.
Drop images here or click to upload
PNG, JPG, WebP, GIF, AVIF, HEIC — up to 50MB each
Output lands at or under your target. JPEG and WebP only.
- Files never leave your device
- Runs in your browser
- Free, no signup
Why a valid-looking JPG is reported as invalid
A file name has two parts, the name and the extension, like photo and .jpg. The extension is only a label. What actually matters is how the image data is encoded inside the file. Phones and editors sometimes save a HEIC or a PNG and only change the label to .jpg, so the name says JPEG while the contents are something else entirely.
A careful upload form opens the file and reads its real format, not just the extension. When the label and the contents disagree, it reports the JPG as invalid, even though the file opens fine when you double-click it on your own computer. This is the cause behind most confusing 'jpg is not valid' rejections, and renaming the file does not fix it because renaming only changes the label.

The cure is to re-encode the image, which rewrites the actual data as a genuine JPEG so the contents finally match the .jpg name. Once they agree, the form accepts the file.
Re-encode the file to a true JPEG
Drop the file into the tool above and save it again as JPEG. The tool decodes whatever the image really is and writes a fresh, valid JPEG, so the new file is a real JPG inside and out. Upload that file instead of the original and the format check passes.
This single step fixes the largest group of format errors, because it does not matter what the file secretly was before. A mislabeled PNG, a HEIC with a .jpg name, or a JPEG that an app saved in an unusual way all come out as a clean, standard JPEG that forms recognise.
While you are re-encoding, you can also set the file size to the form's limit in the same step, so the result is both a valid JPEG and inside the allowed KB window. That saves a second pass through another tool.
Read moreRead less
HEIC photos from an iPhone
If you use an iPhone, your photos may be saved as HEIC, a modern format that stores good quality in a small file. The problem is that many upload portals do not accept HEIC at all, and some accept it but then fail in confusing ways. Converting to JPG turns a file the form refuses into one it expects.
You can change the iPhone setting so the camera captures in the more compatible JPEG format for future photos, under the camera format setting. For a photo you already have, converting it is faster. Use HEIC to JPG directly, or just re-save it as JPEG with the tool above, and upload the converted file.
Android phones usually save JPEG already, but a screenshot or a downloaded image on any phone can still be a PNG, so the same conversion applies if a form rejects it for the format.
PNG, WebP, and which format to upload
JPG is the safe default for photos and signatures on almost every form, so when in doubt convert to JPG. A few forms ask specifically for PNG, usually for a signature where a transparent or very crisp black-on-white image is wanted, so read which types the form lists before you convert and match it rather than assuming.
WebP is a newer web format that some sites produce but few upload forms accept, so if your file is a WebP and the form rejects it, convert it to JPG. The general rule holds: give the form exactly the type it names, and use JPG when it does not say.
Need a specific conversion rather than a general re-save? Use PNG to JPG or WebP to JPG directly. Each runs in your browser, so the file is never uploaded to convert it.
Signatures and the invalid-format error
Signatures hit this error more than photos, because a signature is usually captured in a hurry: photographed off a piece of paper, screenshotted, or saved from a chat, any of which can produce a PNG or a mislabeled file. Re-encoding it to a true JPEG at the small size the form wants fixes both the format and the size at once.
For a clean result, sign in dark ink on plain white paper, photograph or scan it in even light, and crop close to the signature before saving. A high-contrast, tightly-cropped signature converts cleanly and is also more likely to pass the visual review than a faint or cluttered scan. If the signature also fails on size, the same re-save lets you set it under the form's limit.
Format is right but it still fails
If the file is now a genuine JPEG and the form still refuses it, move to the other two checks. The file may be over the size cap or under the floor, so set it inside the form's window. The dimensions may be wrong, so resize to the exact pixels the form requires.
If the photo passes size, format, and dimensions and is still rejected, the issue is likely appearance rather than the file, such as a busy background or unclear face. Those need a new photo, not a new file, so check what a tool can and cannot fix.
Converting privately in your browser
Re-encoding and converting run entirely inside your browser here, on your own device. The file is never sent to a server to change its format, which is reassuring when the image is an ID photo or a signature you would rather keep to yourself.
There is no upload, no account, and no watermark. You give the tool the file, it writes a clean JPEG, and the only place that file travels to is the form you choose to submit it to.
Frequently asked questions
Fix by the exact error
Most rejections are mechanical, the file is too big, too small, the wrong pixels, or the wrong type. Pick the message your form showed.
Rejected for how the photo looks, not the file?
Blur, lighting, head size, or a busy background cannot be fixed by resizing or compressing. See what is and is not fixable.