Why files get hidden and when you need to see them
Operating systems hide certain files by default to protect you from accidentally deleting or changing something that makes your computer work. System files, configuration files, and backup files usually stay hidden. But sometimes you need to see them — to find a backup copy of something, to troubleshoot a problem, or to understand what's actually in a folder.
Hidden files are not secret or encrypted. They are just marked with a hidden attribute. Showing them is a one-time setting change that stays in place until you turn it off again. You will see more files in your folders after you do this, but nothing dangerous happens just from looking at them.
Key Takeaways
- Hidden files are marked with a hidden attribute by the operating system, not encrypted or locked away — you can see them by changing one setting.
- On Windows, open File Explorer, click the View tab, and check the box next to "Hidden items" to show all files at once.
- On Mac, use the keyboard shortcut Command+Shift+Period to toggle hidden files on and off in any Finder window.
- Once you turn on hidden files, the setting stays on for all your folders, so you will see system files and configuration files everywhere until you turn it back off.
- Do not delete files that start with a dot (.) or have names like "System32" or "Library" unless you know exactly what they do.
Showing hidden files on Windows
Open File Explorer and navigate to any folder. At the top of the window, click the View tab. In the ribbon that appears, look for a checkbox labeled Hidden items (in some older versions of Windows it says "Show hidden files, folders, and drives"). Click the checkbox to turn it on.
Once you do this, all hidden files in every folder will appear. They often look slightly faded or have a different icon to show they are hidden, but you can open and use them like any other file. The setting stays on until you uncheck the box again.
If you are using an older version of Windows (7 or earlier), the steps are slightly different. Open File Explorer, click Tools in the menu bar, then Folder Options. Click the View tab, find the option that says "Show hidden files, folders, and drives", select it, and click OK.
Showing hidden files on Mac
Press Command+Shift+Period while you have a Finder window open. This keyboard shortcut toggles hidden files on and off when ready. You do not need to go into settings or menus — just use the shortcut in whichever folder you are looking at.
If the keyboard shortcut does not work, you can use the menu instead. Open Finder, click View in the menu bar at the top, and look for an option that says "Show Hidden Files" or "Show All Files". Click it to turn on hidden files.
On Mac, hidden files usually start with a dot (.) in their name, like .DS_Store or .bashrc. These are configuration and system files that the operating system uses. You can see them now, but leave them alone unless you are following specific instructions to change one.
What you will see after turning on hidden files
Once hidden files are visible, you will notice new folders and files in almost every directory. On Windows, you might see folders like $Recycle.Bin, System Volume Information, or ProgramData. On Mac, you will see files and folders that start with a dot, like .Trash or .config.
These are legitimate system and process files. They are hidden by default because most people do not need to interact with them, and accidentally moving or deleting them can cause problems. Now that you can see them, you can look for what you need without touching them.
Finding a specific hidden file
If you know the name of the file you are looking for, use your operating system's search function instead of scrolling through folders. On Windows, press Ctrl+F while File Explorer is open, or click the search box at the top right of the window. On Mac, press Command+Space to open Spotlight search, then type the filename.
Search will find hidden files even if you have not turned on the hidden files setting. This is faster than showing all hidden files if you only need to locate one thing. Once you find it, you can open the folder it is in to see the context around it.
Turning hidden files back off
When you are done looking at hidden files, you can hide them again by reversing the steps. On Windows, go back to the View tab and uncheck "Hidden items". On Mac, press Command+Shift+Period again to toggle them off.
Turning off the hidden files setting does not delete anything or change any files — it just hides them from view again. Your system files and configuration files are still there and still working. You can turn hidden files on and off as many times as you need to.
What not to do with hidden files
Now that you can see hidden files, the main rule is straightforward: do not delete or move anything unless you are following specific instructions to do so. Files that start with a dot (.) on Mac, or files in folders like System32, Windows, or ProgramData on Windows, are usually critical to how your computer runs.
If you are trying to find a backup of your own work, look in your user folder (your home directory on Mac, or C:\Users\[Your Name] on Windows). process configuration files are usually safe to look at but not to change. If you need to edit a configuration file, make a copy of it first so you have a backup if something goes wrong.
Frequently Asked Questions
Can showing hidden files slow down my computer?
No. Turning on the hidden files setting only changes what you see on screen — it does not load extra data or run extra processes. Your computer works exactly the same way whether hidden files are visible or not.
Will I accidentally delete something important if I can see hidden files?
Only if you actively delete it. straightforward seeing a hidden file does not put it at risk. As long as you do not move, rename, or delete files you do not recognize, your system will work normally.
What is the difference between hidden files and encrypted files?
Hidden files are just marked with an attribute that tells your operating system not to show them by default. Encrypted files are scrambled so that only someone with the right password can read them. You can see a hidden file's name and contents once you turn on the setting, but you cannot read an encrypted file without the password.
Do I need to show hidden files to back up my computer?
Most backup programs automatically include hidden files and system files in their backups, even if you have not turned on the hidden files setting. Check your backup software's settings to confirm, but you usually do not need to show hidden files to create a complete backup.
Why do some files have a dot at the beginning of their name on Mac?
The dot is a naming convention that tells Mac's operating system to hide the file by default. It is not a file extension like .txt or .pdf — it is part of the actual filename. Files like .bashrc and .gitignore are configuration files that applications and the system use to store settings.