ArticleslgStudy

computer science

Notepad++

Notepad++ is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Notepad++ rather than just read about it. In short: Notepad++ (sometimes npp or NPP) is a text and source-code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in one window.

Notepad++ — main illustration
Notepad++ — illustration

Key takeaways

  • Notepad++ belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Notepad++ to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Notepad++ from memory before moving on to harder problems.

Reference excerpt

Notepad++ (sometimes npp or NPP) is a text and source-code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in one window. The program's name comes from the C postfix increment operator. Notepad++ is released as free and open-source software under a GNU General Public License (GPL) 3.0 or later. The project was originally hosted on the SourceForge software repository (2003–2010), from where it was downloaded over 28 million times, and twice won the SourceForge Community Choice Award for Best Developer Tool. The project moved to TuxFamily (2010–2015), and then to GitHub (2015–present). Notepad++ uses the Scintilla editor component. It supports Windows DirectWrite and all major Windows color font formats (COLRv0, COLRv1, and OpenType SVG).

History Notepad++ development began in September 2003 by Don Ho, a former computer science student of Paris Diderot University. Ho first used JEXT (a Java-based text editor) at his company but, dissatisfied with its poor performance, he began to develop a text editor written in C++ with Scintilla. He developed it in his spare time since the idea was rejected by his company. Notepad++ was built as a Microsoft Windows application; the developer considered, but rejected, the idea of using wxWidgets to port it to the Mac OS X and Unix platforms. Notepad++ was first released on SourceForge on 25 November 2003, as a Windows-only application. It is based on the Scintilla editor component, and is written in C++ with only Windows API (Win32) application programming interface (API) calls using only the Standard Template Library (STL) to increase performance and reduce program size. In January 2010 the US government obliged US-based open source project hosts to deny access from Cuba, Iran, North Korea, Sudan, and Syria to comply with U.S. law. As a response to what the developer felt was a violation of the free and open-source software (FOSS) philosophy, in June 2010 Notepad++ moved out of US territorial jurisdiction by releasing a version on TuxFamily, in France. Some community services of Notepad++ (such as the forums and bug tracker) remained on SourceForge until 2015 when Notepad++ left SourceForge completely. In 2011 Lifehacker described Notepad++ as "The Best Programming Text Editor for Windows", stating that "if you prefer a simple, lightweight, and extensible programming plain-text editor, our first choice is the free, open-source Notepad++". Lifehacker criticized its user interface, stating that "It is, in fact, fairly ugly. Luckily you can do a lot to customize its looks, and what it lacks in polish, it makes up for in functionality". In 2014 Lifehacker readers voted Notepad++ as the "Most Popular Text Editor", with 40% of the 16,294 respondents specifying it as their most-loved editor. The Lifehacker team summarized the program as being "fast, flexible, feature-packed, and completely free". In 2015 Stack Overflow conducted a worldwide Developer Survey, and Notepad++ was voted as the most used text editor worldwide with 34.7% of the 26,086 respondents claiming to use it daily. Stack Overflow noted that "The more things change, the more likely it is those things are written in JavaScript with NotePad++ on a Windows machine". The 2016 survey had Notepad++ at 35.6%. In 2015, in response to the staff hijacking of projects hosted on SourceForge, Notepad++ left SourceForge completely with the forums being moved to NodeBB and the bug tracker to GitHub. In 2019, the website, notepad-plus-plus.org, moved to Hostinger. In March 2017 it was revealed through WikiLeaks that CIA hacking tools used Notepad++, because of its popularity, to hide malware in a modified library named scilexer.dll. Notepad++ was subsequently hardened against modified DLLs.

Update chain hijacking In 2025, state-sponsored hackers (suspected to be Chinese APT31) hijacked the update functionality for Notepad++ by compromising its hosting provider. Organizations in East Asia were targeted, redirecting their updates to malicious servers for several months to deliver malware. The issue was resolved by migrating to a more secure host and enforcing stronger update verification. The mechanism of the attack involved a modification to the Notepad++ updater, gup.exe, with the modification introduced in Notepad++ version 8.8.8, where the executable obtains the latest application version from https://notepad-plus-plus.org/update/getDownloadUrl.php and retrieves the update URL from a file named gup.xml, with the retrieved file then saved to a temporary directory and executed; this connection could be TLS intercepted at the ISP level, allowing the download to be redirected to any URL, and although legitimate update files use a self-signed root certificate, the updater does not perform thorough checks for tampering. As a result, gup.exe executes a malicious payload named update.exe obtained from a malicious server, containing a NSIS installer which creates the %AppData%\Bluetooth\ directory, extracts four files, sets the directory to hidden, and executes BluetoothService.exe within the resulting payload. This then sideloads a malicious DLL which loads the shellcode file into memory, and then decrypts and executes it, allowing command and control over the computer by an attacker using a web interface.

Features Notepad++ is a source code editor. It features syntax highlighting, code folding, and limited autocompletion for programming, scripting, and markup languages, but not intelligent code completion or syntax checking. As such, it may properly highlight code written in a supported scheme, but it cannot verify whether the syntax is internally sound or compilable. As of version 7.6.3, Notepad++ can highlight the elements of 78 syntaxes:

Notepad++ recognizes three newline representations (CR, CR+LF, and LF) and can convert between them on the fly. In addition, it supports reinterpreting plain text files in various character encodings and can convert them to ASCII, UTF-8, or UCS-2. As such, it can fix plain text that seems gibberish only because their character encoding is not properly detected. Notepad++ also has features that improve plain text editing experience in general, such as:

… excerpt ends here. Continue reading the full article.

Illustrations

Notepad++ illustration
Notepad++ illustration

Worked examples

Example 1 — a first encounter with Notepad++

Start with the simplest possible case. Write down what Notepad++ claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Notepad++ before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Notepad++ ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Notepad++

In research
Notepad++ appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Notepad++ in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Notepad++ is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2003 software, Free HTML editors, Free software programmed in C++, so understanding it makes those chapters shorter.
In everyday life
Look for Notepad++ outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Notepad++” →

How to study Notepad++ in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Notepad++ means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Notepad++ out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Notepad++ in simple terms?

Notepad++ (sometimes npp or NPP) is a text and source-code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in one window.

Why does Notepad++ matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Notepad++?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Notepad++.

Tags

  • 2003 software
  • Free HTML editors
  • Free software programmed in C++
  • Free text editors
  • Notepad replacements
  • Software that uses Scintilla
  • Software using the GNU General Public License
  • Windows-only free software
  • Windows text editors

Keep exploring