Milkglass
Get the app

MilkglassPhoto privacy guides

How to password-protect a ZIP file to send from iPhone

Create the ZIP in a tool that lets you choose AES encryption, then move the archive to Files on your iPhone. The built-in Compress action saves an ordinary ZIP without asking for a password.

Published 25 November 2026.

Create an encrypted archive with 7-Zip

On a Mac or PC, start with copies of the files you intend to share. Give them neutral filenames if the names are sensitive. A ZIP can expose entry names even when file contents are encrypted. WinZip’s AES ZIP format description

In 7-Zip for Windows, select the files and open Add to archive. Choose zip, enter a new password, and choose AES-256 for the encryption method. On a Mac you can use the 7-Zip command-line download. Run this in the folder containing the file, using the path to your copy of 7zz if it is not on your PATH:

7zz a -tzip -mem=AES256 -p "share-packet.zip" "packet.pdf"

Enter the password at the prompt. Use a new archive name for this share. Copy the resulting ZIP to Files. 7-Zip’s supported encryption and formats · 7-Zip’s downloads · Apple’s instructions for ordinary ZIPs

Confirm the other person can open it

First send a small archive with a harmless file using the same settings. Ask the recipient to open it with the app and device they plan to use. They should be prompted for a password and able to open the extracted file after entering it. On desktop, 7zz l -slt "share-packet.zip" lets you confirm the entry reports encryption and AES-256. If the recipient’s app rejects AES ZIP, they need a compatible extractor or another secure way to receive the files.

Once the test works, attach the real ZIP from Files. Give the password through a separate channel, such as a call. Keep the original files and confirm the intended recipient can open the real archive before clearing your working copies.

Make a standard ZIP in Files or compare ways to keep a folder private on iPhone.