Hidden files exist on every computer, but your operating system hides them by default

Hidden files are real files stored on your computer that the operating system deliberately keeps out of sight. They usually contain settings, preferences, or system data that you do not need to see during normal use. Windows, Mac, and Linux all use hidden files the same way — they store configuration information that could break something if you accidentally delete or move it.

You can make hidden files visible whenever you want. The steps differ depending on whether you use Windows, Mac, or Linux, but the process takes less than a minute on any system. Once you turn on the setting, hidden files stay visible until you turn it off again.

Key Takeaways

  • Hidden files are normal system files your operating system hides to prevent accidental changes, and you can make them visible without any risk.
  • On Windows 11, open File Explorer, click the View menu, then toggle "Hidden items" on.
  • On Mac, press Command+Shift+Period while a Finder window is open to toggle hidden files on and off instantly.
  • On Linux, use the keyboard shortcut Ctrl+H in your file manager, or right-click in an empty area and look for a "Show Hidden Files" option.
  • Hidden files usually start with a dot (.) on Mac and Linux, and have a "Hidden" attribute on Windows.

How to show hidden files on Windows 11

Open File Explorer by pressing the Windows key and E together, or by clicking the folder icon on your taskbar. Navigate to any folder where you want to see hidden files.

Click the View menu at the top of the window. You will see a checkbox next to "Hidden items" — click it to turn the setting on. Hidden files and folders will now appear in the window, usually shown with a slightly faded icon to indicate they are hidden.

The setting applies to all folders on your computer. Once you turn it on, hidden files will show everywhere in File Explorer until you uncheck the box again.

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 any folder.

Press Command+Shift+Period (the period key, not a different key). Hidden files will instantly appear in the window. Press the same keys again to hide them. This keyboard shortcut works in any Finder window and is the fastest way to toggle hidden files on and off.

If you prefer a menu option instead, click the View menu at the top of the screen and select "Show Hidden Files". The keyboard shortcut is faster if you need to switch back and forth often.

How to show hidden files on Linux

Open your file manager — the name varies by Linux distribution, but it is usually called Files, Nautilus, Dolphin, or Thunar. Navigate to any folder.

Press Ctrl+H to toggle hidden files on and off instantly. This works in most Linux file managers. If the keyboard shortcut does not work, right-click in an empty area of the window and look for a "Show Hidden Files" or "View Hidden Files" option in the menu.

You can also open the View menu at the top of the window and look for a checkbox or toggle next to "Hidden Files".

What hidden files actually look like

On Mac and Linux, hidden files have a dot (.) at the start of their name — for example, .bashrc, .config, or .ssh. This naming convention tells the operating system to hide them. You will see many folders that start with a dot when you turn on the setting.

On Windows, hidden files do not have a special naming pattern. Instead, they have a "Hidden" attribute that the operating system checks. When you turn on "Hidden items" in File Explorer, Windows shows all files with that attribute set, regardless of their name.

Hidden files are usually smaller and less noticeable than regular files and folders. Do not delete or move them unless you know exactly what they do — they often contain settings that programs need to work correctly.

Why files are hidden in the first place

Operating systems hide files to reduce clutter and prevent accidental changes. A typical computer has hundreds of hidden configuration files, and showing all of them would make file browsers confusing and hard to navigate. More importantly, accidentally deleting a hidden system file can break a program or the operating system itself.

Most hidden files belong to the operating system or to programs you have installed. Some are temporary files that programs create and clean up automatically. A few are user configuration files that store your preferences for specific programs.

Making files hidden does not protect them from being deleted — it just keeps them out of sight. If you can see a hidden file, you can still delete it, which is why it is important to know what a file does before you remove it.

Common hidden files and folders you might encounter

On Mac and Linux, .ssh contains security keys for connecting to remote servers. .bash_profile and .bashrc store settings for the terminal. .config holds configuration files for many programs. .cache stores temporary data that programs use to run faster.

On Windows, AppData is the main hidden folder — it contains settings and temporary files for programs you have installed. Inside AppData you will find three subfolders: Local, LocalLow, and Roaming. Most programs store their settings in one of these folders.

You do not need to understand every hidden file on your computer. The important thing is to know that they exist, what they are for, and that you should not delete them unless you have a specific reason and understand what will happen.

Frequently Asked Questions

Is it safe to show hidden files?

Yes, making hidden files visible does not change anything on your computer. You are only changing what you can see, not what the operating system does. The files remain just as protected as they were before.

Can I accidentally break something by looking at hidden files?

Looking at hidden files is completely safe. You can only cause problems if you delete, move, or edit them. If you are just browsing to see what is there, nothing will happen.

What if I delete a hidden file by accident?

It depends on which file you deleted. If it was a temporary file or cache, nothing will happen. If it was a system file or program setting, the program might stop working or the operating system might behave strangely. If this happens, restart your computer first — many hidden files are recreated automatically when programs start up.

Do I need to turn hidden files back off?

No, leaving hidden files visible does not slow down your computer or cause any problems. Many people leave the setting on permanently. Turn it off only if the extra files make your folders harder to navigate.

Why does my file have a dot at the start of its name?

On Mac and Linux, any file or folder that starts with a dot is automatically hidden by the operating system. If you created a file and accidentally named it with a dot at the start, it will be hidden. Rename it to remove the dot if you want it to show up normally.