How to Find Where Notepad Tabs Are Saved in Windows 11

Windows 11 changed the way Notepad works. Instead of behaving like the old lightweight text editor that forgot everything after closing, modern Notepad can now restore tabs, reopen unsaved notes, and continue previous sessions automatically.
That convenience creates a new question: where exactly are those Notepad tabs stored?
If you are trying to recover unsaved notes, migrate tabs to another PC, back up your session data, or troubleshoot missing tabs, the answer is not immediately obvious because Windows stores the data inside hidden system folders.
This article explains:
- Where Windows 11 saves Notepad tabs
- How to access the hidden folder
- How Notepad session recovery works
- How to back up or restore tabs
- What happens to unsaved notes
- Why some tabs disappear unexpectedly
We will also cover safer alternatives for storing temporary notes, including Write Notes, an online note-taking application and online notepad that works across devices.
Table of Contents
- How Windows 11 Stores Notepad Tabs
- Exact Location of Notepad Session Files
- How to Open the Hidden Notepad Folder
- What Is Stored Inside the LocalState Folder
- How to Recover Unsaved Notepad Tabs
- Why Notepad Tabs Sometimes Disappear
- How to Back Up Notepad Tabs Before Reinstalling Windows
- How to Disable Automatic Session Restore
- Better Alternatives for Temporary Notes and Collaboration
- FAQ
How Windows 11 Stores Notepad Tabs
Modern Notepad in Windows 11 includes a session restore system. Instead of immediately discarding unsaved text when you close the app, Notepad keeps temporary session data so your tabs can reopen later. Microsoft introduced this behavior as part of the updated Notepad experience in Windows 11.
The important detail is this:
Unsaved Notepad tabs are usually not stored as regular
.txtfiles.
Instead, Windows stores session information inside hidden application data folders tied to the Notepad app package.
That means:
- Your tabs may still exist even if you never pressed Save
- The files are hidden by default
- The stored data often uses
.binfiles instead of readable text documents - Deleting the session folder can permanently remove open tabs
This system behaves more like a web browser restoring tabs than the classic Notepad from older Windows versions.
Exact Location of Notepad Session Files
The most common Windows 11 Notepad tab storage location is:
C:\Users\YOUR_USERNAME\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState
This location has been referenced repeatedly in Microsoft community discussions regarding Notepad session recovery.
Inside the LocalState folder, you may see folders such as:
TabState
WindowState
These folders contain session recovery data used by Notepad.
Some Windows builds may structure the folders slightly differently, but the LocalState directory is the main place to check.
How to Open the Hidden Notepad Folder
Because AppData folders are hidden by default, many users never see them.
Here is the fastest way to access the Notepad session directory.
Method 1: Use the Run Dialog
- Press
Windows + R - Paste this path:
%localappdata%\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState
- Press Enter
This opens the Notepad session folder directly.
Method 2: Manually Browse Through File Explorer
- Open File Explorer
- Navigate to:
C:\Users\YOUR_USERNAME
- Click View
- Enable Hidden items
- Open:
AppData → Local → Packages
- Find:
Microsoft.WindowsNotepad_8wekyb3d8bbwe
- Open
LocalState
Microsoft documents how to show hidden files and folders in File Explorer settings.
What Is Stored Inside the LocalState Folder
The contents vary depending on your version of Windows 11 and Notepad updates, but common items include:
| Folder/File | Purpose |
|---|---|
| TabState | Stores open tab data |
| WindowState | Stores window layout and tab state |
| .bin files | Temporary unsaved note content |
| Cache/session files | Restores previous sessions |
These are not intended for manual editing.
In many cases, the .bin files contain cached text from unsaved tabs. The filenames are often randomized, making identification difficult.
💡 Key Takeaway:
Windows 11 Notepad behaves more like a session-based application now. Your notes may survive restarts even if you never saved them manually.
How to Recover Unsaved Notepad Tabs
If your tabs disappeared or Windows crashed unexpectedly, recovery is sometimes possible.
Recovery Method 1: Reopen Notepad Normally
Start with the simplest option.
- Open Notepad
- Wait a few seconds
- Check whether tabs automatically reappear
Modern Notepad is designed to reopen previous sessions automatically.
If this works, immediately save important tabs as .txt files.
Recovery Method 2: Restore the LocalState Folder
If you backed up your old Windows installation or copied AppData folders before reinstalling Windows:
- Locate your old
LocalStatefolder - Copy:
TabStateWindowState
- Paste them into the current Notepad LocalState directory
Users on Microsoft Q&A report that this method can restore previous tabs successfully.
Recovery Method 3: Check Temporary Files
Sometimes unsaved data may appear in:
C:\Users\YOUR_USERNAME\AppData\Local\Temp
Look for:
- Recently modified files
- Random filenames
- Temporary text files
Recovery is inconsistent here, but worth checking if the main session folder was deleted.
Recovery Method 4: Restore From Backup
If Windows Backup, OneDrive sync, or third-party backup software was enabled, you may be able to restore previous AppData versions.
Windows backup tools can preserve certain application settings and files across devices.
Why Notepad Tabs Sometimes Disappear
Many users assume Notepad works like a permanent autosave system. It does not.
The session restore feature is helpful, but it has limitations.
Common Reasons Tabs Vanish
1. Corrupted Session Cache
If the session cache becomes corrupted, Notepad may start with blank tabs or no tabs at all.
This can happen after:
- Forced shutdowns
- Storage issues
- Incomplete updates
- System cleanup tools
2. Temp Files Were Deleted
Some cleanup utilities remove temporary application data automatically.
That can wipe out unsaved Notepad content.
Reddit users frequently mention session cache deletion as a reason tabs suddenly stop reopening.
3. Notepad Settings Changed
Windows 11 allows different startup behaviors.
If the setting changes from restoring previous sessions to starting fresh, your tabs may no longer reopen automatically.
Some users accidentally trigger this after updates.
4. Reinstalling Windows
A clean Windows installation usually removes AppData session files unless you backed them up manually.
That is why copying the LocalState folder before reinstalling Windows is important.
How to Back Up Notepad Tabs Before Reinstalling Windows
If you rely heavily on unsaved tabs, create a backup before:
- Reinstalling Windows
- Resetting your PC
- Upgrading storage drives
- Running cleanup software
Recommended Backup Steps
Step 1: Close Notepad
Close the app normally so session data updates properly.
Step 2: Copy the LocalState Folder
Copy this entire directory:
C:\Users\YOUR_USERNAME\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState
Save it somewhere safe:
- External SSD
- USB drive
- Cloud storage
Step 3: Restore After Reinstallation
After Windows reinstall:
- Install/open Notepad once
- Close Notepad
- Replace the new LocalState folder with your backup
- Reopen Notepad
If successful, your tabs should return.
How to Disable Automatic Session Restore
Some users dislike the new Notepad behavior because old tabs keep reopening unexpectedly.
Others worry about sensitive information staying cached after closing the app.
You can change this behavior in Settings.
Disable Session Restore
- Open Notepad
- Click the gear icon
- Find When Notepad starts
- Choose:
- Start a new session
- or similar wording depending on your build
Users on Reddit confirm this disables previous-session reopening behavior.
The Problem With Using Notepad for Long-Term Notes
Windows 11 Notepad is convenient for quick text snippets, but it still has limitations:
| Issue | Why It Matters |
|---|---|
| Unsaved tabs are temporary | They can disappear unexpectedly |
| Session files are hidden | Hard for beginners to manage |
| No cloud sync | Tabs stay on one device |
| No collaboration | Cannot share live notes |
| Weak organization tools | Difficult to manage large note collections |
If you frequently store important drafts, passwords, project notes, or research inside Notepad tabs, relying entirely on cached session files is risky.
Better Alternative: Use an Online Notepad With Cloud Access
Instead of depending on hidden Windows session files, many users now prefer browser-based note apps that save automatically online.
One lightweight option is Write Notes.
It works as:
- An online note-taking application
- An online notepad
- A quick scratchpad for temporary text
- A browser-based workspace accessible from multiple devices
Unlike Windows Notepad session storage, browser-based notes are easier to manage because you are not hunting through hidden AppData folders.
You can also use the dedicated Free Online Notepad for quick text editing without installing software.
This is especially useful when:
- Switching between devices
- Working remotely
- Sharing notes
- Avoiding accidental local data loss
Using a Collaborative Whiteboard Instead of Multiple Notepad Tabs
Some users keep dozens of Notepad tabs open for brainstorming, planning, diagrams, or temporary collaboration.
That workflow becomes messy quickly.
A better approach for visual planning is using an online whiteboard instead of scattered text tabs.
Online Free Whiteboard With Collaboration provides a collaborative workspace where multiple people can organize ideas visually.
This works well for:
- Team brainstorming
- Mind maps
- Planning sessions
- Remote collaboration
- Teaching
- Project organization
Instead of relying on hidden cached Notepad tabs that may disappear, your workspace becomes easier to organize and share.
When You Should Still Use Windows Notepad
Despite its limitations, Notepad remains useful for several tasks.
Best Uses for Windows 11 Notepad
- Quick plain-text edits
- Editing config files
- Temporary coding snippets
- Log file viewing
- Fast copy-paste operations
The updated tab system is convenient for lightweight multitasking.
Just avoid treating unsaved tabs as permanent storage.
Practical Recommendations
Here is the safest workflow for most users.
| Task | Recommended Tool |
|---|---|
| Quick local text editing | Windows Notepad |
| Important long-term notes | Cloud note app |
| Shared brainstorming | Collaborative whiteboard |
| Technical config editing | Notepad or code editor |
| Multi-device note access | Browser-based notes |
If a note matters, save it intentionally instead of depending entirely on session recovery.
FAQ
Where are Windows 11 Notepad tabs stored?
They are usually stored in:
C:\Users\USERNAME\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState
This folder contains session recovery data for open and unsaved tabs.
Can I recover unsaved Notepad tabs after restarting?
Sometimes, yes.
Modern Windows 11 Notepad can reopen previous sessions automatically if the cache files still exist. Recovery success depends on whether the session files were deleted or corrupted.
Why did my Notepad tabs disappear?
Common causes include:
- Cleanup utilities deleting temp files
- Corrupted cache data
- Windows reinstalls
- Changed Notepad settings
- App crashes
Does Notepad autosave files automatically?
Not exactly.
Windows 11 Notepad saves session state and unsaved content temporarily, but it does not always permanently save your files unless you manually save them.
Can I move Notepad tabs to another computer?
Yes.
Copying the LocalState folder to another Windows 11 system may restore tabs if the Notepad version is compatible.
Is Notepad safe for storing passwords or sensitive data?
Not really.
Because session restore can reopen cached notes unexpectedly, sensitive data may remain accessible after closing the app. Some users specifically disable session restore for this reason.
Conclusion
Windows 11 changed Notepad from a simple disposable text editor into a session-based app that restores tabs and unsaved notes automatically. Those tabs are typically stored inside the hidden LocalState folder under your AppData directory.
That system can help recover unsaved work, but it is not a reliable substitute for proper file saving or backups.
If you regularly depend on temporary tabs, take time to:
- Back up the LocalState folder
- Save important notes manually
- Disable session restore for sensitive information
- Consider browser-based note tools for long-term storage
For lightweight online note-taking and collaboration, tools like Write Notes and its Free Online Notepad can be easier to manage than hidden Windows session files. And for visual collaboration, the Online Free Whiteboard With Collaboration offers a more organized alternative to keeping dozens of Notepad tabs open.

Alex Chen
I am a Digital Systems Architect and productivity specialist dedicated to building frictionless workflows. With over 2,000 hours of deep-work experimentation, I've mastered the art of transforming cluttered Write Notes workspaces into high-output engines.Having successfully migrated over 10,000 users into streamlined digital systems, I focus on the intersection of Personal Knowledge Management (PKM) and automated task architecture. When I'm not auditing the latest productivity tools, I manage a 1,500-note research library and consult for teams looking to reclaim their focus.