How to Show Hidden Files on Android (Quick Toggle)

How to Show Hidden Files on Android (Quick Toggle)

Last Updated :

Android hides files and folders that start with a dot (.) — exactly like Linux and macOS. This is not a bug or a permission restriction; it is a deliberate convention that keeps your file browser clean by hiding system files, caches, configuration data, and app internals that most users never need to see. However, these hidden files can consume significant storage space, contain important configuration you need to edit, or include media that should appear in your gallery but does not. AnExplorer lets you toggle hidden file visibility instantly.

Quick Answer

Open AnExplorer → tap ⋮ (Menu) → enable Show Hidden Files. All dotfiles and hidden folders instantly appear throughout the entire filesystem. Toggle it off to hide them again.

How to Enable Hidden Files in AnExplorer

  1. Open AnExplorer
  2. Tap the ⋮ (three-dot menu) or navigate to Settings / View Options
  3. Find the Show Hidden Files toggle and enable it
  4. Immediately, all files and folders starting with . become visible in every directory you browse
  5. Hidden items typically appear slightly dimmed or with a dot prefix to distinguish them from regular files

To hide them again when you are done: same menu → toggle off. This does not delete anything — it only changes visibility in the file browser.

What Makes a File "Hidden" on Android

Hidden files on Android follow the Unix/Linux convention — any file or folder whose name starts with a period (.) is hidden from normal directory listings. This includes:

  • .thumbnails — a folder, not a single file
  • .nomedia — an empty marker file
  • .cache — app cache storage
  • .config — configuration files
  • .DS_Store — macOS metadata (from Mac file transfers)

This convention is enforced by file managers, gallery apps, and media scanners — not by Android's filesystem itself. The files are always physically present and accessible; they are simply filtered from display by default.

Common Hidden Files and Folders — What They Do

Understanding what each hidden file does helps you decide what is safe to delete and what should remain:

File/FolderTypical LocationPurposeSafe to Delete?
.thumbnails//DCIM/.thumbnails/ or /Pictures/.thumbnails/Cached thumbnail images for gallery apps✅ Yes — regenerates automatically
.nomediaVarious media foldersMarker that tells gallery apps to skip this folder⚠️ Depends — removing makes folder visible to gallery
.DS_StoreAnywhere (after Mac transfers)macOS folder metadata (useless on Android)✅ Yes — completely safe
.cache//Android/data/[app]/.cache/Per-app temporary cached data✅ Yes — apps recreate as needed
.trash/ or .Trash-1000/VariousDeleted file buffer for some apps✅ Yes — empty to free space
.trashed-*VariousIndividual trashed files✅ Yes — if you do not need to recover them
.SomeApp/Internal Storage rootHidden app data directories⚠️ Check contents first
.git/Developer project foldersVersion control history❌ No — critical for developers
.Statuses/WhatsApp Media folderTemporary status/story downloads✅ Yes — ephemeral content

The .thumbnails Folder — A Hidden Space Consumer

The .thumbnails folder is one of the biggest hidden storage consumers. Gallery apps (including Google Photos and Samsung Gallery) create thumbnail versions of every image for fast scrolling. This folder can grow to hundreds of megabytes or even several gigabytes:

  1. Enable hidden files in AnExplorer
  2. Navigate to DCIM/.thumbnails/ or Pictures/.thumbnails/
  3. Check the folder size — it might surprise you
  4. Delete the entire folder contents to reclaim space
  5. The folder will be recreated automatically as you browse photos, but it starts empty

To prevent the thumbnails folder from growing excessively, you can place a .nomedia file inside it — though this may slow down gallery browsing slightly.

Understanding .nomedia Files

A .nomedia file is a special empty file that tells Android's media scanner to skip the entire folder it resides in. This means:

  • Photos in that folder will not appear in Google Photos, Samsung Gallery, or any gallery app
  • Audio files will not appear in music players
  • Videos will not show up in video apps

This is used for:

  • App icon assets (so random UI images do not pollute your photo gallery)
  • WhatsApp stickers and GIFs (so hundreds of sticker images stay out of your gallery)
  • Game textures and resources
  • Private photos you want hidden from gallery apps

If you have a folder with images that keeps appearing in your Gallery app and you want them hidden:

  1. Navigate to the folder in AnExplorer
  2. Tap ⋮ MoreNew File
  3. Name it exactly: .nomedia (with the dot prefix, no file extension)
  4. Create the file — it can be completely empty (0 bytes)
  5. Gallery apps will now ignore the entire folder and all subfolders beneath it
  6. The change may take a few minutes or a device restart to take effect (gallery apps cache their indexes)

Use cases: meme folders, wallpaper collections, work screenshots, reference images you do not want mixed with personal photos.

If photos are missing from your Gallery app, a .nomedia file in their folder is the most likely cause:

  1. Enable hidden files in AnExplorer (as described above)
  2. Navigate to the folder containing the missing photos
  3. Look for a file named .nomedia
  4. Long-press it → Delete
  5. Restart your Gallery app (or reboot your phone) — the photos should now appear

Common locations where .nomedia causes confusion:

  • WhatsApp/Media/WhatsApp Images/ — if someone accidentally created a .nomedia here, all WhatsApp images vanish from gallery
  • Pictures/[SomeApp]/ — app-created folders sometimes include .nomedia by default
  • DCIM/ — very rarely, but devastating if present (hides ALL camera photos from gallery)

Accessing App Data in Restricted Directories

The Android/data/ and Android/obb/ folders contain per-app storage that has become increasingly restricted on modern Android versions. These are not "hidden" in the dot-prefix sense, but they behave similarly because Android blocks access:

Android 10 and below: Full access — AnExplorer can browse these freely.

Android 11 and 12: AnExplorer can access these folders by requesting permission through Android's Storage Access Framework. When you navigate to Android/data/, a system prompt appears asking you to grant access to that specific folder. Tap "Use this folder" → "Allow" to proceed.

Android 13 and 14+: Google has completely blocked third-party file managers from accessing Android/data/ directly. Workarounds include:

  • Using AnExplorer's root file manager mode (requires ADB or root)
  • Connecting your phone to a PC via USB MTP (full access from PC)
  • Using ADB shell commands to read or copy files from these directories

Root-Only Hidden Directories

Some directories are protected by Android's Linux kernel and require root access regardless of hidden file visibility settings:

DirectoryRoot RequiredContents
/data/data/✅ YesAll app databases, preferences, and private storage
/data/user/0/✅ YesSame as /data/data/ on multi-user devices
/system/✅ YesSystem apps, framework, and Android OS files
/system/priv-app/✅ YesPrivileged system applications
/proc/✅ YesVirtual filesystem showing running processes
/data/misc/✅ YesWiFi credentials, Bluetooth pairings, system config

If your device is rooted, AnExplorer can access these with root mode enabled:

  1. AnExplorer → Settings → Enable Root Support
  2. Grant root permission when prompted by your superuser manager
  3. Navigate to /data/data/[app.package.name]/ for direct database access (useful for developers)

Hidden Files and Storage Cleanup

Hidden files can consume significant storage without appearing in standard cleanup tools. To find hidden storage consumers:

  1. Enable hidden files in AnExplorer
  2. Use the Analyser (storage map) — hidden folders are now included in the size calculations
  3. Look for unusually large .cache, .thumbnails, or .trash folders
  4. Delete cache and thumbnail contents safely
  5. Check for leftover hidden folders from uninstalled apps (e.g., .viber/, .telegram/ if those apps are no longer installed)

Troubleshooting

Hidden files toggle is enabled but some folders are still inaccessible

  • Visibility and access are different things. The toggle makes hidden files visible, but Android's permission system still controls access
  • /data/app/ (installed APK storage) requires root regardless of visibility settings
  • Android/data/ on Android 13+ is restricted by OS policy, not by hidden file status

Gallery apps cache their media index and do not re-scan immediately:

  • Force-close the Gallery app and reopen it
  • If that does not work, restart your phone
  • Some gallery apps (Google Photos) sync with cloud and may show cloud-backed copies even when local .nomedia is present
  • Clear the gallery app's cache (Settings → Apps → Gallery → Storage → Clear Cache) to force a re-scan

Cannot create a .nomedia file — "invalid filename" error

Some file creation dialogs do not allow names starting with a dot. Workaround:

  1. Create a file named nomedia (without the dot)
  2. Then rename it to .nomedia using AnExplorer's rename function
  3. Or use AnExplorer's terminal/shell to run: touch .nomedia in the target directory

Frequently Asked Questions

Copyright © DWorkS 2011 – 2026 All Rights Reserved.