Skip to content

Privacy and security

How to Hide Files on Android: Documents, PDFs and Any File Type

By the llcloud team 7 min read

Quick answer

To hide files on Android properly, encrypt them. Velum stores documents, PDFs, voice memos and any other file type in a vault encrypted on your phone with AES-256-GCM, file names included, with a key from your pattern and a 9 word recovery phrase. Built-in options like Files by Google Safe folder and Samsung Secure Folder help, and the .nomedia trick only hides files from gallery apps.

Photos get most of the attention, but the files people most want out of sight are often documents: a scan of a passport, a bank statement, a contract, a medical letter. Android has a few ways to tuck those away, and they differ a lot in what they actually protect. Here is what each one does, and how Velum keeps any file type encrypted behind your own pattern.

What is the difference between hiding and encrypting a file?

Hiding moves a file out of view. Encrypting turns it into data nobody can read without the key. A hidden file is still a normal file that any file manager, computer or backup tool can open. An encrypted file is unreadable noise until you unlock it.

That matters for documents in particular. A photo hidden from the gallery is out of sight for someone scrolling through your pictures. A PDF of your ID in a hidden folder is still one search away in a file manager. Our guide on how to hide photos on Android covers the same difference for pictures and videos.

Does the .nomedia or dot folder trick hide files?

It hides them from gallery and music apps only. Android's media scanner skips any folder that contains a file named .nomedia, so pictures inside stop showing in your gallery. A folder whose name starts with a dot is hidden from many file managers' default view as well.

Here is how people usually do it:

  1. Open your file manager and create a folder, for example .private.
  2. Move the files into it.
  3. Add an empty file called .nomedia to the folder if you want gallery apps to skip it.

The weakness is that nothing is locked or encrypted. Every file manager has a "show hidden files" switch. A computer connected over USB lists the folder. And because the folder sits in shared storage, a cleaner app or a "free up space" tool can delete it as leftover junk, files and all. Use it to tidy a gallery, never for anything private.

How do I use Files by Google Safe folder?

Safe folder is a locked area inside the Files by Google app, free and without ads. It is a real step up from a dot folder because it asks for a PIN or pattern.

  1. Open Files by Google.
  2. Scroll to Collections and tap Safe folder.
  3. Choose PIN or Pattern and confirm it.
  4. To add files, find them in Files, press and hold them, tap More at the top, then Move to Safe folder, and enter your PIN or pattern.

Know its limits before you rely on it. Google's own help page says that if you forget the PIN or pattern, you cannot access your files. Back up to Google Drive is not available for files in Safe folder, and Google advises against copying Safe folder files to a new phone. Resetting it deletes what is inside, and the same page asks you not to clear storage or cache with other apps. We compare it in detail in Velum vs Files by Google Safe folder.

How do I use Samsung Secure Folder?

Secure Folder is a separate, locked space on Samsung Galaxy phones that can hold files and even second copies of apps.

  1. Open Settings > Security and privacy > More security settings > Secure Folder. On older One UI versions it sits under Biometrics and security.
  2. Sign in to your Samsung account if asked, and choose a PIN, password or pattern.
  3. Turn on Reset with Samsung account during setup. Samsung says that without it you cannot open Secure Folder if you forget your passcode.
  4. Inside Secure Folder, tap More options > Add files and pick the documents. Files must be on internal storage or a memory card, not only in a cloud account.

It only exists on Galaxy phones, and Samsung's support page says backing up Secure Folder data is no longer supported, though older backups can still be restored. If the phone is lost, so are files that live only there. See Velum vs Samsung Secure Folder for the full picture.

How does Velum hide files of any type?

Velum encrypts every file you add, whatever kind it is, and keeps it in a vault only your pattern opens. Documents, PDFs, ZIPs, voice memos and notes sit next to your photos and videos, grouped by date and searchable by name inside the vault.

What happens to a file you import

  1. Tap import and pick files with Android's own file picker. You can also share a file into Velum from another app.
  2. Velum encrypts the file on your phone with AES-256-GCM, using Google's Tink library. The file name and the thumbnail are encrypted too, so nothing in storage says what the file is called or what type it is.
  3. Velum decrypts the stored copy and checks it against the original. Only a file that passes is offered for removal.
  4. Photos, videos and audio can be removed from your phone through Android's own delete dialog, which asks you once to confirm. For a document picked from the Files app or your Downloads folder, Android gives no app a way to delete it, so Velum tells you which originals to remove by hand.

Opening hidden files

Photos and videos play in the vault. PDFs and text files open right inside Velum without being written to storage as a readable copy. Anything else, such as a spreadsheet, opens in another app through Share or Save. A shared copy is made in Velum's private storage and emptied when the vault locks.

Why the key matters

The key comes from the pattern you draw, stretched with Argon2id so that every guess is slow. There is no account, so no password sits on a server. If you forget your pattern, the 9 word recovery phrase Velum shows when you create the vault opens it. The "What others see" screen shows any photo next to the same file as it is stored on your phone: random noise, no name and no type. Our post on how Velum encrypts a photo walks through each step.

What is free

The free version holds up to 100 photos or files and 10 videos in a vault, with the private camera, encrypted backup to a folder you choose and export. Opening, exporting, sharing and the trash stay free above the limit. Pro, by month or year with a 3-day free trial or once for life, removes the limit and adds more vaults, encrypted notes, a duress pattern, a disguise and automatic Google Drive backup. Velum needs Android 11 or newer.

How do I keep hidden files safe from loss?

Back them up, encrypted, somewhere other than the vault itself. Velum keeps the vault in its private app storage, out of reach of cleaner apps, but Android deletes that storage if you uninstall Velum or clear its data.

Velum's free backup copies the vault, already encrypted, to a folder you choose: on your phone, a memory card or a USB drive. With Pro it backs up on its own to your Google Drive, in a hidden app space only Velum can read. On a new phone you restore with your pattern or your recovery phrase. Our post on what happens to vault photos when you uninstall explains exactly what survives and what does not.

Which way of hiding files should you use?

Use Velum. It is the only option here that encrypts every file name, recovers with a phrase and backs up encrypted copies on any Android 11 phone.

Velum Files by Google Safe folder Samsung Secure Folder .nomedia folder
Any file type ✓ ✓ ✓ ✓
Locked with its own code ✓ pattern ✓ PIN or pattern ✓ PIN, password or pattern ✗
Encryption named ✓ AES-256-GCM ✗ Samsung Knox platform ✗
File names hidden in storage ✓ Not stated Not stated ✗
Safe from cleaner apps ✓ private storage ✗ Google warns against them Not stated ✗
Recovery if you forget the code ✓ 9 word phrase ✗ ✓ if turned on at setup Not needed
New backups ✓ folder free, Google Drive Pro ✗ ✗ Not applicable
Works on any Android phone ✓ Android 11+ ✓ Android 8+ ✗ Galaxy only ✓

If you are choosing a vault for photos as well, Velum vs Keepsafe and our roundup of Keepsafe alternatives compare the popular apps.

Sources

Questions

How do I hide a PDF on Android?

Put it in an encrypted vault. In Velum, tap import, pick the PDF in Android's file picker, and Velum encrypts it with AES-256-GCM, checks the stored copy against the original and keeps the file name encrypted too. PDFs open right inside the vault. Then delete the original from your Downloads folder yourself, because Android does not let any app remove documents picked this way.

Does a .nomedia file hide files on Android?

Only from gallery and music apps. A file named .nomedia tells Android's media scanner to skip that folder, so photos inside stop appearing in your gallery. The files stay unencrypted and fully readable. Any file manager, a computer over USB or a cleaner app can still see, open or delete them. It hides clutter, and it does not protect anything.

Can I hide files on Android without an app?

Yes, in part. Files by Google has a Safe folder locked with a PIN or pattern, and Samsung Galaxy phones have Secure Folder. Both are free. Google says a forgotten Safe folder PIN means you lose access, and Samsung no longer supports new Secure Folder backups. A vault app like Velum adds a recovery phrase and encrypted backups on top.

What kinds of files can Velum hide?

Any file type. Photos and videos preview in the vault, PDFs and text files open inside it, and anything else, such as a ZIP or a spreadsheet, opens through Share or Save. The free version holds up to 100 photos or files and 10 videos in a vault, and files count toward the 100. Pro removes the limit.

Will a cleaner app delete my hidden files?

It can if they sit in a shared folder. Cleaner apps sometimes remove folders they do not recognise, and a dot folder looks like junk. Velum keeps the vault in its own private app storage, which other apps cannot reach. Uninstalling Velum or clearing its storage does delete the vault, so keep an encrypted backup.

Keep reading