Notepad Hidden Features You Didn’t Know Existed
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
Yes, Windows Notepad has several hidden features that many long-time users never discover, including a built-in word count, a dark mode, and a session-restore feature. This article explains what those features are, how to find them, and what else you might have missed.
Background: Why Notepad Seems So Simple
Notepad has been part of Windows since 1985, and for most of that time it was deliberately minimal—just a plain text editor with no formatting, no spell check, and no tabs. That simplicity made it fast and reliable, but it also meant that many useful features were either absent or hidden behind obscure menu items. In 2018, Microsoft began updating Notepad more seriously, adding features like a search-and-replace with regex, a zoom slider, and a line and column display. In 2023, Notepad was given a full refresh with tabs, a dark theme, and a new settings page. Many of these newer features are not obvious unless you know where to look, which is why even veteran users can be surprised by what Notepad can do today.
How the Hidden Features Work
Most of the hidden features are accessed through the menu bar, the title bar, or specific keyboard shortcuts. Here is a breakdown of the most commonly overlooked ones:
- Dark mode: Go to Settings (the gear icon in the top-right corner) and choose a theme under App theme. You can pick Light, Dark, or Use system setting. This is separate from Windows’ own dark mode.
- Word count: The status bar at the bottom shows character count, but you can also see word count by selecting text and looking at the status bar—it shows “x words” when you highlight something. If the status bar is not visible, enable it in Settings > Status bar.
- Session restore: If you close Notepad with unsaved tabs, it will ask if you want to save them. But if you accidentally close the window without saving, the next time you open Notepad, it will offer to restore your previous session (if you have the setting enabled in Settings > Open sessions).
- Line and column display: The status bar shows the current line and column of the cursor. This is useful for coding or editing CSV files.
- Zoom: Hold Ctrl and scroll the mouse wheel to zoom in and out. You can also use Ctrl + Plus and Ctrl + Minus.
- Find and replace with regular expressions: In the Find dialog (Ctrl+F), expand the options and check Regular expression to use patterns like
^for line start or\dfor digits.
Formula: How to Get the Most Out of Notepad
There is no formula to calculate, but there is a logical approach to discovering hidden features: check the menu bar, the title bar (right-click it), and the settings page. Many features are toggled in settings, such as the status bar, word wrap, and auto-save. The key is to explore the Settings page thoroughly—it contains options for font, theme, and even a checkbox for “Save sessions and reopen them next time.”
Worked Example: Finding the Word Count
Suppose you have a text file with 500 words. Open it in Notepad. Look at the bottom-right corner of the window—the status bar shows “Ln 1, Col 1” and the character count. If you select all the text (Ctrl+A), the status bar will change to show “500 words” (or something similar). That is the word count feature. If you do not see the status bar, go to Settings and turn on Status bar. That is all there is to it.
When to Use These Features
These hidden features are useful in different situations:
- Dark mode: Best for working late at night or in low-light conditions to reduce eye strain.
- Word count: Useful when you need to meet a word limit for an essay, a blog post, or a code comment.
- Session restore: Essential if you frequently have multiple files open and accidentally close the window.
- Line and column: Helpful for programmers who need to reference specific lines in error messages.
- Zoom: Great for presentations or when you need to read small text without changing the font size permanently.
- Regex find/replace: Saves time when editing large structured text files, like logs or data exports.
Common Problems and How to Solve Them
If you cannot find a feature, it might be because you are using an older version of Notepad (pre-2018) or because the feature is hidden behind a menu. Here are common issues and fixes:
- No dark mode option: Your Notepad is outdated. Update Windows or download the new Notepad from the Microsoft Store.
- Status bar not showing word count: Make sure you have selected text. The status bar only shows word count when you highlight something.
- Session restore not working: Check that you have enabled the setting in Settings > Open sessions.
- Zoom not working: Ensure your mouse cursor is over the Notepad window, and try using the keyboard shortcuts instead.
- Regex not working: You must check the Regular expression box in the Find dialog. Also, note that Notepad uses the .NET regex syntax, which is similar to Perl but not identical.
Comparison: Notepad vs. WordPad vs. Text Editors
Notepad is often compared to WordPad, which is a richer text editor that supports formatting (bold, italics, colors) and images. But Notepad is plain text only, which makes it better for code, configuration files, and any file that must be saved in a simple format. Compared to third-party editors like Sublime Text or VS Code, Notepad is much lighter and faster, but it lacks advanced features like syntax highlighting, multi-cursor editing, and plugins. For most quick editing tasks, Notepad is sufficient, but for serious programming, a dedicated editor is worth installing.
Safety and Privacy Considerations
Notepad is a safe application, but there are a few things to keep in mind:
- Auto-save: Notepad has an auto-save feature that saves your work every few seconds (if enabled in Settings). This is safe and helps prevent data loss, but be aware that it writes to the original file, so if you are editing a sensitive file, make a copy first.
- Session restore: If you enable session restore, Notepad will reopen your last files on startup. This could be a privacy concern if you share your computer, as someone could see what you were working on. Disable the feature or use a password-protected user account.
- Plain text: Notepad does not embed any hidden metadata or formatting, which is good for privacy, but it also means you cannot add passwords or encryption. For sensitive data, use a dedicated encryption tool.
Frequently Asked Questions
How do I enable dark mode in Notepad?
Open Notepad, click the gear icon (Settings) in the top-right corner, and under App theme choose Dark. If you don’t see the gear icon, your Notepad is outdated—update it from the Microsoft Store.
Why doesn’t my Notepad have tabs?
Tabs were added in the 2023 update of Notepad. If you don’t see tabs, you need to update Notepad from the Microsoft Store or ensure your Windows is up to date.
Can I make Notepad show line numbers?
Yes, the status bar shows the current line number at the bottom. If you want a permanent line number gutter like in code editors, Notepad doesn’t have that, but you can use a third-party editor like Notepad++ for that feature.
Does Notepad have a word count feature?
Yes, but it is hidden. Select the text you want to count, and the status bar will display the word count. If the status bar is not visible, enable it in Settings.
How do I use regular expressions in Notepad’s find and replace?
Press Ctrl+H to open the Replace dialog, click the arrow to expand options, check Regular expression, and then type your pattern. For example, to find all digits, use \d.
Is Notepad free?
Yes, Notepad is included with Windows and is completely free. There is no premium version or subscription.
Related
Formula used
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.