One of these will do
How to Fix Notepad Crashing in Windows 11
Notepad is a simple text editor that has been around since Windows was founded. With Windows 11, Microsoft revamped Notepad with support for tabs and a dark mode option. However, the new changes also sometimes cause Notepad to crash on Windows 11. This article will help you troubleshoot Notepad crashes on your Windows 11 PC.
First, update Notepad to prevent it from crashing. Follow the steps below.
Some Microsoft users reported that resizing the Notepad window fixed the app crashing issue.