can i recover a notepad

Can I Recover Lost Notepad Data?

By Richard Jones
AD

Accidentally closed a file in Notepad without saving your progress? Don't panic. While Notepad doesn't have an automatic recovery feature like some other word processors, there are still chances you can recover your lost data. This guide will walk you through some strategies to help you recover unsaved work from Notepad on Windows and macOS.

Before we dive in, remember that the effectiveness of these methods depends on several factors, including how long ago you closed the file and what other activity has happened on your system since then. The sooner you try these methods, the better your chances of recovery.

Recover Unsaved Files on Windows Notepad

Windows operating system has a built-in feature that temporarily stores unsaved data in a hidden file. This section will guide you through finding and restoring this data.

AD
How to Recover Unsaved Notepad in Windows 11
How to Recover Unsaved Notepad in Windows 11
How to Recover Unsaved Notepad (TXT) Files on Windows 11/10
How to Recover Unsaved Notepad (TXT) Files on Windows 11/10
How to Recover Notepad Files: Deleted, Lost, or Unsaved
How to Recover Notepad Files: Deleted, Lost, or Unsaved

Note that this feature is not universal and can be disabled or\neq function as expected in some cases. Also, it only works for Notepad windows that were active at the time of closing, not for those minimized to the taskbar.

Using temp Files

Windows creates temporary files for unsaved data in the AppData\Local\Temp folder. Follow these steps to find and restore your data:

DIY Refillable Notepad
DIY Refillable Notepad
12+ DIY Notepad Ideas That Are Easy and Fun
12+ DIY Notepad Ideas That Are Easy and Fun
【2022】How to Recover Notepad File On Win 10/11 Quickly?
【2022】How to Recover Notepad File On Win 10/11 Quickly?

1. Open File Explorer and navigate to: C:\Users\\AppData\Local\Temp

2. Look for files starting with '~$' and ending with the '.txt' extension. These are likely your unsaved Notepad files.

AD

3. Give these hidden files names that reflect their content, then open them in a text editor to see if they contain your lost data.

someone holding up a notebook with writing on it and making diy refillable notepads
someone holding up a notebook with writing on it and making diy refillable notepads
How to Recover an Unsaved Notepad File in Windows 10 & 11
How to Recover an Unsaved Notepad File in Windows 10 & 11
How to Make an Easy-Tear Notepad
How to Make an Easy-Tear Notepad
69K views · 1.7K reactions | Notepad with a lot of movements. 🍊🍐🍋 #SALifeOfMe #junkjournaling #scrapbooking #papercrafting #hobbycraft #craft | Purita Banila Damon
69K views · 1.7K reactions | Notepad with a lot of movements. 🍊🍐🍋 #SALifeOfMe #junkjournaling #scrapbooking #papercrafting #hobbycraft #craft | Purita Banila Damon
a hand holding a piece of paper with the title how to make a diy notepad 5 minute project
a hand holding a piece of paper with the title how to make a diy notepad 5 minute project
Make a Custom DIY Notepad
Make a Custom DIY Notepad

Recovering Unsaved Files via Registry Editor

Windows registry also holds a record of unsaved data. Use this method if you're unable to find the temp files:

1. Open Registry Editor by typing 'regedit' in the Windows search bar and pressing Enter.

AD

2. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Native\Notepad

Repair a Delapitated Notepad
Repair a Delapitated Notepad
I Can’t Stop Making These Peel & Stick Notepads 😳#easycrafts
I Can’t Stop Making These Peel & Stick Notepads 😳#easycrafts
someone holding up a planner with cats on it and the words how to make notebooks
someone holding up a planner with cats on it and the words how to make notebooks

3. Look for a folder with a name that includes the word 'untitled'. Inside this folder, you'll find files with names like 'Untitled1.tmp', etc.

4. Check these files to see if they contain your lost data. If yes, rename them, and open in a text editor for further examination.

AD

Recover Unsaved Files on macOS Notepad++

macOS users have a better chance of recovery as Notepad++ has a built-in auto-save feature. However, if auto-save is disabled or you want to recover earlier versions, use these methods:

Note that these methods may also work with the default macOS TextEdit app, though their availability may differ.

Auto-Recovery in Notepad++

Notepad++ automatically saves a file every 30 seconds by default. To check for auto-saved data:

1. Open Notepad++ and go to File > Open.

2. Navigate to the folder where you were last working and check for files that have 'a' appended to them (e.g., 'untitled1_a.txt').

3. Open these files to see if they contain your unsaved data.

Open Recent Files in Notepad++

Notepad++ keeps a list of recently opened files. If you can't find your file in the auto-recovery folder, check this list:

1. Open Notepad++ and go to File > Open Recent.

2. Check the list to see if your unsaved file is listed. If it is, click on it to open.

Even if the file doesn't appear in the "Open Recent" list, try re-opening Notepad++ and then opening the folder where you last worked. It might list your unsaved file there.

If none of the above methods work, it might be time to admit that your unsaved data is gone for good. To avoid this situation in the future, always remember to save your work frequently, especially when making significant changes or working with important data.

AD