Sometimes, on double clicking a photo, you might get an error saying, ‘Windows Photo Viewer can’t open this picture.’ Other times, the image may only load halfway, look blurry, or distorted with lines, artifacts, and black or gray boxes. It happened to me, some days ago, I copied a set of travel photos from my SD card to my laptop. A few of them wouldn’t open at all, while some showed a gray block or artifacts in them.
Probably, the parts of my file’s underlying data got damaged during transfer, or storage, thus corrupting the JPEG file. But, can you fix corrupt JPEG photos that won’t open or display? Yes, the good news is it’s fixable. In this guide, I will share the simple steps that worked for me and how you can start with easy fixes and then move to a repair tool for severe issues.
Why Do JPEG Photos Stop Opening or Look Broken?
A JPEG file has two main parts, the header that tells your computer what kind of file it is. And the second part holds the picture data. If either part gets damaged, the photo may not open, or it may look wrong on the screen.
Here are the causes that explain why JPEG photos from a camera get corrupt:
- You pulled the SD card out or USB drive while photos were still getting copied.
- The camera or phone battery died while saving a photo.
- The drive has bad sectors, or small damaged spots on the disk.
- The download failed or file transfer stopped in the middle.
- A virus, or a faulty recovery tool, damaged the file.
- Your photo app is outdated or buggy.
In some cases, the small thumbnail shows up, but the full photo will not open. But it isn’t necessary that the cause is a damaged JPEG file. Sometimes, the photo viewer app or your device might need a fix.
First Start With The Easy Fixes
Do not rush to download anything yet. First, find out if the problem is the photo or the app that opens it. Try these quick checks:
1. Open the photo in another app
Before concluding a corrupt file. Try your web browser, Paint, or the Preview app on a Mac. If the photo opens there, your photo app is the problem, not the file. If it fails everywhere, the file itself is likely damaged.
2. Update your photo app and restart your computer
An old photo app can fail to open a working JPEG file. Open the Microsoft Store (or the App Store on Mac), update the Photos app, and restart your computer.
3. Check the file size and the file extension
Right-click the photo and choose Properties. If the size shows 0 KB, the file is empty, and the photo did not save properly. Also, check that the name ends with .jpg or .jpeg as a wrong extension can confuse your computer.
4. Copy the photo again from the source
The photo may have broken during the first copy. Copy it again from the SD card, phone, or cloud. Use a different USB port or a card reader if you can. A loose cable is a common cause of broken copies.
5. Check the file permissions on Windows
Right-click the photo, choose Properties, and open the Security tab. Make sure your account has permission to read the file. This often helps with photos that came from a recovery tool. See more walkarounds if recovered JPEG files do not open.
6. Scan the drive for errors
If many photos from one drive do not open, chances are that the drive may have errors. On Windows, you can run the CHKDSK scan to check it. But be very careful. First, copy your photos to another drive, because sometimes running a scan can further damage the files on a drive that is already corrupted.
Try Repairing the JPEG Photo
In my case, three methods worked on a few photos. But the rest still showed errors in every app. That told me the files themselves were damaged, most likely in the header or the picture data. No setting on my laptop could fix that, so I needed a tool that could repair the file.
I tried Stellar’s two options, one online and one for the desktop. Here is how each one works.
Stellar Online Photo Repair (best for a few photos)
Stellar Online Photo Repair runs in your web browser, so you do not have to install anything. It works on a laptop, and it also works from the browser on a phone. It supports JPG, HEIC, TIFF, and many RAW formats. You can try it for free with one photo (under 20MB), which is a nice way to test it before you decide anything else.
- Open the Stellar Online Photo Repair page in your browser.

2. Sign up if you haven’t and upload the photo that will not open.

3. Start the free repair and wait for it to finish.

4. Preview and download the fixed photo and open it.
Stellar says it deletes your uploaded photos after 24 hours from its data servers, which makes sense and which made me feel safe about using an online tool.
Stellar Repair for Photo (best for large files or batch photo repair)
My folder had dozens of broken photos. Uploading them one by one would take too long. So I used Stellar Repair for Photo, the desktop software for Windows and Mac. It can fix many photos in one go. It fixes various problems like a corrupt header, corrupt picture data, a broken file structure, and unknown or invalid JPEG markers.
- Download and install Stellar Repair for Photo on your computer, then open the software and click Add Photos.

2. Select all the JPEG files that will not open.

3. Click Repair and wait for the scan to finish. Next, click on each repaired photo to see a preview.

4. Save the photos you want in a desired location.
The thing I loved most was: First, I could see a preview of every repaired photo before saving anything. Second, for one photo that was very badly damaged, the software has an advanced option. You add a healthy photo from the same camera as a sample, and the tool uses it as a guide to rebuild the broken one. It works with JPEG and HEIC files.
The free trial shows the preview, but you need to buy a license to save the repaired photos. I think that is fair. The preview tells you if the tool can fix your files before you spend a penny.
Simple Habits to Keep Your JPEGs Safe
There are a few safe and simple habits that can save a lot of stress later.
- Always eject the card or drive before you unplug it.
- Never remove the SD card while the camera is saving a photo.
- Charge your camera battery before a long shoot.
- Keep two copies of important photos, such as one on your computer and one in the cloud.
- Do not fill a memory card with the very last photo.
- Run a drive check once in a while, especially on older drives.
Final Thoughts
A JPEG that will not open feels like a lost memory. But in most cases, it is just a damaged file, and you can fix it. Start with the simple checks: try another app, update your software, copy the file again, and look at the file size. If the photo still refuses to open, use a repair tool.
For one or two photos, Stellar Online Photo Repair is quick and works on the browser. For a big batch, Stellar Repair for Photo saves time and lets you preview results first. Most importantly, back up your photos regularly, because a good backup is the one fix that always works.
FAQs
Why will my JPEG file not open in Windows?
Either your photo app has a problem, or the JPEG file is damaged. Try opening the photo in another app first. If it fails everywhere, the file is probably corrupt, and you will need to repair it.
Can I fix a corrupt JPEG for free?
You can try the simple fixes in this guide for free. You can also try Stellar Online Photo Repair on one photo at no cost. For many photos, a paid tool is usually needed.
Can I repair a JPEG without installing software?
Yes. An online repair tool works in your browser. You upload the photo, run the repair, and download the fixed file. It is a good choice when you have only a few photos.
Will repairing a photo change my original file?
Not with the right tool. Stellar Repair for Photo only reads your original file and saves the repaired copy in a place you choose. Still, it is smart to keep a backup of the damaged file.
Can every damaged JPEG be repaired?
No. If the file is empty or most of its data is gone, a full repair may not be possible. Many photos with header or data damage can be fixed, though, so it is always worth trying.












