Where Does Windows 11 Notepad Keep Unsaved Tabs?
Windows 11 Notepad TabState folder holding unsaved tab contents for crash recovery and forensics.
Last updated
Windows 11 Notepad auto-saves open tabs into a TabState folder inside its package data. Each tab becomes GUID-named binary files, including never-saved scratch tabs.
This is a crash-recovery cache with forensic uses, not a notes archive. Anything that matters deserves a real file.
Where Windows stores this, by platform
%LOCALAPPDATA%\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
Holds GUID-named .bin files per tab plus state sidecars. Opening or closing Notepad mutates these files, so preserve copies before investigating. Applies to the Store-packaged Windows 11 Notepad.
Frequently asked questions
Notepad closed with unsaved tabs. Is the text gone?
Unsaved tabs persist in the TabState folder as GUID-named .bin files. Reopen Notepad and tabs usually restore. Forensics tools can extract text from the binaries when the app state is damaged.
How do I keep an important unsaved note safe?
Save the tab to a real file. TabState is a recovery cache, not a backup system; reinstalls and cleanups can wipe it without warning.
Notice an outdated path? Let us know.