Hide data in a secret Notepad text file compartment of Windows 10/8/7

The Windows operating system offers many tweaks and tricks. If you are aware of these, then you can complete your tasks quickly and in a simple way. You may never need to use any third-party software, if you are good at using those tricks. Among those many Notepad tips and tricks available, I will let you know, how to hide data in a secret text file compartment, created using a Notepad in Windows 10/8/7.

We normally save our bank account numbers, credit card numbers, important passwords and so on, in text files and place them on our desktop to access them easily. But, if your system is being shared with others, then there is chance of this information being compromised.

What I suggest is, follow this method of hiding data whenever necessary and remove those text files immediately once you are done with your work, as once anything is made, there are many ways to break it. This method makes use of the Alternate Data Streams of the NTFS file system, which Windows supports.

Hide data in a secret text file compartment

First open the command prompt in your Windows system and type the following command:

Syntax:

notepad FileName.txt:SecretWord.txt

Example Command:

notepad HideData.txt:FirstSecret.txt

hide data in a secret text file compartment

Now, when you hit Enter, it says Cannot find the file specified at the location and asks whether to create or not. Just click ‘Yes’. Start typing into the file and save it.

Enter Data to be hidden in a text file of Windows 7

The file shows a 0 KB size and it means there is nothing in that file.

File with hidden data is of zero KB Size

So, the text which we wrote, is hidden in this file and if you double click the file to open it, you see nothing written in it. Even if someone opens it, they will see an empty text file, and can start typing data in to it. It does not affect our hidden data at all.

Double click to open text file

See and Edit the hidden data which was saved before

Now, if you want to see the hidden data, you need type the same command. You can even add some more data in this step itself.

Edit the hidden data from the command prompt of Windows 7

If you want to add some more hidden data to the same file, then you need to use another secret word. This is not at all related to the data hidden with the first secret word.

Enter new hidden data in a text file of Windows 7

Example Command:

notepad HideData.txt:SecondSecret.txt

None of them will have impact on either files or the main data. One thing to remember is, you need to go through command prompt to access the hidden data.

Now, when everything is done remove that text file completely using Shift+DEL and no one knows about that file any more.

This is a simple way to natively hide data in a text file of Windows. Use this tips whenever you need to save some confidential information for that span of time.

Hat Tip HTG.

Posted by on , in Category Windows with Tags

Sridhar is a Software Engineer who loves to stay updated with developments in the world of technology. He is fond of writing everything related to Internet, Computers and Mobile and Desktop Operating Systems.