For Windows 11

Does the built-in notepad keep my unsaved text?

Yes. Since 2023, Notepad in Windows 11 saves its session automatically: open tabs and unsaved text and edits, restored the next time you open it. Saving the session does not change your files. Microsoft does not say where or whether it is encrypted, so treat anything you typed as stored on the PC, even if you never saved it.

You can turn this off in the Notepad settings, so that it starts fresh every time. For private text, use an editor that encrypts it.

Updated

How do I turn it off?

Built-in notepad in Windows 11

  1. Open Notepad and select Settings.
  2. In the options for starting Notepad, choose to start a new session instead of continuing the previous one.
  3. Close tabs with text you do not want kept, without saving them.

Automatic session saving came with Notepad version 11.2307.22.0 for Windows 11. Notepad has no password or encryption.

The AI writing tools in Notepad send the text to the cloud and need a Microsoft account, except features that run on a local model. You can turn them off in the Notepad settings.

Where does the text stay?

TextWhere it isWho can read it
Saved .txt fileWhere you saved it. Windows search indexes its contents if the folder is indexed.Anyone or anything with access to the file or your account.
Unsaved text in Notepad tabsIn the saved session; Microsoft does not say where.Microsoft does not describe how it is protected.
Text in the AI writing toolsProcessed in the cloud, unless the feature runs on a local model.The service that processes it.
Text in an encrypted editorEncrypted in its file.Only someone with the password.

Disk encryption (BitLocker or device encryption) protects all of this when the PC is off or the disk is removed, not while you are signed in.

What can I use for private notes instead?

SystemUtils Secure Note is an encrypted text editor in a single .exe. It stores the text only encrypted, inside its own file. Before locking, it saves and exits, so no text stays in memory. While a document is open, Windows may move memory to the page file or hibernation file; disk encryption mitigates that.

Drop a .txt onto its window and it creates a locked copy next to the original; then delete the original. A forgotten password cannot be recovered.

Questions

Is unsaved text lost when I close Notepad?

Not with session saving on: Notepad restores it the next time. With it off, Notepad starts fresh each time.

Can Notepad save with a password?

No. Notepad has no password or encryption feature.

Do the AI features in Notepad send my text?

The writing tools do: they process the text in the cloud and need a Microsoft account, except features that run on a local model. You can turn them off in the Notepad settings, and a policy turns them off on any edition.

Sources

  1. Windows Insider Blog: New updates for Snipping Tool and Notepad (31 Aug 2023)(opens in a new tab)blogs.windows.com
  2. Microsoft Support: Help in Notepad(opens in a new tab)support.microsoft.com
  3. Microsoft Learn: Manage AI features in Notepad(opens in a new tab)learn.microsoft.com
  4. Microsoft Support: Search indexing in Windows(opens in a new tab)support.microsoft.com
  5. Microsoft Support: Device encryption in Windows(opens in a new tab)support.microsoft.com

Settings names can change with Windows updates.