Short answer
Safe folder, in Files by Google, holds any kind of file behind its own PIN or pattern, cannot be backed up to Google Drive, and if you forget the PIN the files are gone. Locked Folder, in Google Photos, holds photos and videos behind your phone's screen lock and can back up to your Google account. Use Safe folder for documents and a lock that differs from your screen lock; use Locked Folder for photos you want backed up.
On this page
Side by side
Every Safe folder and Locked Folder fact is from Google's help pages, linked below. AlterVault facts are from the app source.
| App | Lives in | Holds | Lock | Forgot the lock | Backup |
|---|---|---|---|---|---|
| Safe folder | Files by Google | Any file except installed apps | Its own PIN or pattern | No way in; resetting deletes the files | Not available: no Back up to Google Drive inside it |
| Google Photos | Photos and videos | Your screen lock (Google Account password on the web) | It is your phone's lock | Optional, to your Google account | |
| Its own app | Photos, videos and documents | Its own six-digit code | 12-word recovery phrase | One encrypted file you save |
What Safe folder is
Safe folder is part of the Files by Google app, on Android 8.0 and later. You move files into it from the app and open it with a PIN or a pattern you set for it, separate from your screen lock. Google says files in it do not show in search or categories, cannot be opened by other apps, cannot be shared or backed up to Google Drive, and that screenshots of it cannot be taken.
Google says Safe folder "keeps your files secure using Android storage with encryption". The same page also says: "Files in your Safe folder are protected by a lock, but anyone who gains unauthorized access to your device's internal storage may be able to access them."
- Forget the PIN and the files are gone
- Google: "If you forget your PIN or Pattern, you can't access your files." Resetting Safe folder permanently deletes what is in it.
- No backup
- The Back up to Google Drive option is not available inside Safe folder, so the only copy is on the phone.
- Do not copy it to a new phone
- Google lists "Copy encrypted safe files from old phone to new phone" among the things not to do, along with clearing storage with other apps and plugging in an SD card with another phone's Safe folder files.
Sources: Files by Google Help: Protect your files with Safe folder
What Locked Folder is
Locked Folder is part of the Google Photos app, on Android 6 and later and on iPhone with iOS 15 and later. Photos and videos you move into it leave the main grid, albums, search and memories, and other apps that can read your photos cannot see them. Google says it is protected by Google Photos' standard encryption practices.
It opens with your device screen lock, and Google says you cannot set a different Locked Folder password. On photos.google.com it opens with your Google Account password.
- Backup is optional
- You can turn on Back up Locked Folder (main backup has to be on first) or back up items one by one. Backed-up items count toward your Google storage and can be opened on your other devices.
- Without backup, it lives on one phone
- Google says items you have not backed up are lost if you uninstall Photos, clear its data, or the phone is damaged or lost, and are not carried by USB or cloud phone transfers.
- What you cannot do inside it
- Add items to albums, edit them, share them, or move them to Trash. To share one, move it out first.
Sources: Google Photos Help: Hide sensitive photos & videos in Locked Folders
Which should you use?
- Safe folder, when
- You are hiding documents or other files, not only photos, or you want a lock that is not your screen lock, and you can live without a backup.
- Locked Folder, when
- It is photos and videos, you already use Google Photos, and you want them backed up to your Google account so a lost phone does not take them with it.
- Neither, when
- Someone who knows your screen lock is the person you are hiding from (that opens Locked Folder), or you need something to show when asked to open it. Google's pages describe no decoy for either.
Nothing stops you using both: Safe folder for a scan of a passport, Locked Folder for photos.
What AlterVault does differently
- Its own code, with a way back
- AlterVault opens with its own six-digit code, not your screen lock. If you forget it, a 12-word recovery phrase you wrote down at setup gets you in.
- Encrypted per file, with a backup you hold
- Each item is encrypted with XChaCha20-Poly1305. The backup is one encrypted file you can keep on a computer or drive and restore on Android or iPhone.
- A decoy
- Shake the phone while a space is open and it switches to an ordinary-looking gallery.
AlterVault runs in the ordinary app sandbox, and its Android build holds the INTERNET permission for the purchase check through RevenueCat and for anonymous usage events sent to PostHog. Photos, file names and your code never touch the network.
Questions
What is the difference between Safe folder and Locked Folder?
They are in different apps. Safe folder is in Files by Google, holds any file, opens with its own PIN or pattern and has no backup. Locked Folder is in Google Photos, holds photos and videos, opens with your screen lock and can back up to your Google account.
Can I set a different password for Locked Folder?
No. Google says the Locked Folder password is the same as your device screen lock and you cannot use a different one. On the web it uses your Google Account password.
What happens if I forget my Safe folder PIN?
Google says you cannot access your files. You can reset Safe folder, but that permanently deletes the files in it.
Does Safe folder back up to Google Drive?
No. Google says the Share and Back up to Google Drive options are not available in Safe folder.
Is Locked Folder backed up?
Only if you turn it on. Google Photos has a Back up Locked Folder switch, and main backup must be on first. You can also back up items one at a time. Items not backed up stay on that one device.
Which is more secure, Safe folder or Locked Folder?
They protect against different people. Safe folder has a lock separate from your screen lock, but Google warns that anyone with access to the phone's internal storage may be able to reach its files. Locked Folder opens for anyone who knows your screen lock. Pick the one whose weak point is not your situation.
