How To Encrypt Text File Using Notepad++

Encryption means translation of data into a secret code. Encryption is the most effective way to achieve data security. To read an encrypted file, you must have access to a secret key or password that enables you to decrypt it. Unencrypted data is called plain text and encrypted data is referred to as cipher text.

Encryption is necessary if the document is very important. There are so many text editors, but generally many people use a popular text editor Notepad++. we can encrypt the single line of text or whole document in the notepad with a simple plugin, NppCrypt. so it’s unreadable to a user without a password which led data security.

Step 1:
Download and install Notepad++

Step 2:
After installing, Open Notepad++, open the plugin manager by going to:
Plugins > Plugin Manager > Show Plugin Manager


Select NppCrypt from the plugin list and click the install button below to install it. After installing NppCrypt, restart Notepad++.

Step 3:
For encryption, Open the text file with notepad++ and  select the text you want to encrypt. and go to Plugins > NppCrypt > Encrypt

nppcrypt plugin

Step 4:
Select the type of cipher and choose a Strong password for the decryption. ie whenever you want to decrypt the selected text you need this password.

type of cipher

Step 5:
Press Ok and the text encrypted.

encrypted text

Note:- Remove <nppcrypt> tag for simplicity of text , it does not affect the original text. After removing it will look like


Step 6:
Similarly for decryption, Select the cipher text and  go to Plugins–>NppCrypt–>Decrypt and enter the password which you set at the time of encryption. Press ok. the text gets decrypted.


Share this

Leave a Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.