How to Hide Files on Android — Hide Photos, Videos & Folders

How to Hide Files on Android — Hide Photos, Videos & Folders

Last Updated :

Why Hide Files on Android?

Everyone has files they'd rather keep private — personal photos, financial documents, surprise gift planning, private notes, or simply folders they don't want cluttering their gallery. Android provides a simple, built-in mechanism for hiding files that doesn't require root, special apps, or encryption.

The method is straightforward: any file or folder whose name starts with a dot (.) is hidden by default on Android. This is inherited from Linux/Unix conventions — dot-prefixed items are "hidden" system files. Gallery apps, media players, and most file managers skip them entirely.

AnExplorer gives you full control over this mechanism: hide files by renaming, toggle visibility on/off, and create .nomedia files to exclude folders from media scanning.

Method 1: Dot-Prefix Hiding (Files and Folders)

The simplest and most effective method:

Hiding a folder

  1. Open AnExplorer → navigate to the folder you want to hide
  2. Long-press the folder → tap Rename
  3. Add a dot (.) at the beginning: Private Photos.Private Photos
  4. The folder immediately disappears from gallery apps and most file managers

Hiding individual files

Same process for individual files:

  1. Long-press the file → Rename
  2. Add dot prefix: document.pdf.document.pdf
  3. File becomes invisible

Viewing hidden files in AnExplorer

To access your hidden files:

  1. AnExplorer → ☰ → Settings → Show hidden files → enable
  2. All dot-prefixed files and folders become visible (shown slightly dimmed)
  3. Browse, open, copy, move — full management of hidden items
  4. Toggle off again when done to re-hide them

Unhiding files

To make files visible again permanently:

  1. Enable "Show hidden files" in AnExplorer settings
  2. Find the hidden file/folder
  3. Long-press → Rename → remove the dot prefix
  4. File is now visible everywhere again

If you want files to remain visible in file managers but hidden from the Gallery, Music, and Video apps:

  1. Open AnExplorer → navigate to the folder you want to hide from media apps
  2. Create a new empty file named exactly .nomedia (dot + nomedia, no extension)
  3. The Gallery app stops scanning this folder — photos/videos inside won't appear in your gallery
  4. The files remain fully visible and accessible in AnExplorer

How to create .nomedia:

  1. In AnExplorer, navigate to the target folder
  2. Tap ⋮ → New → File
  3. Name it .nomedia (include the dot)
  4. Save — the file can be empty (0 bytes)

Use cases for .nomedia:

  • Hide WhatsApp memes from your photo gallery (add .nomedia to WhatsApp Images folder)
  • Hide app assets (stickers, cached images) from gallery
  • Keep work documents folder out of media scanning
  • Hide downloaded content that clutters your gallery

To reverse: Delete the .nomedia file from the folder. The gallery will re-scan and show the media again (may take a few minutes or a device restart).

Method 3: Move to a Hidden Location

For maximum privacy, combine hiding with an obscure location:

  1. Create a hidden folder in a non-obvious location:
    • Internal Storage → Android → .private (hidden inside the Android system folder)
    • Or: Internal Storage → .system_cache (looks like a system folder)
  2. Move your private files into this hidden folder
  3. Disable "Show hidden files" in AnExplorer

Now the files are:

  • Hidden (dot prefix)
  • In a non-obvious location (not in DCIM, Pictures, or Downloads)
  • Named to look like a system folder (discourages casual browsing)

What Hiding Does NOT Protect Against

Be honest about limitations:

ThreatHidden files protect?What to use instead
Casual viewing (someone borrowing your phone)✅ YesHiding is sufficient
Gallery/media app scanning✅ Yes.nomedia or dot-prefix
Someone using AnExplorer with "show hidden" on❌ NoEncryption or secure folder
Phone theft (data extraction)❌ NoFull-disk encryption (enabled by default on Android 10+)
Forensic analysis❌ NoNothing short of secure deletion
Cloud backup scanning❌ NoExclude folder from backup

Bottom line: Hiding is privacy from casual access — someone scrolling your gallery or glancing at your files won't see hidden items. It's NOT security against determined access. For true security, use encryption.

Hiding Specific Content Types

The most common use case — keep private photos out of the gallery app:

  1. Create a folder: Internal Storage → .Private_Photos
  2. Move private photos into this folder
  3. Add a .nomedia file inside (belt and suspenders)
  4. Photos are now invisible in Gallery, Google Photos, and any media scanner

Hide videos

Same approach as photos:

  1. Create .Private_Videos folder
  2. Move videos inside
  3. Add .nomedia file
  4. Videos won't appear in any video player's library scan

Hide documents

Documents don't appear in gallery, but you may want to hide them from file manager browsing:

  1. Rename folder: Financial.Financial
  2. Documents inside are hidden when "Show hidden files" is off
  3. Access anytime by toggling the setting in AnExplorer

Hide downloaded files

The Downloads folder is visible to many apps. To hide specific downloads:

  1. Create .archive folder inside Downloads
  2. Move sensitive downloads there
  3. Hidden from casual browsing but accessible via AnExplorer

Tips for Effective File Hiding

  1. Use meaningful hidden folder names.Private, .Vault, .Archive — so YOU can find them easily
  2. Don't hide system folders — renaming system folders with dots can break apps
  3. Remember your hidden files exist — before factory reset, unhide and back up
  4. Combine with app lock — lock AnExplorer itself with a PIN (via Android's app lock feature) for an extra layer
  5. Don't rely on hiding alone for sensitive data — use encryption for truly confidential files
  6. Test after hiding — open Gallery and verify the files no longer appear

Frequently Asked Questions

Copyright © DWorkS 2011 – 2026 All Rights Reserved.