Software & Apps File Types 44 44 people found this article helpful What Is a Hidden File? What are hidden computer files & how do you show or hide them? by Tim Fisher General Manager, VP, Lifewire.com Tim Fisher has 30+ years' professional technology support experience. He writes troubleshooting content and is the General Manager of Lifewire. our editorial process Facebook Twitter LinkedIn Tim Fisher Updated on January 03, 2020 © Dimitri Otis / DigitalVision / Getty Images File Types Design Cryptocurrency MS Office Windows Linux Google Drive Apps File Types Backup & Utilities View More Tweet Share Email A hidden file is any file with the hidden attribute turned on. Just as you'd expect, a file or folder with this attribute toggled on is invisible while browsing through folders — you can't see any of them without explicitly allowing all of them to be seen. Most computers running a Windows operating system are configured by default to not display hidden files. The reason some files and folders are automatically marked as hidden is that, unlike other data like your pictures and documents, they're not files that you should be changing, deleting, or moving around. These are often important operating system-related files. Both Windows and macOS computers have hidden files. How to Show or Hide Hidden Files in Windows You may sometimes need to see hidden files, like if you're upgrading software that requires you to select a certain file that's hidden from normal view or if you're troubleshooting or repairing a specific problem. Otherwise, it's normal to never interact with hidden files. The pagefile.sys file is a common hidden file in Windows. ProgramData is a hidden folder you may see when viewing hidden items. In older versions of Windows, commonly encountered hidden files include msdos.sys, io.sys and boot.ini. Configuring Windows to either show, or hide, every hidden file is a relatively easy task. Just select or deselect Show hidden files, folders, and drives from Folder Options. See our How to Show or Hide Hidden Files in Windows tutorial for more detailed instructions. Remember that most users should keep hidden files hidden. If you need to show hidden files for whatever reason, it's best to hide them again when you're done using them. Hidden Folders in Everything. Using a free file search tool like Everything is another way to view hidden files and folders. Going this route means you won't need to make any changes to settings in Windows, but you also won't be able to see the hidden items in a regular Explorer view. Instead, just search for them and open them through the search tool. How to Hide Files and Folders in Windows To hide a file is as straightforward as right-clicking (or tap-and-hold on touch screens) the file and choosing Properties, followed by checking the box next to Hidden in the Attributes section of the General tab. If you've configured hidden files to show, you'll see that the newly hidden file's icon is a bit lighter than non-hidden files. This is an easy way to tell which files are hidden and which aren't. Hiding a folder is done in a similar fashion via the Properties menu except that, when you confirm the attribute change, you're asked if you want to apply the change to that folder only or to that folder plus all of its subfolders and files. The choice is yours and the result is just as clear as it seems. Choosing to hide just the folder will hide that folder from being seen in File/Windows Explorer but won't hide the actual files contained within. The other option is used to hide both the folder and all of the data inside of it, including any subfolders and subfolder files. Unhiding a specific file or folder can be done using the same steps mentioned above. So, if you're unhiding a folder full of hidden items and choose to just turn off the hidden attribute for that folder only, then any files or folders inside of it will remain hidden. On a Mac, you can quickly hide folders with the chflags hidden /path/to/file-or-folder command in Terminal. Replace hidden with nohidden to unhide the folder or file. Things to Remember About Hidden Files While it's true that turning on the hidden attribute for a sensitive file will make it "invisible" to the regular user, you shouldn't use it as a means to safely hide your files from prying eyes. Unhiding a hidden file/folder is easy for anyone to do, as you can see above. Instead, a true file encryption tool or full disk encryption program is the way to go. Although you can't see hidden files under normal circumstances, it doesn't mean that they suddenly no longer take up disk space. In other words, you can hide all the files you want to reduce visible clutter but they will still take up room on the hard drive. Hidden Files in Command Prompt. When you're using the dir command from the command-line in Windows, you can use the /a switch to list hidden files along with the non-hidden files even if hidden files are still hidden in Explorer. For example, instead of using just the dir command to show all the files in a particular folder, execute dir /a instead. Even more helpful, you could use dir /a:h to list only the hidden files in that particular folder. Some antivirus software may prohibit changing the attributes of critical hidden system files. If you're having trouble toggling a file attribute on or off, you might try temporarily disabling your antivirus program and see if that resolves the problem. Some third-party software (like My Lockbox) can hide files and folders behind a password without using the hidden attribute, which means it's pointless in those situations to try toggling the attribute off in order to see the data. Of course, this is also true for file encryption programs. A hidden volume on a hard drive that's storing secret files and folders that are hidden away from view and only accessible through a decryption password, cannot be opened simply by changing the hidden attribute. In these circumstances, the "hidden file" or "hidden folder" has nothing to do with the hidden attribute; you'll need the original software, the correct password, and/or the keyfile, to access the hidden file/folder.