Make an Invisible File
While there's no way to make a folder truly "invisible" to a determined user, you can hide your sensitive files and folders from regular computer searches by modifying a couple of system attributes (PC) or by using the "Terminal" app (Mac). After doing so, your new file will be invisible, both literally and to normal computer searches.
Contents
Steps
Hiding Your File (Windows)
- Right-click your desktop. You'll need to create a regular file here first.
- Hover over "New".
- Click a file type. "Folder" or "Text Document" are quick and simple choices.
- Type in a name for your folder.
- Hit ↵ Enter.
- Right-click your file.
- Click Properties.
- Check the "Hidden" box.
- Click OK. Your file is now hidden, meaning it won't show up in search queries or your File Explorer app; however, if you create a regular folder in the same directory with the same name, it will rename itself to be "Filename (2)", which betrays the fact that you have a hidden folder in that directory.
- Your file is also literally invisible unless your computer is currently displaying hidden files and folders.
Finding Your File (Windows)
- Type "hidden files" into the Start search bar.
- Click "Show hidden files and folders". This should be the first item in the search list.
- Double-click "Hidden files and folders". If this option already shows two sub-options indented below it, skip this step.
- Click "Show hidden files, folders, and drives".
- Click OK.
- Close the "Hidden files" menu.
- Return to your desktop. You should now see your previously-hidden file! It will appear transparent to indicate its "hidden" attribute.
- To hide your files again, return to the "Hidden files and folders" menu and click "Don't show hidden files, folders, or drives".
Hiding Your File (Mac)
- Two-finger click your desktop. You'll need to use the "Terminal" app to hide your folder.
- Click New Folder.
- Type in a name for your folder.
- Tap ⏎ Return.
- Click the magnifying glass icon. This is in the top right corner of your screen.
- You can also hold ⌘ Command and tap Spacebar.
- Type in "Terminal".
- Tap ⏎ Return.
- Type
chflags hidden
. - Drag your folder into Terminal.
- Tap ↵ Enter. Your folder should now be hidden from view!
- Hidden folders on a Mac are invisible unless you type a specific command into Terminal.
Finding Your File (Mac)
- Click Go. This is in your screen's top right corner tool bar.
- Click Go to Folder.
- Type in
~/Desktop/(FolderName)
. - Click Go. You should now be viewing your folder's contents!
- Any files you place in your folder will also be hidden.
Tips
- You can also hide existing files and folders on both Mac and PC platforms.
- You won't be able to find an invisible file in regular searches.
- You can hide a folder in pretty much any directory on a computer--for example, your Documents file; you aren't bound to the desktop.
Warnings
- A savvy user will know how to uncover hidden files.
Related Articles
- Find Hidden Files and Folders in Windows
- Find Hidden or Locked Files in a Directory
- Make Hidden Files on Ubuntu
- Enable Viewing Hidden Files and Folders in Windows
- Create a Computer File