Learn how to repair corrupted Notepad files in 4 simple steps

Reading time icon 3 min. read

Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Notepad in Windows is a handy little utility that can be used for many things, from taking notes to creating batch files as well as registry entries. However, the text files created on Notepad or other text editing programs like NotePad++ are prone to file corruption in case of system crashes or freezing.

Users have reported that their notepad files have become corrupted and showing Null characters after their system crashed or froze resulting in a forced restart.

If you have a corrupted file that you want to recover, here are a few troubleshooting tips that you can try to recover the text file.

How do I repair corrupted Notepad files?

1. Restore the Previous Version

  1. Open “File Explorer” from the taskbar.
  2. Now navigate to the location where the text file stored.
    Restore Previous Version recover corrupted txt file
  3. Right-click on the stored file and select Restore Previous Version.
  4. Select the Previous Version and click on Restore.
  5. If successfully restored, open the Text file in Notepad to see if the corrupted text file is repaired.

Note: Restore Previous version option will be mostly available for old files. However, do give this method a try to see if your text file has a previous version that can be restored.

2. Run Recuva Recovery Wizard

  1. Download and install Recuva free version.
  2. Run Recuva wizard and click on Next.
  3. Under File type, select Documents.
  4. For File Location, select “In my specific Location“.
    Recuva select file location
  5. Click on the browser button and select the folder where your corrupted text file stored.
  6. Click on Next.
  7. Check “Enable Deep Scan” option.
    Recuva enable Deep scan recover corrupted text file
  8. Click on the Start button to begin the scanning.
  9. Wait for the scanning to finish.
  10. Recuva will list all the recovered documents. Select your File and Restore it.

If  Recuva couldn’t find the backup file, search for the undeleted files.

  1. Start Recuva.
  2. If the Wizard appears, select the document type, location and start scanning.
  3. Once the scanning starts. click the Cancel button.
    Recuva Recover Undeleted Files
  4. In the Recuva window, click on Switch to Advanced Mode.
  5. Click the Options button.
    Recuva Recover Corrupted Txt files
  6. In the Options window, click the Actions tab.
  7. Under the Scanning section, check the “Scan for non-deleted files” option.
  8. Click OK.
  9. Select the drive to scan and click on the Scan button again.
  10. Wait for the Scan to finish.
  11. If Recuva has recovered the text file, select the file and click on Recover.

3. Run Chkdsk Tool

  1. Type cmd in the search bar.
  2. Right-click on Command Prompt option and select Run as Administrator.
  3. In the command prompt, enter chkdsk C: /f and hit enter. chdsk
  4. Wait for the Check Tool to complete the scan and repair any bad section in the hard drive.
  5. Now restart your Windows system. Check if the text has been recovered by the chkdsk tool.

4.  Use Word Recovery Any File Tool

  1. Launch the MS Word app.
  2. Select a blank document.
  3. Click on File and select Options. It will open the Word Options window.
  4. Click on the Advanced tab.
  5. Scroll down to General section.
    MS Word confirm file format conversion for text file
  6. Check the “Confirm file format conversion on open” option.
  7. Click OK to save the changes.
  8. Now click on File and select Open.
  9. Click on Browse button.
  10. In the Open window, click on All Files and select “Recover Text from any files (*.*)”.
    MS Office Recovery corrupted Notepad file
  11. Select the corrupted text file you want to recover and click Open.
  12. Will now try to repair the text file.

More about the topics: Windows 10 Guides