Hidden files and folders are there — you just need to turn on the right setting

Every operating system hides certain files and folders by default to prevent accidental deletion or changes that could break your system. Windows, macOS, and Linux all store configuration files, system settings, and application data in hidden locations. You do not need special software or administrator access to see them — you only need to change one setting in your file manager.

The steps differ slightly depending on your operating system, but the principle is the same: your file manager has a "show hidden files" toggle that reveals what was always there. Once you turn it on, hidden files appear alongside your regular files, usually with a slightly faded icon or a dot prefix to show they are system-related.

Key Takeaways

  • Windows File Explorer has a "Hidden items" checkbox in the View tab that shows all hidden files and folders instantly.
  • On macOS, pressing Command+Shift+Period toggles hidden files on and off in Finder without opening any menus.
  • Linux file managers like Nautilus show hidden files through the View menu or by pressing Ctrl+H.
  • Hidden files usually start with a dot (.) on macOS and Linux, while Windows marks them with a hidden attribute that the system recognizes.
  • Showing hidden files is safe — you are only viewing them, and the system prevents accidental changes to critical files.

How to show hidden files in Windows 10 and 11

Open File Explorer and navigate to any folder. Look at the top menu bar and click the View tab. In the ribbon that appears, you will see a checkbox labeled Hidden items — click it to turn it on. All hidden files and folders in that location will immediately become visible, usually shown with a slightly dimmed or faded icon.

This setting applies to File Explorer globally, so once you turn it on, hidden files will show in every folder you open. If you want to hide them again later, return to the View tab and uncheck Hidden items.

Windows also has a second layer of hidden files: system files. These are even more protected and are hidden by default even when you turn on hidden items. To see system files as well, go to View, then click Options (or Change folder and search options on some versions). In the window that opens, click the View tab, scroll down, and uncheck Hide protected operating system files. Windows will warn you that this is not recommended — this warning is accurate, so only do this if you have a specific reason to see system files.

How to show hidden files on macOS

The fastest way is the keyboard shortcut: press Command+Shift+Period while Finder is open and focused on any window. Hidden files will appear immediately, and pressing the same combination again hides them. This works in any Finder window and is the quickest toggle available.

If you prefer a menu option, open Finder, click View in the menu bar, and select Show Hidden Files. The setting persists across Finder windows, so once you turn it on, hidden files stay visible until you turn it off again through the same menu.

On macOS, hidden files are identified by a dot at the start of their filename — for example, .bashrc or .DS_Store. These files are not marked with a special icon; they simply appear in the file list with their dot prefix visible.

How to show hidden files on Linux

Most Linux file managers, including Nautilus (used in GNOME), Dolphin (used in KDE), and Thunar, support hidden files through the View menu or a keyboard shortcut. In Nautilus, press Ctrl+H to toggle hidden files on and off. In Dolphin, use the same shortcut or go to View and select Show Hidden Files.

Like macOS, Linux marks hidden files with a leading dot in the filename. You will see files like .config, .ssh, and .local appear when you toggle the setting on. The dot is part of the actual filename, not a visual indicator added by the system.

If you are using the command line instead of a graphical file manager, the ls -a command lists all files including hidden ones. The -a flag stands for "all" and overrides the default behavior of hiding dot files.

What hidden files actually contain

Hidden files store configuration settings, user preferences, cache data, and system information that programs and the operating system need to function. Examples include browser cache folders, SSH keys, application settings, shell configuration files, and temporary data that programs create while running.

Most of these files are safe to view and read. You should not delete or edit them unless you have a specific reason and understand what they do — changing a configuration file can break the program that depends on it. Simply viewing hidden files to see what is there carries no risk.

Some hidden folders, like .git in programming projects or .ssh for secure connections, contain important data that you may need to access. Others, like browser cache folders, are just temporary storage that the system can recreate if needed. Knowing what is hidden helps you understand how your system and programs organize their data.

When you might need to see hidden files

You may need to view hidden files when troubleshooting program problems, accessing configuration files to change settings, finding backup or cache data, or working with version control systems like Git. Developers and system administrators access hidden files regularly, but regular users encounter them less often.

If a program is not working correctly, checking hidden configuration folders can sometimes reveal error logs or settings that explain the problem. If you are moving files between computers or backing up important data, you may need to include hidden folders to preserve all your information. If you are following instructions from a support article or tutorial, it may direct you to a hidden folder that you need to locate.

Frequently Asked Questions

Is it safe to show hidden files?

Yes. Showing hidden files only makes them visible — it does not change anything about how they work or make them easier to accidentally delete. The system still protects critical system files from accidental changes, even when they are visible. You are simply viewing what was always there.

Will showing hidden files slow down my computer?

No. Toggling the hidden files setting has no effect on performance. Your file manager may take a fraction of a second longer to load a folder that contains many hidden files, but the difference is not noticeable in normal use.

Can I delete hidden files?

You can delete most hidden files, but you should not unless you know what they do. Deleting a hidden configuration file can break the program that depends on it. System files are protected by the operating system and cannot be deleted even if you try. If you want to remove something, research what it does first.

Why does my file manager show hidden files even though I did not turn it on?

Some file managers default to showing hidden files, or a setting may have been changed by an update or another user on your computer. You can turn the setting off using the same method you would use to turn it on — the View menu or keyboard shortcut for your operating system.

What is the difference between hidden files and system files?

Hidden files are marked as hidden by the operating system or user and are simply not shown by default. System files are critical files that the operating system needs to run and are protected from accidental deletion. Some files are both hidden and system files. Showing hidden items reveals both, but system files have extra protection against deletion.