About Notepad++
Notepad++ is a text editor developed by Don Ho and the project's contributors. It is used to touch up source code, configuration files and plain text documents. Its tabbed interface moves you between several files, while syntax highlighting helps pick out the elements of many languages. This category software targets Windows and ships under a free license. Depending on how you plan to use it, you opt for a classic installer or a portable archive.
What sets the editor apart is above all its tools for searching, replacing and manipulating text. It locates an expression across several files, acts on columns or records sequences of repetitive actions. Responsibility for the meaning of the edits stays with you, however: swapping a word in a program does not prove that it still runs. Notepad++ is neither a layout-oriented word processor nor an environment that compiles every project on its own. It is aimed above all at people who want to inspect and fix files directly, in a text-focused interface, with extensions they pick according to their needs.
Search before replacing across a set of files
Searching in files helps you track down a parameter scattered across a folder. First state the directory and extensions involved, then run through the occurrences before triggering a global replace. The same expression does not necessarily play the same role in a comment, a character string and a variable name. Regular expressions refine the search, yet their special characters change how the pattern is read. Make a first attempt on a copy or a small batch of files. That way you keep an eye on the matches and stop a change that is too broad from reaching unrelated data.
Account for encodings and line endings
A text file holds characters read according to an encoding. If accents become unreadable, examine that encoding before fixing the characters by hand. The Notepad++ menus separate interpretation and conversion, two operations with different effects. Line endings also vary with the origin of the document. For a file used by another program, keep the convention it expects. After a conversion, reopen an example and check the special characters. A document that looks right in the editor can still trouble the application reading it if its technical expectations are not met.
Keep open files and edits in order
Tabs simplify going back and forth between a configuration, a log and a working note. Side-by-side views help you examine two parts of a file without multiplying windows. Name files clearly and check their path when several tabs look alike. Session restore is handy but is no stand-in for backups to known files. Before closing a run of tabs, make sure the useful documents are saved. For major changes, a version history kept outside the editor lets you pinpoint the earlier state and the reason for a change.
Automate repetitive moves with care
Macros remember a sequence of editing actions you can replay. They suit, for instance, the repeated reshaping of lines built the same way. Start from a few representative lines, including those with empty fields or unusual characters. A macro that succeeds on a regular example can shift the whole process as soon as a line has a different structure. Column selections offer another route for changing repeated positions. In both cases, compare the start and end of the result before saving. Automation spares you moves but also magnifies a wrong assumption about the structure of the text.
Pick extensions suited to your installation
The plugin manager adds functions that are not part of the editor's core. Install only the extensions useful to your work and check their compatibility with the architecture of Notepad++. A module meant for another architecture does not become compatible because a tutorial names it. If unusual behavior appears after an update, try to reproduce the problem without the modules involved. The portable distribution also helps compare a separate configuration. Note your important settings and extensions when preparing a change of computer or a reinstall.
Separate text editing from office software
Microsoft Word and LibreOffice better serve layout, styles and documents meant for printing. Notepad++ remains suited to files whose content must stay plain text, such as a configuration or a code snippet. SumatraPDF can then display a PDF without replacing this editor. The right choice therefore rests on the file type your recipient or your program expects. For a technical note, you can keep a text source in Notepad++ and prepare a laid-out version separately, without assuming the two documents will share all their properties.
Key features
- Tabs to move between several text files
- Syntax highlighting covering many languages
- Search and replace within chosen folders
- Regular expressions to target text patterns
- Macros to replay chains of editing steps
- Handling of encodings and line endings
System requirements
Windows; x86, x64 and ARM64 packages depending on version; Minimum memory and disk space not specified.
How to install
- Open the stable version page on the official website.
- Choose the installer corresponding to your Windows architecture.
- Launch the EXE, accept the license and choose the components.
- Complete the installation and then open a test text file.