Hidden files exist on every computer, but your operating system hides them by default
Hidden files are real files stored on your computer — documents, folders, configuration files, system settings — that your operating system deliberately keeps out of sight in File Explorer or Finder. They are not deleted or locked away; they are simply marked as hidden so you do not accidentally delete or modify something your computer needs to run. The most common reason to unhide them is to find a file you know exists but cannot see, or to access a folder like .config or .ssh that stores settings for specific programs.
On Windows, Mac, and Linux, the process is straightforward and takes about 30 seconds. You are not doing anything risky — you are just changing a display setting that shows files your system has marked as hidden. Once you know where the setting is, you can toggle it on and off whenever you need to.
Key Takeaways
- On Windows 11, open File Explorer, click the View menu, then toggle "Hidden items" to show files that start with a dot or have the hidden attribute set.
- On Mac, press Command+Shift+Period (.) in Finder to instantly show and hide all hidden files without opening any menu.
- Hidden files usually start with a dot (.) on Mac and Linux, or have a hidden attribute on Windows — both are just display flags, not security measures.
- Showing hidden files does not change what your programs do or break your system; you can turn the setting off again at any time.
- If you cannot find a file you are looking for, check whether it is hidden before assuming it is deleted or moved.
How to show hidden files on Windows 11
Open File Explorer (the folder icon on your taskbar or press Windows key + E). At the top of the window, click the View menu. You will see a checkbox next to "Hidden items" — click it to turn it on. All hidden files and folders will now appear in your file list, usually shown slightly faded or with a different icon to indicate they are hidden.
If you are using Windows 10, the process is identical: File Explorer > View menu > check "Hidden items". The setting stays on until you uncheck it again, so you can leave it on permanently if you prefer to always see hidden files.
On older versions of Windows (7 or earlier), you would go to Folder Options instead of the View menu, but the principle is the same. If you are not sure which version you have, press Windows key + Pause to open System, and it will tell you.
How to show hidden files on Mac
Open Finder and press Command + Shift + Period (the period key, also called a full stop). All hidden files will instantly appear in your current folder. Press the same key combination again to hide them. This is the fastest method on Mac and works in any Finder window.
If you prefer a menu-based approach, open Finder, click the Finder menu at the top left, then select Preferences. Click the Advanced tab and check "Show all filename extensions" — this does not show hidden files themselves, but it does reveal file extensions like .txt or .pdf that are sometimes hidden. To actually show hidden files, use the keyboard shortcut above.
The keyboard shortcut is much faster than hunting through menus, so most Mac users learn it and stick with it. You can toggle it on and off as many times as you need in a single session.
What hidden files actually are
On Mac and Linux, a hidden file is any file or folder whose name starts with a dot (.). For example, .ssh, .config, .bashrc, and .gitignore are all hidden by default. The dot is just a naming convention — it tells the operating system "do not show this in the file list unless the user asks for it." The file itself is not encrypted, locked, or special in any way.
On Windows, hidden files work differently. A file can have a "hidden" attribute set in its properties, which tells Windows not to display it. This is less common than the dot convention, but it serves the same purpose. You might also see system files (marked with a different icon) that Windows considers critical to operation — these are separate from hidden files, though the View menu often controls both.
Neither system uses hidden files as a security measure. A hidden file is not protected from being read, edited, or deleted — it is just not shown by default. If you want to protect a file, you would use encryption or file permissions instead.
Where hidden files usually live and why
Most hidden files live in your home directory (the folder with your username). On Windows, this is usually C:\Users\YourName. On Mac, it is /Users/YourName. On Linux, it is /home/YourName. Programs store their settings, caches, and configuration files here in hidden folders so they do not clutter your view of your actual documents.
Common hidden folders include .config (stores settings for many Linux and Mac programs), .ssh (stores keys for secure shell connections), .git (stores version control history if you use Git), and .cache (stores temporary data programs use to run faster). Windows hides AppData and ProgramData folders in a similar way, though they do not always start with a dot.
You might need to access these folders if you are troubleshooting a program, moving settings between computers, or following instructions that reference a hidden file by name. In most cases, you will not need to touch them — they exist so you do not have to think about them.
What to do if you find a hidden file you do not recognize
If you show hidden files and see something you do not recognize, the safest approach is to leave it alone. Hidden files are hidden because your system or a program you installed put them there. Deleting a hidden file can break the program that created it or cause your system to behave unexpectedly.
If you are trying to find a specific file you know you created — a document, photo, or download — and it is hidden, you can safely unhide it by right-clicking it, selecting Properties (Windows) or Get Info (Mac), and unchecking the hidden attribute. This makes it visible in your normal file list from then on.
If you suspect a hidden file is malware or unwanted, do not delete it yourself. Instead, run a scan with your antivirus software (Windows Defender on Windows, or a third-party tool on Mac). The antivirus will identify whether the file is actually a threat and remove it safely if needed.
Showing hidden files in specific programs
Some programs have their own file dialogs that do not respect your operating system's hidden file setting. For example, if you open a file dialog in Microsoft Word or Adobe Photoshop, you might not see hidden files even though you turned them on in File Explorer or Finder.
Most modern programs include a setting or checkbox in their file dialog to show hidden files. Look for an option labeled "Show hidden files", "View hidden files", or a gear/settings icon. If you do not see one, the program may not support showing hidden files in its dialog — in that case, you can navigate to the file using File Explorer or Finder first, then drag it into the program, or copy the file path and paste it into the program's file dialog.
Frequently Asked Questions
Is it safe to show hidden files?
Yes. Showing hidden files only changes what you see on screen — it does not modify, delete, or damage anything. You can turn the setting off again at any time. The only risk is accidentally deleting or editing a hidden file you did not mean to touch, so be careful when deleting anything you do not recognize.
Will showing hidden files slow down my computer?
No. Displaying hidden files does not affect your computer's performance. File Explorer and Finder simply show more items in the list, but this has no impact on speed or system resources.
Why does my file start with a dot on Mac but not on Windows?
Mac and Linux use the dot convention to mark hidden files, while Windows uses a hidden attribute stored in the file's properties. Both systems achieve the same result — hiding files from the default view — but they use different methods. A file you create on Mac will keep its dot when you move it to Windows, but Windows will not automatically hide it based on the dot alone.
Can I permanently unhide a hidden file so it stays visible?
Yes. Right-click the file and select Properties (Windows) or Get Info (Mac), then uncheck the hidden attribute. The file will remain visible even if you turn off the "show hidden files" setting. On Mac, you can also rename the file to remove the leading dot, which makes it permanently visible.
What if I cannot find the file I am looking for even with hidden files shown?
Use your operating system's search function. On Windows, press Windows key + S and type the filename. On Mac, press Command+Space and type the filename in Spotlight. Search will find the file even if it is hidden, and it is faster than browsing folders manually.