Notepad on Windows 11 automatically converts straight quotes to curly quotes via the "Smart Quotes" feature. To revert this behavior, open Notepad, click the Settings icon in the toolbar, navigate to the Text section, and toggle off the Smart Quotes option. This simple adjustment stops automatic formatting without requiring third-party automation tools.
Understanding the Smart Quotes Feature
The issue of quotation marks changing from straight (") to curly or “smart” quotes (“ and ”) is not a bug, but an intentional design choice in modern versions of Microsoft Notepad. This feature is known as "Smart Quotes." It was introduced to make text look more professional by using typographic ligatures that distinguish between opening and closing punctuation marks. While this is standard in word processors like Microsoft Word, it is often undesirable for coding, scripting, or plain-text editing where straight ASCII characters are required.
Many users encounter this problem after updating to Windows 11 or upgrading the Notepad application itself. The change happens silently in the background every time you type or paste text. If you are working with code files, configuration settings, or command-line arguments, these curly quotes can cause syntax errors or break scripts. Unlike other text editors that allow granular control over character encoding, Notepad’s interface hides this setting behind a specific menu path that is easy to miss if you do not know where to look.
Step-by-Step Solution: Disabling Smart Quotes
Resolving this issue requires accessing the Notepad settings directly within the application window. You do not need to modify registry keys or use external scripts. Follow these precise steps to disable the feature:
- Open Notepad: Launch the Notepad application from your Start menu or taskbar. Open any existing text file or start a new blank document.
- Access Settings: Look at the top-right corner of the Notepad window. You will see a gear icon labeled "Settings." Click on this icon. Alternatively, you can press
Ctrl+,(comma) to open the settings panel immediately. - Navigate to Text Options: In the Settings pane that appears on the right side, scroll down until you find the "Text" section. This area contains options related to how characters are displayed and formatted.
- Toggle Smart Quotes: Locate the checkbox labeled "Use smart quotes." By default, this box is checked. Click the checkbox to uncheck it. Once unchecked, the setting is saved automatically; there is no separate "Apply" button needed.
After disabling this option, test the fix by typing a pair of quotation marks. They should now remain as straight vertical lines ("text") instead of curving inward. This change applies globally to all new documents created in Notepad moving forward. It does not retroactively change existing documents, so you may need to manually replace old curly quotes in previous files using the Find and Replace tool.
Why Avoid AutoHotkey for This Fix?
Some online forums suggest using AutoHotkey (AHK) scripts to intercept keystrokes and force straight quotes. While technically possible, this approach is unnecessary and introduces significant drawbacks. AutoHotkey requires installation, administrative privileges, and ongoing maintenance. Scripts can conflict with other applications, consume system resources, and break when Windows updates change key mappings.
Using native OS features is always preferred over external automation. The built-in toggle in Notepad is lightweight, stable, and officially supported by Microsoft. Relying on AHK adds complexity to your workflow and creates a single point of failure. If your script crashes or fails to load during boot, your ability to type quotes correctly could be compromised. Furthermore, AHK solutions often struggle with clipboard operations, meaning pasted text might still contain curly quotes unless additional rules are written. For a simple UI preference change, the native setting is the most robust solution.
Troubleshooting Persistent Issues
If you have disabled Smart Quotes but still see curly quotes appearing, consider the following diagnostic steps. First, ensure you are editing in the correct mode. Some advanced text modes or specific file associations might trigger different parsers. However, Notepad generally handles all .txt files uniformly.
Second, check if you are inadvertently copying text from another source. If you copy-paste content from a rich text editor like Word, Excel, or a web browser, the curly quotes come embedded in the clipboard data. Disabling Smart Quotes only affects newly typed characters, not pasted ones. To fix this, use the "Paste as Plain Text" option (usually Ctrl + Shift + V) or run a Find and Replace operation to swap all curly quotes for straight ones before saving.
Finally, verify that your Notepad version is up to date. Occasionally, bugs in early releases of the updated Notepad app may cause settings to reset or fail to apply. If the toggle re-enables itself after restarting the application, try reinstalling Notepad from the Microsoft Store. This ensures a clean configuration state. Note that this issue is isolated to Notepad. Other applications like Visual Studio Code, Notepad++, or WordPad have their own independent settings for smart quotes and must be configured separately if they exhibit similar behavior.
Frequently Asked Questions
Will this change affect Microsoft Word?
No, the Smart Quotes setting in Notepad is local to the Notepad application only. Microsoft Word has its own separate autocorrect settings for smart quotes, which are managed through File > Options > Proofing. Changing Notepad’s preferences will not alter how Word formats your documents.
How do I replace existing curly quotes in a file?
You can use the built-in Find and Replace feature. Press Ctrl + H to open the dialog. Paste a curly quote into the "Find what" field and a straight quote into the "Replace with" field. Click "Replace All" to update every instance in the current document. This is necessary because disabling Smart Quotes does not modify text already present in the file.
Does this fix work on Windows 10?
Yes, the Smart Quotes feature exists in recent updates of Notepad for Windows 10 as well. The steps to disable it are identical: go to Settings and uncheck the Smart Quotes box. However, older versions of Notepad on Windows 10 may not include this feature at all, in which case curly quotes would not appear automatically.
Can I restore Smart Quotes later?
Absolutely. The setting is reversible. Simply return to the Notepad Settings menu, find the Text section, and check the "Use smart quotes" box again. Your preference is saved locally, so you can switch back and forth depending on whether you are writing prose or code.
What if the Settings gear icon is missing?
If you cannot see the gear icon, you may be using a very old version of Notepad that predates the Fluent Design update. In this case, you should update Notepad via the Microsoft Store. Modern versions of the app include the Settings panel. If you are stuck on an legacy version, you may need to rely on third-party editors or manual replacement methods.