Notepad

Also known as: Windows Notepad

On this page 7

Notepad, also called Windows Notepad, is the built-in plain-text editor of Microsoft Windows. It opens, edits and saves files that contain only characters, with no fonts, colors or layout stored inside them, which makes it the default tool for configuration files, logs, scripts and quick notes.

Notepad has shipped with Windows since Windows 1.0 in 1985. Among Windows apps & Store topics, it is a notable case: in Windows 11 it is no longer a frozen system component but a Microsoft Store app that receives feature updates independently of the operating system.

How Notepad handles plain text

Notepad stores exactly the characters a user types, encoded as bytes, and nothing else. That property makes it safe for files that other programs parse, because no hidden formatting can corrupt a configuration file or a batch script. The display font and word wrap are view settings only and are never saved into the file.

Two technical details matter most: character encoding and line endings. Since Windows 10 version 1903, Notepad saves new files as UTF-8 without a byte order mark by default. Since version 1809, it reads and preserves Unix (LF) and classic Mac (CR) line endings instead of showing all text on one line.

EncodingTypical useCaution
UTF-8Default, web files, cross-platform textSafest general choice
UTF-8 with BOMOlder Windows tools that expect a markerSome Unix tools misread the BOM
UTF-16 LEWindows registry exports, some legacy appsDoubles file size for Latin text
ANSIVery old programs using a code pageCharacters outside the code page are lost
Encodings Notepad can save

Notepad as a Microsoft Store app

In Windows 11, Notepad is delivered as a packaged app under the package name Microsoft.WindowsNotepad and is updated through the Microsoft Store. Its files live in the protected WindowsApps folder, while the classic notepad.exe command still works through an app execution alias.

The Store model allowed Microsoft to add features at a faster pace than the yearly Windows release cycle. Users who remove the app can reinstall it from the Store, and on Windows 10 it appears as an optional feature that can be added or removed in Settings.

PeriodChangePractical effect
Windows 10 1809Unix and Mac line endingsLinux config files display correctly
Windows 10 1903UTF-8 default encodingFewer broken international characters
Windows 11 (2021)Redesign and dark modeMatches modern Windows look
2023Tabs and session restoreUnsaved work survives a restart
2024 and laterSpell check, character count, AI toolsOptional writing assistance
Major Notepad changes over time

Useful features and shortcuts

Notepad remains deliberately small, but several features save time for administrators and developers. Keyboard shortcuts cover most tasks, and a few lesser-known tricks date back to the earliest versions.

  • Ctrl+H opens find and replace, with options for case matching and wrap-around.
  • Ctrl+G jumps to a line number when word wrap is off, which helps with error messages that cite a line.
  • F5 inserts the current time and date at the cursor.
  • A file whose first line is .LOG gets a timestamp appended each time it is opened.
  • The status bar shows line, column, encoding and line ending type.

Recent versions also include spell check and autocorrect, which can be disabled for code files, and optional AI-assisted rewrite tools that require signing in with a Microsoft account. Organizations can switch these extras off when plain behavior is preferred.

Notepad compared with other editors

Choosing between Notepad and another editor depends on whether the task needs formatting, code tooling or only raw text. The table compares common options on Windows.

EditorStrengthLimitation
NotepadAlways available, fast, no formattingNo syntax highlighting or plugins
WordPadBasic rich text and RTF filesRemoved from Windows 11 version 24H2
Notepad++Syntax highlighting, macros, pluginsThird-party install required
Visual Studio CodeFull code editing and extensionsHeavier, slower to start
Microsoft WordRich documents and layoutUnsuitable for config files
Notepad and alternative editors

For a quick edit of a hosts file or an .ini file, Notepad is usually the fastest safe choice. For multi-file projects or regular expressions, a dedicated code editor is more productive.

Limitations and common mistakes

Most problems with Notepad come from permissions and encoding, not from the editor itself. Knowing the typical symptoms shortens troubleshooting considerably.

SymptomLikely causeFix
Access denied when savingFile in a protected system folderRun Notepad as administrator
Garbled accented charactersWrong encoding on open or saveChoose UTF-8 in the Save as dialog
Script fails after editingFile saved as .txt.ps1 or .bat.txtShow file extensions in File Explorer
Old tool rejects the fileMissing or unexpected BOMSave with or without BOM as required
Symptoms, causes and fixes

Very large log files of several hundred megabytes open slowly, and Notepad offers no syntax checking, so a missing quote in a JSON file goes unnoticed until another program fails to parse it.

Session restore also changes an old assumption. Because Notepad now keeps unsaved tabs between restarts, users may believe a note is stored as a file when it exists only in the app cache. Sensitive text such as passwords should never be left in unsaved tabs, and important content should be saved to a named file in a backed-up location.

In managed environments, administrators can control Notepad like any other Store app. They can block or allow it through AppLocker or App Control for Business, remove the package from a provisioned image, or set another editor as the default handler for the .txt extension in Default apps.

Explained without jargon

Notepad is the simplest writing tool in Windows. It works like a blank sheet of paper with no styles. There is no bold, no pictures and no page layout.

That simplicity is its strength. Many programs read settings from plain text files. Notepad changes only the words you type and adds nothing hidden. It is the safe way to edit such files. It also works well for a shopping list or a quick note.

A typical use case

An IT technician at a small accounting office needs to test a new internal server before the DNS record is ready. The fastest method is to add an entry to the hosts file on one workstation, so that the name intranet.local points to 192.168.10.25.

The technician searches for Notepad in the Start menu, selects Run as administrator, and opens C:\Windows\System32\drivers\etc\hosts. After adding one line and saving with UTF-8 encoding and no extension change, the technician runs ipconfig /flushdns in a terminal.

The browser now reaches the new server by name, and the whole change takes under three minutes. When the official DNS record goes live a week later, the technician removes the line in Notepad again, leaving the workstation in its original state.