Windows Notepad is a simple
text editor for
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
; it creates and edits
plain text
In computing, plain text is a loose term for data (e.g. file contents) that represent only characters of readable material but not its graphical representation nor other objects ( floating-point numbers, images, etc.). It may also include a lim ...
documents. It was first released in 1983 to commercialize the
computer mouse
A computer mouse (plural mice; also mouses) is a hand-held pointing device that detects Plane (mathematics), two-dimensional motion relative to a surface. This motion is typically translated into the motion of the Cursor (user interface)#Po ...
in
MS-DOS
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few op ...
.
History
In May 1983, at the
COMDEX computer expo in
Atlanta
Atlanta ( ) is the List of capitals in the United States, capital and List of municipalities in Georgia (U.S. state), most populous city in the U.S. state of Georgia (U.S. state), Georgia. It is the county seat, seat of Fulton County, Georg ...
, Microsoft introduced the Multi-Tool Notepad, a
mouse
A mouse (: mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus'' ...
-based text editor
Richard Brodie had created as a stripped down version of
Multi-Tool Word. Notepad had the ability to bold, underline or italicise text removed. All these programs were to support the release of the $195
Microsoft Mouse, with the mouse coming with Notepad or Word, sometimes both, depending on the date. Most visitors had never heard of a computer mouse before.
The mouse began shipping in July. Initial sales were modest because it had no use other than running the programs included in the box (a tutorial, a Doodle drawing app, a musical piano app, Multi-Tool Notepad and/or Multi-tool Word.)
The Multi-Tool product line began with
expert systems for the
Multiplan spreadsheet. On the suggestion of
Rowland Hanson, Microsoft dropped the Multi-Tool brand name. Hanson's rationale was that "the brand is the
hero
A hero (feminine: heroine) is a real person or fictional character who, in the face of danger, combats adversity through feats of ingenuity, courage, or Physical strength, strength. The original hero type of classical epics did such thin ...
" and people wouldn't automatically associate "Multi-Tool" with Microsoft. As a result, the Multi-Tool Notepad and the Multi-Tool Word became Windows Notepad and
Microsoft Word
Microsoft Word is a word processor program, word processing program developed by Microsoft. It was first released on October 25, 1983, under the name Multi-Tool Word for Xenix systems. Subsequent versions were later written for several other platf ...
, respectively. (Hanson also convinced
Bill Gates
William Henry Gates III (born October 28, 1955) is an American businessman and philanthropist. A pioneer of the microcomputer revolution of the 1970s and 1980s, he co-founded the software company Microsoft in 1975 with his childhood friend ...
to rename "Interface Manager" to "Windows" before the release of
Windows 1.0.)
Since then, Notepad has been part of Microsoft Windows.
Change in development model
Since the introduction of
Microsoft Store in 2012, Microsoft has converted some of the built-in Windows apps into
Microsoft Store apps (e.g.,
Sticky Notes), so that they could be updated independent of Windows releases. Within three years, Notepad has appeared on Microsoft Store thrice. The first time was in August 2019; it vanished shortly thereafter.
This version required Windows 10
preview build 18963.
During this short-lived presence on the Store, technology news blogs speculated that Microsoft intended to de-couple Notepad's life-cycle from that of
Windows 10
Windows 10 is a major release of Microsoft's Windows NT operating system. The successor to Windows 8.1, it was Software release cycle#Release to manufacturing (RTM), released to manufacturing on July 15, 2015, and later to retail on July 2 ...
and update it more frequently through Microsoft Store.
Notepad appeared on Microsoft Store for a second time in April 2020, this time, sporting a new logo. It runs on the preview versions of Windows 10,
build number 19541 or later.
On 16 February 2022, Microsoft started rolling out a new and redesigned version of Notepad to all Windows 11 users. This version had Dark Mode added and a new Find and Replace flyout with the same functionality. Notepad is now available in the Microsoft Store in both Windows 10 and 11.
On March 21, 2024, Microsoft announced that it is adding spellcheck and autocorrect to Notepad for Windows 11.
On November 6, 2024, Microsoft announced that rewriting tools powered by LLMs will be added to Notepad. Users will be able to rewrite selected text, adjust its length and modify its tone and format, similar to
Grammarly's AI writing features.
The new features are available to
Windows Insider members in the Canary and Dev Channels and will be available to all Windows 11 users at a later time.
Features
Notepad is a
text editor, i.e., an app specialized in editing
plain text
In computing, plain text is a loose term for data (e.g. file contents) that represent only characters of readable material but not its graphical representation nor other objects ( floating-point numbers, images, etc.). It may also include a lim ...
. It can edit
text file
A text file (sometimes spelled textfile; an old alternative name is flat file) is a kind of computer file that is structured as a sequence of lines of electronic text. A text file exists stored as data within a computer file system.
In ope ...
s (bearing the ".txt"
filename extension
A filename extension, file name extension or file extension is a suffix to the name of a computer file (for example, .txt, .mp3, .exe) that indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
) and compatible formats, such as
batch file
A batch file is a Scripting language, script file in DOS, OS/2 and Microsoft Windows. It consists of a series of Command (computing), commands to be executed by the command-line interpreter, stored in a plain text file. A batch file may contain a ...
s,
INI files, and
log file
In computing, logging is the act of keeping a log of events that occur in a computer system, such as problems, errors or broad information on current operations. These events may occur in the operating system or in other software. A message o ...
s.
Notepad offers only the most basic text manipulation functions, such as finding and replacing text. Until
Windows ME
Windows Me (Millennium Edition) is an operating system developed by Microsoft as part of its Windows 9x family of Microsoft Windows operating systems. It was the successor to Windows 98, and was released to manufacturing on June 19, 2000, and t ...
, there were almost no keyboard shortcuts and no line-counting feature. Starting with
Windows 2000
Windows 2000 is a major release of the Windows NT operating system developed by Microsoft, targeting the server and business markets. It is the direct successor to Windows NT 4.0, and was Software release life cycle#Release to manufacturing (RT ...
, shortcuts for common commands like "New", "Open", and "Save" were added, as well as a status bar with a line counter (available only when word-wrap is disabled). Before
Windows 10 version 1809, Notepad could not properly interpret either
Unix
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
-style or
Mac-style
newline
A newline (frequently called line ending, end of line (EOL), next line (NEL) or line break) is a control character or sequence of control characters in character encoding specifications such as ASCII, EBCDIC, Unicode, etc. This character, or ...
characters. Windows 10 version 1809 also introduced the keyboard shortcut (deletes the previous word), zoom functionality, the ability to zoom in and out, and the "Search with
Bing
Bing most often refers to:
* Bing Crosby (1903–1977), American singer
* Microsoft Bing, a web search engine
Bing may also refer to:
Food and drink
* Bing (bread), a Chinese flatbread
* Bing (soft drink), a UK brand
* Bing cherry, a varie ...
" function.
Improving performance has been the main focus of Notepad's development. As part of this effort, Notepad is capable of reading text files even when other apps have acquired a
range-based lock on the file.
On
Windows 95 and earlier, Notepad renders text files in the
Fixedsys font
In metal typesetting, a font is a particular size, weight and style of a ''typeface'', defined as the set of fonts that share an overall design.
For instance, the typeface Bauer Bodoni (shown in the figure) includes fonts " Roman" (or "regul ...
. Starting with
Windows NT 4.0 and
Windows 98
Windows 98 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of Microsoft Windows operating systems. It was the second operating system in the 9x line, as the successor to Windows 95. It was Software ...
, it allows users to choose their own font to display the text. They cannot, however, select individual parts of the text and change their fonts. Its default font changed to
Lucida Console on
Windows 2000
Windows 2000 is a major release of the Windows NT operating system developed by Microsoft, targeting the server and business markets. It is the direct successor to Windows NT 4.0, and was Software release life cycle#Release to manufacturing (RT ...
, and
Consolas on
Windows 8
Windows 8 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on August 1, 2012, made available for download via Microsoft ...
.
Notepad can print files. It allows customizing headers, footers, and margins before printing. The date, file name, and other information can be placed in the headers and footers with various codes consisting of an ampersand ('&') followed by a letter.
Notepad accepts text from the Windows
clipboard, but only in the CF_TEXT format. It strips the pasted text of any embedded font and style information. One could temporarily paste formatted text into Notepad, then immediately copy it again to obtain the raw text.
Notepad has a simple logging function. Each time it opens a file with ".LOG" on its first line, the app inserts a timestamp on the file's last line.
Encoding support
Notepad supports the following
character encoding
Character encoding is the process of assigning numbers to graphical character (computing), characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical v ...
s:
*"ANSI" (the locale-dependent
codepage)
*Unicode, encoded as:
**
UCS-2 (Windows NT 3.5 to 2000)
**
UTF-16 (Windows 2000 or later), both little- and big-endian
**
UTF-8
UTF-8 is a character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode Transformation Format 8-bit''. Almost every webpage is transmitted as UTF-8.
UTF-8 supports all 1,112,0 ...
(Windows 2000 or later)
***Before Windows 10, Notepad always inserted a
byte order mark character at the start of the file. Since Windows 10, the BOM has been optional.
Starting with Windows 10 1809 Insider build, it supports Unix-style (LF) and Classic Mac OS -style (CR)
line endings, along with the native DOS/Windows CRLF style. Before this, only CRLF line endings were recognized.
Opening and editing in left-to-right and right-to-left based languages are done via
RichEdit controls and
input method editors, available in versions for Windows XP or later.
Limitations
Notepad used a built-in
window class named ''EDIT''. The maximum file size Notepad can open depends on operating system limitations on the size of the ''EDIT'' window class, with a different limit in each version of Windows. Because of this limitation, on
Windows 3.0,
Windows 3.1, and
Windows 3.11, Notepad could not open files larger than 54
KB. (Microsoft recommended using another text editor for opening files larger than 45 KB.) This limit was extended to 64 KB in
Windows 95, with users now directed to
WordPad for larger files. On
Windows XP
Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct successor to Windows 2000 for high-end and business users a ...
, Notepad was limited to 32
MB and declined to open bigger files. On
Windows 11
Windows 11 is a version of Microsoft's Windows NT operating system, released on October 5, 2021, as the successor to Windows 10 (2015). It is available as a free upgrade for devices running Windows 10 that meet the #System requirements, Windo ...
, Notepad uses the
RichEdit control. The size limit was raised to about 1
GB, and attempting to open any file larger than that shows a
dialog box
In computing, a dialog box (also simply dialog) is a graphical control element in the form of a small window that communicates information to the user and prompts them for a response.
Dialog boxes are classified as " modal" or "modeless", dep ...
suggesting that the user open it with a different text editor.
Unicode detection
On the
Windows NT family of operating systems (including
Windows 2000
Windows 2000 is a major release of the Windows NT operating system developed by Microsoft, targeting the server and business markets. It is the direct successor to Windows NT 4.0, and was Software release life cycle#Release to manufacturing (RT ...
and
Windows XP
Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct successor to Windows 2000 for high-end and business users a ...
), Notepad can detect Unicode files even when they lack a
byte order mark. To do this, it calls the
IsTextUnicode()
function of the
Windows API. Until
Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, released five years earlier, which was then the longest time span between successive releases of Microsoft W ...
, this function was imperfect, incorrectly identifying some all-lowercase
ASCII
ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
text as UTF-16. As a result, Notepad interpreted a file containing a phrase like "aaaa aaa aaa aaaaa" ("4-3-3-5") as a two-byte-encoded Unicode text file. If a font with support for Chinese was installed, nine Chinese characters (桴獩愠灰挠湡戠敲歡) would display. Otherwise, it would display square
substitute characters instead of Chinese characters. This issue was resolved on Windows Vista and newer.
Competing software
Notepad lacks many basic features available in other text editors, such as block selection and
MDI. There are many third-party replacements for Notepad with additional functionality, such as AkelPad,
Metapad,
Notepad++, Notepad2, and
TED Notepad
TED Notepad is freeware portable text editor software for Microsoft Windows, developed by Juraj Šimlovič since 2001, originally as a school project. It looks similar to Windows Notepad, but provides additional features, including experiment ...
, which include features such as, but not limited to:
*
undo history
*
syntax coloring
*
code folding
Code or text folding, or less commonly holophrasting, is a feature of some graphical user interfaces that allows the user to selectively hide ("fold") or display ("unfold") parts of a document. This allows the user to manage large amounts of text ...
*
regular expression
A regular expression (shortened as regex or regexp), sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
s
*
macros
* manual
code page
In computing, a code page is a character encoding and as such it is a specific association of a set of printable character (computing), characters and control characters with unique numbers. Typically each number represents the binary value in a s ...
selection
*
themes
* sorting
* case changes
* external change detection
* matching braces
* visible line-endings and visible line-wrap indication
* line numbering, splitting and joining
* automatic
indentation
* mass-editing of lines
* blank line removal
* hard alignment (using
whitespace characters)
* whitespace stripping
* running in
portable mode
See also
*
MS-DOS Editor, Notepad's predecessor
*
XML Notepad
References
External links
*
Notepad FAQin Windows Vista documentation at Microsoft.com –
{{DEFAULTSORT:Notepad
Windows components
Windows text editors
1983 software
Microsoft software
Proprietary software