How to hide files and folders in Windows 10 and 11
Windows 10 and 11 include a built-in option to hide any file or folder in File Explorer. For stronger privacy, Command Prompt can lock files out of search results entirely.
For the highest level of privacy, you can hide files inside a playable music track using a tool called DeepSound. This page covers that method too, plus how to unhide your files when you need them back.
| Method | Security level | Hidden from search? | Best for |
|---|---|---|---|
| File Explorer properties | Basic | No | Quickly hiding files from casual viewers |
| CMD / Terminal (attrib) | Medium | Yes | Hiding folders even when "Show hidden items" is ON |
| DeepSound Steganography | High (AES-256) | Yes | Hiding encrypted files inside a music file |
Hide files and folders in Windows using File Explorer
File Explorer has a built-in "Hidden" checkbox. Check it and the file disappears from normal folder view.
- Open File Explorer.
- In File Explorer, go to the file or folder you want to hide.
- Right-click the item and select Properties.
- Under the General tab, check the box next to Hidden.
- Click Apply.
- If hiding a folder, select Apply changes to this folder, subfolders, and files and click OK.
- Click OK to close Properties.

Hide files deeply using Command Prompt (attrib)
Files hidden with the File Explorer checkbox reappear when someone turns on "Show hidden items." The attrib +s +h command adds a system flag that keeps the file hidden even with that setting on.
- Right-click the Start button (Windows logo) on the taskbar.
- Click Command Prompt (Windows 10) or Terminal (Windows 11).
-
Type the following command:
attrib +s +h "C:\Path\To\Your\Folder" - Press the Enter key on your keyboard.

To make the file or folder visible again in the future, run the reverse command:
attrib -s -h "C:\Path\To\Your\Folder"

View and unhide hidden files in Windows 10 and 11
On Windows 11:
- Open File Explorer.
- In File Explorer, click View in the top toolbar > hover over Show > click Hidden items.
- Right-click the hidden file, select Properties, uncheck Hidden, and click Apply.

On Windows 10:
- Open File Explorer.
- In File Explorer, click the View tab in the top ribbon menu.
- Check the box next to Hidden items.
- Right-click the translucent file, select Properties, uncheck Hidden, and click Apply.
Hide files inside a music track using DeepSound
DeepSound is a free tool that hides files inside a music file (like an MP3). It locks the hidden files with a password so only you can pull them back out.
- Open DeepSound.
-
Click Open carrier files.

- In the file picker, choose the music file you want to use as the container.
-
Click Open.

-
Click Add secret files.

- In the file picker, select the files or folders you want to hide.
-
Click Open.

At Free space for secret files, you can see how much data (in MB) you can hide in the audio file.

-
Click Encode secret files.

- In the output window, pick an audio format from the Output format dropdown.
- At Output directory, change where DeepSound saves the new music file.
- To add a password, check Encrypt secret files (AES 256). To skip the password, leave it unchecked and go to the last step.
-
Type your password twice.

- Click the Encode secret files button at the bottom of the window.
The new music file now contains your hidden files. Play it and it sounds the same.
To pull your files back out: click Open carrier files, choose the music file, click Open, type your password, click OK, then click Extract secret files.
Related:
How to password protect a PDF offline (free, no Adobe)
How to Zip, RAR, and password protect files in Windows 11