Hidden files are there, but your operating system hides them by default
Hidden files exist on your computer right now, but you cannot see them unless you turn on the setting that shows them. Your operating system — Windows, Mac, or Linux — hides certain files to protect them from accidental deletion and to reduce clutter. These are usually system files, configuration files, or backup files that most people do not need to touch. To see them, you change one setting in your file manager, and they appear immediately.
The steps differ depending on whether you use Windows or Mac. Both take less than a minute. Once you turn on the setting, hidden files stay visible until you turn it back off — the setting does not expire or reset on its own.
Key Takeaways
- On Windows 10 and 11, open File Explorer, click the View tab, and check the box next to "Hidden items" to see hidden files.
- On Mac, open Finder, press Command+Shift+Period (the period key), and hidden files appear immediately; press the same keys again to hide them.
- Hidden files usually start with a dot (.) on Mac and Linux, and have a "Hidden" attribute on Windows.
- Showing hidden files does not change them or make them unsafe — it only changes what you see on your screen.
How to show hidden files on Windows 10 and 11
Open File Explorer by pressing the Windows key and E at the same time, or by clicking the folder icon on your taskbar. You will see your usual folders and files.
Look at the top of the window for the menu bar. Click the tab labeled View. A ribbon of options will appear below it. On the right side of that ribbon, you will see a checkbox next to the words "Hidden items". Click that checkbox. The hidden files on your computer will now appear in your folders, usually shown slightly faded or with a different icon to show they are hidden.
To hide them again later, click the same checkbox a second time. The setting stays where you left it — if you close File Explorer and open it again, hidden files will still be visible until you uncheck the box.
How to show hidden files on Mac
Open Finder by clicking the Finder icon in your dock, or by pressing Command+Space and typing "Finder". Navigate to the folder where you want to see hidden files.
Press Command+Shift+Period (hold Command and Shift, then tap the period key). Hidden files will appear in the folder immediately. They usually have a dot at the start of their name — for example, ".DS_Store" or ".config" — which is how Mac marks them as hidden.
Press the same three keys again to hide them. Unlike Windows, Mac does not have a permanent setting for this. The keyboard shortcut toggles hidden files on and off each time you use it, so you can show them when you need them and hide them again just as quickly.
Why files are hidden and what they usually contain
Operating systems hide files to prevent you from accidentally deleting something your computer needs to run. A hidden system file might control how your network connects, store passwords, or contain backup data. If you delete the wrong hidden file, your computer might stop working correctly or lose important settings.
Most hidden files are not dangerous to look at. You can open them, read them, and look around without causing any harm. The danger comes from editing or deleting them without knowing what they do. If you are just browsing to find a specific file, showing hidden files is completely safe.
Finding a specific hidden file you need
If you know the name of the hidden file you are looking for, show hidden files first using the steps above, then use your file manager's search function. On Windows, click the search box at the top right of File Explorer and type the filename. On Mac, press Command+F in Finder and type the name.
Search will find the file whether it is hidden or not, but showing hidden files first lets you browse folders manually if you are not sure of the exact name. This is useful when you are looking for a configuration file or a backup and you want to see what is actually in a folder.
What to do if you cannot find the file you are looking for
If you have turned on hidden files and still cannot find what you need, the file might be in a different location than you expected. Check your Downloads folder, your Documents folder, and your Desktop first — these are where most files end up. If you remember part of the filename, use search instead of browsing.
If the file is on an external drive or a network location, you may need to show hidden files on that drive separately. Connect the drive or network location, open it in your file manager, and repeat the steps to show hidden files. Some external drives and network locations have their own hidden-file settings that work independently from your main computer.
Frequently Asked Questions
Is it safe to show hidden files?
Yes. Showing hidden files only changes what you see on your screen — it does not change the files themselves or make them unsafe. You can look at hidden files without any risk. The danger comes only from editing or deleting them without knowing what they do.
Will hidden files stay visible after I restart my computer?
On Windows, yes — the setting stays on until you uncheck the box. On Mac, no — the keyboard shortcut toggles hidden files on and off each time you use it, so you will need to press Command+Shift+Period again after restarting if you want to see them.
Can I hide files myself, or only system files?
You can hide your own files on both Windows and Mac. On Windows, right-click a file, choose Properties, check the "Hidden" box, and click OK. On Mac, select a file, press Command+I to open Info, and check "Stationery Pad" or use a terminal command. Most people do not need to do this.
What does the dot at the start of a filename mean?
On Mac and Linux, a dot at the beginning of a filename — like ".bashrc" or ".config" — tells the operating system to hide that file. On Windows, files are hidden using an attribute, not a dot, so you might see hidden files with or without a dot at the start.
Can I delete a hidden file?
You can, but you should not unless you are certain what it does. Hidden files are usually hidden for a reason — they control how your computer works or store important data. If you delete the wrong one, your computer might stop working correctly. Only delete a hidden file if you are sure you no longer need it.