Is there any easy/simple way to protect a .txt file with a password? So whenever open the file, password is required, just like opening .pdf with a password protected. Though I still want to be able to edit the text file in general text editors (notepad).

  • 1
    Right click -> properties -> Encrypt
    – Sathyajith Bhat
    Jul 3, 2012 at 6:00
  • 3
    EFS is not fully supported on Windows 7 Starter, Windows 7 Home Basic, and Windows 7 Home Premium. Jul 3, 2012 at 7:00
  • A word of warning, @Sathya's solution isn't very portable. It's difficult to get it to work on more than just your user account on one computer, and the encrypted form can't really be transferred to others. It also requires a NTFS file system, which means you can't transfer it onto a flash drive (it's automatically unencrypted when used/transferred).
    – Bob
    Jul 3, 2012 at 8:27
  • That should be a "can't transfer it onto a non-NTFS flash drive, which is the majority of them...
    – Bob
    Jul 3, 2012 at 8:41
  • @Bob: isn't that the first thing you do with a flash-drive, format it into NTFS?
    – Terry
    Jul 3, 2012 at 9:49

2 Answers 2


Use NotePad++ and add SecurePad Plugin. Check this link: http://www.addictivetips.com/windows-tips/encrypt-notepad-text-documents-with-securepad-plugin/



  • 2
    Can you provide more context? A name of the software and a small summary? If the link goes dead, we have little helpful information. For example, this solution requires Notepad++. That is an important detail.
    – iglvzx
    Jul 3, 2012 at 6:18

You can also use 7-zip, compress and encrypt the file together. Also for doc files you can use build in office functionality.

More Here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .