Skip to main content

What Is Notepad++?

Damon M. Garn

Text editors are crucial tools for administrators and developers. These editors are handy for managing YAML files, creating Python applications, editing system configuration files, and more. But what about MS Word? There's a significant difference between a text editor and a word processor like MS Word. Word processors contain functionality end users look for, like outlining, spell-checking, and design/layout options. To enable all these features, word processors embed extra code in the text—invisible instructions about how a document should look.

Configuration files and programming projects see those invisible instructions and get confused by them. Text editors don't add extra information; all that's in the file is what you put there. Text editors and word processors are different tools for different jobs.

Windows includes a basic text editor named Notepad, but it's not very feature-rich. If you start doing serious programming or editing configuration files, you'll quickly become frustrated at its lack of functionality. For years, the Windows solution to that problem has been Notepad++.

I'll explain the use of Notepad++, how to install it, and configuration options, and provide a sample Python project to demonstrate its usefulness. Notepad++ is exclusively a Windows application. At the end, I'll mention a few similar macOS and Linux editors.

A good text editor is critical for power users. It's essential for scripting, programming, configuration management, infrastructure as code (IaC) projects, and more.

Download and install Notepad++

You can download Notepad++ from the official site. Since it's a Windows-specific application, there are fewer editions to download. The author makes older versions available, but you'll typically want the latest version.

Your choices include:

  • 64-bit .exe installer
  • 64-bit ZIP and 7z compressed versions
  • 64-bit minimal 7z compressed version

There are also 32-bit versions and support for ARM64. Since Notepad++ is open source, you also have access to the source code to compile it yourself.

The installation is straightforward, offering options to add or remove features, control the program installation location, and other choices.

Begin by downloading the most current version of Notepad++.

 

blog_what-is-notepad_1.png
Figure 1: Download the most current Notepad++ version

 

Double-click the installer file from the Downloads folder (or wherever you saved it).

blog_what-is-notepad_2.png
Figure 2: Double-click the installer file to launch it

 

The Windows User Account Control will probably challenge you. Select Yes.

blog_what-is-notepad_3.png
Figure 3: Select Yes at the UAC challenge

 

Select your preferred language.

blog_what-is-notepad_4.png
Figure 4: Select from many languages

 

At the Welcome to Notepad++ setup screen, choose Next.

blog_what-is-notepad_5.png
Figure 5: The Notepad++ welcome screen

 

Accept the license agreement to continue with the installation.

blog_what-is-notepad_6.png
Figure 6: Accept the license agreement

 

Select the installation location.

blog_what-is-notepad_7.png
Figure 7: Select the installation location

 

Select from among the many customizations.

blog_what-is-notepad_8.png
Figure 8: The installer offers many customizations

 

Select whether to add a shortcut to the Desktop and click the Install button.

blog_what-is-notepad_9.png
Figure 9: You may choose to add a shortcut to the Desktop

 

On most systems, the installation takes less than a minute. Once it is complete, you can start Notepad++ immediately.

blog_what-is-notepad_10.png
Figure 10: Installation completes in less than one minute, and you may run Notepad++ from here

 

Documentation and community

Notepad++ is pretty straightforward, but there is an extensive user manual and online community if you have ideas or need a question answered. The manual is very comprehensive and easy to work with, so that will probably be your primary resource.

Explore Notepad++ features

Notepad++ is very feature-rich and customizable. The installer automatically configures some handy settings. For example, Notepad++ is added to the right-click context menu so you can open documents easily.

blog_what-is-notepad_11.png
Figure 11: Right-click a file to edit it in Notepad++

 

Notepad++ also opens multiple documents in tabs to maintain efficiency.

blog_what-is-notepad_12.png
Figure 12: Multiple files open in tabs

 

Notepad++ offers a vast array of menu features. Take some time to explore these for yourself, but here is one interesting example. The View menu provides code folding, focus, word wrap, summary information, and more.

blog_what-is-notepad_13.png
Figure 13: Part of the View menu showing many options

 

Notepad++ is customizable with many programming features. The primary way of customizing Notepad++ is by adding plugins written by the community that enhance functionality.

blog_what-is-notepad_14.png
Figure 14: Use the Plugins Admin tool to manage plugins

 

Write Python code in Notepad++

Notepad++ is an excellent developer tool. It supports about 80 languages with additional extensibility and user-defined language choices.

Here's an example of some very simple Python code. You can define the programming language (Python, in this case). This selection allows Notepad++ to properly suggest commands, functions, and other code options specific to the selected language.

blog_what-is-notepad_15.png
Figure 15: Select a programming language to enable specific suggestions

 

Save your document as a Python file (note the .py file extension). This also allows Notepad++ to understand the document type and language you're working with.

blog_what-is-notepad_16.png
Figure 16: Save a file with a specific extension or type

 

Notepad++ will offer suggestions for specific Python components with an autocomplete feature. Autocomplete makes you more efficient and reduces typographical errors.

blog_what-is-notepad_17.png
Figure 17: Notepad++ suggests the Python print function

 

The completed code is displayed below. Note the color coding to help make the code more readable.

blog_what-is-notepad_18.png
Figure 18: Note the color coding to ease reading and troubleshooting

 

And it works! You can run the program to confirm it.

blog_what-is-notepad_19.png
Figure 19: Running the Python code written in Notepad++

 

As you can see below, the built-in Windows tool Notepad is far less robust. It hardly offers any customizations or menu options that are handy for developers, and it doesn't color code the sections. It works, but it's not as useful.

blog_what-is-notepad_20.png
Figure 20: Notepad is not as functional or user-friendly as Notepad++ for coding projects

 

You may find that you prefer Notepad++ to PowerShell IDE, too. Give it a try the next time you're writing a PowerShell script to see whether you find it useful. Check for the NppExec and PS1 extensions in Notepad++. Type Write-Host "Hello, World!" to test it.

Start using Notepad++

Notepad++ fills a gap between basic command-line commands and full word processors. It is easy to use, maintains clean code, and supports features for editing many programming languages. As a free and open-source software (FOSS), it's secure and flexible.

Linux and macOS users have their own specific text editors. The standard editors for Linux are VimEmacs, and Nano. Vim offers a great deal of customization, making it a good choice for developing simple applications and scripts. You could also try Notepadqq and Geany on your Linux boxes. Macs ship with TextEdit, but like Notepad on Windows, it's pretty limited. Explore BBEdit and Vim for your Mac.

I do a lot of writing—books, articles, blog posts—and I often use text editors for general brainstorming and drafting. I rarely need all the bells and whistles of word processors like MS Word or LibreOffice Writer. I usually want something simple and straightforward that doesn't get in my way or distract me.

Notepad++ is free, so there's really no harm in adding it to your Windows computer today. Get in the habit of using it when managing basic files, creating scripts, or otherwise managing content that doesn't require the extensive formatting a word processor embeds in documents.

Get the in-demand skills you need with CompTIA CertMaster Learn