Saturday, 22 Jun 2024

Password Protection for Notepad Text Files

In today’s digital world, data security is of utmost importance. While most users are familiar with how to encrypt a Word document, many are unaware of how to password protect a plain text file. In this article, we will guide you through the best methods to password protect your Notepad text files in Windows 10.

Method 1: Encrypt with EFS

EFS (Encrypting File System) is a built-in encryption tool in Windows that allows you to encrypt individual files and folders on NTFS drives. By using EFS, you can add an extra layer of security to your Notepad text files.

  1. Right-click on the Notepad text file you want to encrypt and select Properties from the context menu.
  2. On the General tab, click Advanced. Then, check the box that says “Encrypt contents to secure data” and click OK.

EFS Encryption

  1. A pop-up window will appear, asking whether you want to encrypt the file and its parent folder. Select “Encrypt the file only” and click OK.
  2. The encrypted text file will be displayed in green color, indicating that it is encrypted.

Please note that EFS is only available on Pro, Enterprise, and Education editions of Windows 10. If you are using Windows 10 Home, this feature is not available to you.

Tham Khảo Thêm:  Bash Scripting - Bash Read Password without Echoing back

Method 2: Use 7-Zip for Password Protection

Notepad does not offer a built-in way to encrypt a .txt file. However, you can save the text document into a password-protected zip archive using the freeware 7-Zip.

  1. Download 7-Zip and install it on your computer.
  2. Right-click on the Notepad text file and select 7-Zip -> Add to archive.

7-Zip Context Menu

  1. In the Add to Archive window, change the Archive format to Zip. Enter a password to protect your text files and click OK.

Add to Archive with 7-Zip

  1. You will now have a password-protected .zip archive containing your text files. Make sure to remember the password to regain access to the encrypted files.

Method 3: Lock My Folders

For a more comprehensive solution, you can use Lock My Folders to password protect your .txt files. This tool encrypts files on the filesystem level, providing transparent encryption for both users and applications.

  1. Download and install Lock My Folders. Upon launching the application, you will be prompted to set a master password, which will be used to encrypt and decrypt your files. To create an auto-encryption secure folder, click on the Add button, specify the folder name, and choose a location for the folder to be created.

Lock My Folders

  1. Once the secure folder is created, you can open it from Windows Explorer. Any files saved within this folder will be automatically encrypted before being written to the physical disk. If you use Notepad to open the encrypted .txt file inside the secure folder, it will be transparently decrypted for viewing.
Tham Khảo Thêm:  Factory Reset iPhone 11 Without Password

Auto-Encryption Folder

  1. To lock the secure folder and prevent unauthorized access, simply right-click on it in Windows Explorer and select “Lock My Folder“. Additionally, a system reboot or shutdown will automatically lock the secure folder.

Lock Secure Folder

  1. When you need to decrypt and access the secure folder again, you will be required to enter the correct master password.

Enter Password to Access Secure Folder

  1. It is important to remember the master password. If you forget it, all the files within the secure folder will remain encrypted and inaccessible. This not only protects your text files from unauthorized access but also safeguards your data in case of theft or loss.

Frequently Asked Questions

Q: Which versions of Windows 10 support EFS encryption?
A: EFS encryption is available on Windows 10 Pro, Enterprise, and Education editions. Windows 10 Home does not have this feature.

Q: Can I use 7-Zip to encrypt other file types besides .txt files?
A: Yes, 7-Zip can be used to encrypt various file types, not just .txt files. Simply select the desired file during the encryption process.

Q: Does Lock My Folders encrypt files individually or as a whole folder?
A: Lock My Folders encrypts files individually within the secure folder, providing granular security for each file.

Q: What happens if I forget the master password for Lock My Folders?
A: If the master password is forgotten, the files within the secure folder will remain encrypted and inaccessible. There is no way to recover the encrypted files without the correct password.


Encrypting your Notepad text files is an effective way to ensure their security. While there are other tools available for encrypting .txt files, the methods outlined in this article are the easiest and most powerful. By employing these password protection techniques, you can have peace of mind knowing that your sensitive information is secure.

Tham Khảo Thêm:  How to Fix Display Scaling Issue with Intel Compute Stick

For more technology-related articles and reviews, visit Eireview.