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 11/10.
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 a chance of this information being compromised.
What I suggest is to 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:
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.
The file will be saved in your default user profile folder. The default path of the folder is:
Replace the user name in the above path with your user name. The file shows a 0 KB size and it means there is nothing in that file.
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 into it. It does not affect our hidden data at all.
See and Edit the hidden data which was saved before
Now, if you want to see the hidden data, you need to type the same command. You can even add some more data in this step itself.
Above, we have shown the default save location of the file. You can edit the file only if the file exists in the default location. If you move the file to another location, Notepad will not find the file when you execute the command in the Command Prompt. Hence, it will create another at the default location.
If you copy the file in your storage device to open it on another computer, you have to move that file to the same default folder on that computer, which is the user profile folder in the Users folder.
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.
None of them will have an impact on either file or the main data. One thing to remember is, you need to go through the 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 anymore.
This is a simple way to natively hide data in a text file of Windows. Use these tips whenever you need to save some confidential information for that span of time.
How do I hide text files in Windows?
You can hide text and other files in Windows 11/10 easily by changing the file attributes. To do so, right-click on the file that you want to hide and select Properties. Enable the Hidden Attributes under the General tab. After that, click Apply and then click OK. To view the hidden files, open File Explorer Options and enable the Hidden Files and Folders option.
How do you make text hidden text in a document?
You can easily hide text in Microsoft Word documents. To do so, select the text that you want to hide, then right-click and select Font. When the Font window opens up, select the Hidden checkbox and click OK. This will hide the selected text in your Word document. You can unhide the text anytime in your Word document by unchecking the Hidden checkbox.