Photo Repair

How to Fix Recovered JPEG Files Not Opening?

info-icon  Our content follows trusted Editorial Standards - accurate & unbiased.

Summary:

Recovered JPEG files sometimes don’t open due to a damaged JPEG header or file structure. While no image viewer can read a file like that, you can still try opening the file in IrfanView or XnView instead of your regular gallery app or Windows Photos. Another way is to rename the extension from .jpeg to .jpg, or vice versa. Read the article below for more alternatives to open a recovered JPEG file. If that photo turns out to be corrupt, simply use Stellar’s free online photo repair or the desktop photo repair tool for a larger batch of damaged JPEG files.

Table of Contents

Sometimes, recovered JPEG files throw an error or open as a blank white or grey box. Some of those files also open with visual artifacts, may have glitches, or are only half visible. This is often a result of JPEG file corruption due to partial overwriting that happened before recovery. Read this blog to explore 7 distinct fixes that can help repair files recovered from SD cards, memory cards, external drives, and more.

Why Won’t Recovered JPEG Files Open?

Some recovered JPEG ends up with a broken header or missing chunks of data due to partial overwriting. Most image viewing applications need the full file structure to open JPEGs without errors, and when that data is missing, they simply refuse to open the file.

7 Fixes for Recovered JPEG Files That Won’t Open

Recovered JPEG files won’t open sometimes because the recovery process often brings back damaged or incomplete file data. Most of the times, you will need to rebuild this data to open the JPEG files properly. Minor troubleshooting methods may help like renaming the JPEG file or opening it with other image viewing apps.

Solution 1: Repair the Corrupt JPEG File

A recovered JPEG may also become corrupt due to a file saving or transferring error. Here’s how to know whether you’re facing JPEG file corruption.

  • If the JPEG file throws an error the moment you try to open it.
  • It opens but shows only a grey or white screen.
  • The image loads halfway and then turns into a scrambled grid of color blocks.

The file shows a size of 0KB, which means there is no data left inside.

If a recovered JPEG file is corrupt, renaming or switching apps will not help. Since the file’s internal structure is damaged, you need to repair it.

Stellar’s Online Photo Repair Tool

This is the quickest way to test whether your JPEG file is repairable. On any browser, open the Free online photo repair tool and upload the file. The free trial allows you to fix 3 JPEG photo files under 20MB file size. Let the tool fix header damage, structural errors, and any other issues, then preview the result, and finally download it back to your device. If you have a file bigger than 20MB, upgrade to the paid version that comes with a 500MB per file size limit.

Embed:

Stellar Repair for Photo (Desktop Software with Batch repair)

The same online tool has a desktop version that allows you to fix a JPEG file locally on your Windows or Mac device. You can add all your damaged JPEG files at once, click Repair, and preview every result. To download the repaired files however, you’ll have to upgrade to the paid version.

  • Download and install the Stellar Repair for Photo desktop tool on your Mac or Windows system.
  • Open Stellar Repair for Photo software and click Add Photos.
Stellar Repair for Photo - Add Corrupt Photos
  • Select all your corrupt JPEG files. Click Repair and wait.
Stellar Repair for Photo - Repairing Corrupt Photos
  • Preview each JPEG photo and save the ones required.

If you have a larger batch, go with Stellar Repair for Photo (Desktop version) as it works locally on your computer.

Solution 2: Rename or Correct the File Extension

Sometimes, a recovery tool restores files without any extension at all, or tags them with .tmp or .dat. The file data inside might be completely fine. The only problem is that the name is wrong. Windows looks at the extension to decide what app to use, and if the extension is missing or incorrect…

  • Open File Explorer and go to View, then Details.
  • Look for a checkmark or toggle near ‘File name extensions’ and make sure it is on.
  • Now, right-click the recovered file and choose Rename.
  • Change the extension to .jpg and press Enter.
  • Windows will warn you that changing the extension might break the file.
  • Click Yes anyway and try opening it.

If the file already says .jpeg, rename it to .jpg and vice versa. Windows treats them as the same format, but certain apps are picky about which exact version they see.

Tip: Renaming only works when the actual data inside is intact. If the file still won’t open after you rename it, the data is damaged, and you need to fix it using an JPEG repair tool.

Solution 3: Try Opening the JPEG in a Different Image Viewer

Most gallery apps, including Windows Photos, aren’t flexible when it comes to opening a slightly damaged photo file. If a JPEG file has even a small structural issue or minor damage, it gets rejected immediately. Third-party specialized photo viewers are built differently and can often open files that normal apps fail to open.

One of them is – IrfanView, it’s free, small, and runs only on Windows. XnView is another option that works on Windows as well as Mac. GIMP is free for all platforms and handles more file types than either of those two. Download any one of them and try opening your recovered JPEGs.

  • In IrfanView, go to File and then Open, then navigate to your recovered file.
  • If it opens, even partially, go to File and then Save As right away.
  • Save it as a new JPEG to a different folder.
save JPEG image with IrfanView app
  • That saved copy will be a cleaner version of the file that opens normally in Windows too.

If IrfanView also fails to open your JPEG file, try GIMP or else move to the next method and try opening it using Windows Paint.

Solution 4: Open in Windows Paint and Re-save the Image

Paint is a popular Windows app that has been around since the beginning of Windows. Minor header problems, stripped metadata, and small structural issues often don’t bother Paint at all. If Paint can open a file that Photos won’t, you can use Paint to save a clean copy.

  • Right-click the recovered JPEG and choose Open with, then Paint.
Opening JPEG image with paint
  • If the image appears, go to File and then Save As.
  • Choose JPEG from the file type list.
save JPEG image with paint app
  • Give it a new name and save it to a different folder.

A lot of recovery-related metadata problems can get resolved through this process because Paint writes its own fresh version of the file structure when it saves the JPEG file.

Paint is not a repair tool, though. If the file looks completely blank inside Paint or doesn’t open, move to the next solution i.e. opening the file in Photoshop or Lightroom.

Solution 5: Try Opening in Adobe Photoshop or Lightroom

Photoshop and Lightroom use more advanced JPEG parsing compared to basic image viewers. Occasionally, they can open a file that every other app refuses to open, especially when the damage is mild and sits in the metadata or the color profile rather than the actual image data.

In Photoshop, go to File and then Open and select your recovered JPEG. If the image appears at all, immediately go to File and Save As. Save it as a new JPEG at the highest quality setting you can select. That newly saved file should be structurally clean.

If Photoshop shows a message saying it could not complete the request because of a program error, try File and then Open As instead.

open JPEG image with Adobe Photoshop

Manually pick JPEG from the format list. If it does not open try selecting Camera Raw. Sometimes, Photoshop needs the format specified directly rather than guessed from the extension.

open image as camera RAW with photoshop

Photoshop is good at handling mild corruption, but it does have limits. Severely damaged JPEG headers or files with large missing data blocks are beyond what it can recover on its own and needs a specialized photo repair tool like Stellar Repair for Photo.

Solution 6: Check File Permissions (Windows)

This one is easy to miss because it has nothing to do with the file being corrupt. Recovery tools sometimes restore files with wrong permissions. For these files, Windows blocks access and shows an Access Denied message, which can look a lot like corruption when it isn’t.

  • Right-click the JPEG file and choose Properties.
  • Go to the Security tab and click Edit.
image properties tab in Windows PC
  • Find your user account in the list, click on it, and check the box next to Full Control.
apply image properties in Windows
  • Click Apply and then OK. Now try opening the file again.

If you have a whole folder of recovered photos that aren’t opening, you can fix them all at once. Select everything in the folder, right-click, choose Properties, and then go to the Security tab. Edit the permissions for your account the same way.

If this fix works, it means the file was never actually broken at all. The permissions just needed a reset. No repair tool needed.

Solution 7: Run a Malware Scan on the Recovered Files

Storage devices that were infected with ransomware or other malware before the photos were deleted can cause recovered files to come back in an encrypted or locked state. The file exists, it has a normal file size, but nothing can read it because the data was scrambled into ciphertext at the source.

Run Windows Defender or any antivirus tool on the folder where the recovered JPEGs are stored. This scan is vital to help detect, isolate, and quarantine malicious codes. But that does not mean the damaged JPEG file will open. Here, a major issue is that malware encrypts a file that no repair tool or antivirus software can decrypt to open.

But exceptions are there. If there is an intermittent or partial encryption where poorly optimized ransomware only scrambles a small portion of the file. In these specific cases, an advanced file or image repair tool may be able to pull data from these files that were only partially encrypted.

If ransomware fully encrypted your photos before they were deleted, no antivirus systems or even advanced image repair tools can decrypt them or make them viewable.

How to Prevent Recovered JPEG Files from Becoming Corrupt?

  • Stop using the storage device immediately after you notice data is missing.
  • Always save recovered files to a different drive than the one you are recovering from.
  • Do not install recovery software onto the same drive you are trying to recover.
  • Let recovery run until it fully finishes.
  • Use a reliable recovery tool from the start.
  • Back up photos to at least two places after every shoot.
  • Use a card reader to transfer photos rather than a USB cable connected to the camera.
  • Format memory cards inside the camera rather than on a computer.

Wrapping Up:

If you cannot open recovered JPEG files, it doesn’t always mean the file is completely gone. Maybe it is the wrong extension – where file name says .jpg, but inside, it is actually a different format. Maybe it has a broken header or the image data could be corrupt. All of these issues can cause a JPEG file not opening error. However, you can fix these issues with the help of the above solutions because the actual photo data is still inside the file.

But if the file was completely overwritten by new data, or fully encrypted by malware, then the photo is gone. In these cases, the original data does not exist inside the file anymore. No software or repair tool can fix it because there is nothing left to repair.

Frequently Asked Questions

If the recovered JPEG image refuses to open - shows a broken thumbnail - the JPEG image detail are missing, or it shows irrelevant data like 0KB or 1KB. The image is likely corrupt or damaged.
Yes, there are various photo repair tools that help you fix a corrupt photo file. Just upload the corrupt photo file, and you get the fixed one.
A blank or grey image means the JPEG file header exists but the actual pixel data inside it was not fully restored during recovery. Image viewing apps may open these files but cannot read the data inside, and show you a blank screen instead.
That’s because thumbnails are generated and stored separately from the actual image file. If you can see the thumbnail but the file refuses to open, the image data itself is corrupt and needs repair.
Sometimes, files that won't open at all can be repaired if any portion of the raw data gets recovered. The only unrecoverable situation is where the data was fully overwritten before recovery or fully encrypted by malicious programs.

About The Author

Totan Banerjee linkdin

With more than 8 years in technical writing, Totan Banerjee specializes in one thing: helping people recover what they thought was lost. From photo and video restoration to SD card recovery and corrup...

57 comments

  1. Hello,

    I visited a bird sanctuary and clicked lots of photographs. When I connected my camera to my laptop, then lots of photos were not opening. I am very thankful to you and your software because I repaired all my corrupted pictures.

  2. I recovered the data from a data recovery software, but my photographs are corrupt after recovery. Does the jpeg repair tool work for me?

    1. Hi Agnes,

      Yes, Stellar Repair for Photo software will work for you. Download the demo version of our software from here and install it. Select corrupt photos and repair them.

    1. Hi Brandon,

      Stellar Repair for Photo software doesn’t support the RAW format. You can convert the RAW files into the JPEG format and repair them. You can use Lightroom to convert the files.

      If you have further query, then please let me know.

      Thanks

  3. Hi Jyoti,

    I have some photographs in external hard drive. Some data is corrupt of the drive. Is it possible to repair photos from an external drive?

    1. Hi Cynthia,

      To repair the photos from external hard-drive, you need to copy these photographs from external hard-drive to your system drive. After that, download our product and install it. Select the corrupt photos and repair them.

      If you have a further query then feel free to ask.

      Good Luck!

  4. I have some corrupt photos in my pen drive (around 350). should I repair them one by one with jpeg repair tool?​

    1. Hi William,

      Stellar Repair for Photo software can repair multiple photos at the same time. Select the corrupt photos and press the Repair button, and It will repair all the chosen photos.

      Good Luck!

  5. Photos are saved in SD card, and some photos are corrupt. Should I copy these photos to my computer to use JPEG repair software?

    1. Hi Emily,

      First of all, scan the SD card by Anti-virus program. After that, copy all the photos in your computer and try our Stellar Repair for Photo software to repair corrupt pictures.

      Good Luck!

  6. My camera encounters error messages while attempting to open an image file. There are cases where either the image file becomes corrupt or the storage media is corrupt. I used one very adept tool Read More to solve both the purpose of fixing image file and file recovery.

  7. I have some photos on a pen drive, and I connected it to my laptop. I think my laptop has a virus, so my photos are not visible now.

    What should I do?

    1. First of all, use the good antivirus program and scan your PC as well as pen-drive.
      Copy photos from pen drive to PC. Download and install Stellar Repair for Photo software. Repair your corrupted photos and save them.

      Please also read the tips in the last section to secure your photos in future.

      I hope it will work for you.

      Good Luck!

      1. Hi Jyoti,
        I lost my files from USB, I had retrieved.
        them with the help of software , but i cannot open PDF , Word, excel, Jpg file,,though i can see the files already retrieved. Help me please.

      2. Hello Kulvinder,

        Thanks for contacting Stellar Data Recovery

        It seems that all your shared file format is corrupted which can be easily repaired using Stellar Data Recovery various tools

        Please look at our various tools below for complete solution

        You can try our Stellar Toolkit for File Repair which helps you to repair Excel, Word, PowerPoint, Zip related files
        For PDF files, we recommend using Stellar Repair for PDF
        For JPG files, please use Stellar Repair for Photo Software

        By taking help of these software, you can easily recover all your files

  8. Hi,

    I am unable to open my photos but, photos were neither deleted nor corrupted before 2 days. I simply shut down my PC. Today I opened it and saw, some photos (JPEG extension) are not opening. What does it mean?

    1. Hi Rozar,

      As you are unable to open your photographs so, it means that your photos are corrupt. It could be due to several reasons like virus attack, Improper shutdown, hardware issue, etc.

      Download our Stellar Repair for Photo software. Select your corrupt photos and, click on Repair button. More information with screenshots is available here

      1. I have already used your software but photo’s not open still error occurred…

      2. Hi, You can contact our Customer Support Team on support[@]stellarinfo.com or on +1-877-778-6087 (TOLL FREE)

        Hope it will help you…

  9. The blog title is same as my situation. First I tried a recovery program to recover my lost photos which I captured by Sony SLT a58. I recovered all but picture quality was so fade (Not same as before). I installed your photo repair software and select one picture to check the output. Out was perfect so I ordered it.
    Lots of thanks to you…

Leave a comment

Your email address will not be published. Required fields are marked *

Google Trust
Related Posts

WHY STELLAR® IS GLOBAL LEADER

Why Choose Stellar?

  • 0M+

    Customers

  • 0+

    Years of Excellence

  • 0+

    R&D Engineers

  • 0+

    Countries

  • 0+

    PARTNERS

  • 0+

    Awards Received

BitRaser With 30 Years of Excellence
Technology You Can Trust
Data Care Experts since 1993
×