A zip with a password is a reasonable way to send a batch of photos through email or a cloud link, or to park them in a shared drive where a roommate or family member might browse. It's a poor way to keep photos private on the phone itself, for reasons the end of this page covers. Here's how to make one properly, and how to tell the strong kind from the weak kind.
The short answer: Files compresses, it doesn't lock
Apple's instructions for the Files app describe selecting items, tapping More and choosing Compress. The result is an ordinary zip called Archive.zip, or the file name if you picked one item. There is no password option in that menu or in the Shortcuts archive action. Anyone who can open Files can open the archive.
| Method | Password | Strength | Catch |
|---|---|---|---|
| Files app Compress | None | No protection | Only saves space |
| Archive app on iPhone set to AES-256 | Yes | Strong, with a long password | You trust the app with your photos, and file names stay readable |
| Archive tool on a computer set to AES-256 | Yes | Strong, with a long password | Photos have to travel to the computer first |
| Older zip encryption, often called ZipCrypto | Yes | Weak | Known attacks recover the contents without the password |
| 7z archive with header encryption | Yes | Strong, and hides file names | The recipient needs an app that opens 7z |
Step 1: get the photos out of Photos and into Files
Archive apps work on files, and your camera roll isn't a folder of files, so the first move is to save copies into Files.
- Open Photos, tap Select and choose the photos and videos.
- Tap the Share button. At the top of the share sheet, tap Options and turn off Location if you don't want the archive to carry where each photo was taken.
- Tap Save to Files and pick a new folder under On My iPhone. Keeping it off iCloud Drive stops a plain copy syncing to your other devices.
- Open Files and check the folder holds what you expect.
Location isn't the only detail a photo carries. Our guides to EXIF metadata on iPhone photos and removing location metadata explain what else rides along and how to strip it.
Step 2: create the protected archive
On iPhone, with an archive app
- Install an archive app whose listing says it creates password-protected zip files with AES-256. Read its App Privacy section before you hand it private photos.
- From Files, select the folder and share it to the app, or open the app and browse to the folder.
- Choose to create a zip, set the encryption to AES-256 if the app offers a choice, and enter a long password.
- Save the archive, then open it once in the same app to confirm the password works.
On a computer
Transfer the folder to a computer and use a tool that explicitly supports AES-256 ZIP or 7z with header encryption. Windows’ built-in compression does not create password-encrypted archives. Use an archive application with encryption support, then reopen the saved archive to check the settings.
Why the encryption setting matters
Legacy ZipCrypto is vulnerable to known-plaintext attacks when an attacker has suitable plaintext and matching encrypted bytes. A predictable photo header does not make every archive automatically recoverable. Choose AES encryption with a long, randomly generated password. AES does not protect a weak password, an unsafe app or an exposed unencrypted copy.
- Use a long passphrase of four or more unrelated words, not a short word with numbers.
- Never send the password through the same channel as the archive. Text it if you emailed the zip.
- Don't reuse your phone passcode or an account password.
- Store the password in a password manager, because nobody can recover a forgotten one for you.
What a password-protected zip doesn't hide
Standard zip encryption scrambles each file's contents and leaves the list of file names readable. Anyone who opens the archive without the password still sees names like IMG_4821.HEIC, sizes and dates, and a folder name you typed in a hurry can say more than the photos. Rename the folder to something dull before you zip it, or use 7z with header encryption, which hides the names too.
The clean-up step most people skip
Making a protected archive doesn't remove the unprotected copies. After you zip, there are usually three or four readable versions of the same photos on the phone.
- Delete the unzipped folder you saved to Files.
- Delete the originals from Photos if the goal is to keep them off the phone, then empty Recently Deleted, where they otherwise stay for up to 30 days.
- Check Recently Deleted in Files as well.
- If iCloud Photos is on, remember that the originals are on every device signed in to your Apple Account until you delete them.
Our guide to recently deleted photos covers the timing and how to clear it.
When a zip is the wrong tool
A ZIP can suit a one-off handover. For everyday viewing, some apps open individual items while others extract files. Check where extracted copies and temporary files are stored, and remove them when they are no longer needed.
For photos you keep on the phone, something with its own lock fits better. A locked note works for a handful of pictures. A vault app works for a whole library and opens without an extract step. If you only need one file protected for sending, password-protecting a PDF is another option, and password-protecting a folder on iPhone compares the wider set of workarounds.
Sending the zip safely
- Check the recipient can open AES zip files before you send. Some built-in unzip tools can't.
- Send the password separately and by a different route.
- Use an expiring link if you share through a cloud service, and delete the upload once it's collected.
- Remember that the recipient's extracted copy is outside your control once they have the password.
The bottom line on zipping photos with a password
The Files app makes a zip without a lock, so a protected archive needs an archive app or a computer. Pick AES-256, never the older ZipCrypto, use a long passphrase and send it separately. Rename the folder first, because zip encryption leaves file names readable, and delete the plain copies afterwards. For photos you want to keep and look at on the phone, a vault with its own unlock does the job a zip only imitates.
Questions people ask
Can the iPhone Files app make a password-protected zip?
No. Files can compress items into a zip, but it offers no password option. Use an archive app that supports AES-256, or create the archive on a computer and move it to your phone.
Can I open a password-protected zip on iPhone?
Often you need an archive app, especially for AES-256 archives. Test with a sample archive before you send anything important, and check that the recipient's device can open it too.
Is ZipCrypto safe enough for photos?
Prefer AES encryption with a strong password. ZipCrypto is vulnerable to known-plaintext attacks; whether an attack succeeds depends on the plaintext available to the attacker and the archive contents.
Does a password-protected zip hide file names?
No. Standard zip encryption protects the file contents and leaves names, sizes and dates readable. Rename files and folders first, or use a 7z archive with header encryption.
Do photos keep their location inside a zip?
Yes, unless you remove it. Turn off Location in the share sheet's Options before you save the photos to Files, or strip the metadata separately.
What happens if I forget the zip password?
With AES-256 and a strong password, the archive is effectively lost. Keep the password in a password manager and keep the originals until you've confirmed the archive opens.
Is a zip safer than the Hidden album?
Against someone who knows your phone passcode, a well-made AES zip is safer, because the Hidden album opens with Face ID or the passcode. It's also far less convenient for everyday viewing.
Sources