How to Zip and Unzip Files on Windows, Mac, iPhone and Android
To zip a file on Windows 11, right-click it and choose Compress to > ZIP File. On a Mac, Control-click the file and choose Compress. On an iPhone, open the Files app, touch and hold the file, and tap Compress. To unzip, right-click the ZIP and choose Extract All on Windows, or simply double-click it on a Mac and tap it on an iPhone.
A ZIP file bundles one or more files and folders into a single compressed archive. It is the easiest way to send a folder by email, upload a batch of files to a form that takes one attachment, or keep a project together for backup. Every modern operating system can create and open ZIPs without extra software. This guide covers each platform, then password protection and size limits, which is where the built-in tools run out.
How to Zip a File on Windows 11
- Open File Explorer and select the file, folder, or several items (hold Ctrl to pick more than one).
- Right-click the selection.
- Choose Compress to > ZIP File.
- The new ZIP appears in the same folder, named after the item you right-clicked. Press F2 to rename it if you like.
The Compress to submenu arrived with Windows 11 version 24H2, which also added 7z File and TAR File options, plus Additional options for choosing a compression method and level. On older builds you may see a single Compress to ZIP file entry instead.
The classic route still works on every version of Windows:
- Right-click the selection and choose Show more options.
- Choose Send to > Compressed (zipped) folder.
How to Unzip a File on Windows 11
- Right-click the ZIP file.
- Choose Extract All....
- Pick a destination folder (by default, a new folder with the same name next to the ZIP) and click Extract.
To grab just one file, double-click the ZIP to open it like a folder and drag the item out. Do not edit files while they are still inside the ZIP: double-clicking a document there opens a temporary copy, and changes can be lost. Extract first.
Windows 11 24H2 can also extract RAR, 7z and TAR archives natively, but it cannot open or create encrypted (password-protected) archives. For those you need a free app such as 7-Zip.
How to Zip a File on Mac
- In Finder or on the desktop, select the file, folder, or several items.
- Control-click (or right-click) the selection.
- Choose Compress from the shortcut menu.
If you compressed one item, the ZIP takes its name, so Notes becomes Notes.zip. If you compressed several, the archive is called Archive.zip; rename it before sending so the recipient knows what it is.
How to Unzip Files on Mac
- Double-click the ZIP file.
- Archive Utility expands it, and the unzipped file or folder appears in the same location as the ZIP.
- Delete the ZIP if you no longer need it.
If a ZIP will not open, Apple's advice is to check you have enough free space for the unzipped contents and, if someone sent you the file, ask them to zip and send it again in case it was damaged. For RAR or 7z files, a free app such as The Unarchiver or Keka handles formats Archive Utility does not.
How to Open a ZIP File on iPhone or iPad
The Files app handles ZIPs natively.
- Open the Files app and find the ZIP (downloads usually land in Downloads in iCloud Drive or On My iPhone).
- Tap the ZIP file. A folder with the same name is created next to it, containing the files.
- Open the folder to view the contents.
If the ZIP is attached to an email or message, save it to Files first (tap the attachment, then Share > Save to Files), then tap it there. The Files app can also open several other archive types, including TAR and RAR.
How to Zip Files on iPhone or iPad
- Open Files and go to the folder that holds the items.
- To zip one item, touch and hold it, then tap Compress.
- To zip several, tap More (the three dots), tap Select, choose the files, then tap More in the lower-right corner and tap Compress.
As on the Mac, one file gives a ZIP with the same name, and several give Archive.zip. Touch and hold it and tap Rename to change the name.
How to Zip and Unzip Files on Android
Most Android phones come with Files by Google or a manufacturer file manager (such as Samsung's My Files) that handles ZIPs.
To unzip with Files by Google:
- Open Files by Google and browse to the folder with the ZIP.
- Tap the ZIP. A preview of its contents opens.
- Tap Extract. Optionally tick Delete ZIP file.
- Tap Done. The extracted files are saved in the same folder.
Files by Google only extracts ZIP files, not RAR or 7z. Recent versions can also create ZIPs: select the files, open the three-dot menu and choose Compress. If you do not see the option, update the app from the Play Store.
Platform Summary
| Platform | Zip | Unzip |
|---|---|---|
| Windows 11 | Right-click > Compress to > ZIP File | Right-click > Extract All |
| Mac | Control-click > Compress | Double-click the ZIP |
| iPhone / iPad | Files: touch and hold > Compress | Files: tap the ZIP |
| Android | Files by Google: select > menu > Compress | Tap the ZIP > Extract |
How to Password-Protect a ZIP File
None of the built-in tools on Windows, Mac or iPhone create password-protected ZIPs from the regular menus. Two options:
Windows: 7-Zip with AES-256
- Install 7-Zip (free, from 7-zip.org).
- Right-click the files and choose 7-Zip > Add to archive... (on Windows 11 you may need Show more options first).
- Set Archive format to zip.
- Under Encryption, enter the password twice and set Encryption method to AES-256.
- Click OK.
7-Zip's default ZIP encryption is ZipCrypto, the old scheme that is easy to break, so choose AES-256 explicitly. Be aware that some unzip tools, including the one built into Windows, cannot open AES-encrypted ZIPs, so the recipient may also need 7-Zip or a similar app. Encryption hides the file contents; the file names inside a ZIP can still be listed without the password. If names are sensitive, use the 7z format with Encrypt file names ticked.
Mac: Terminal
cd ~/Desktop
zip -er secure.zip "Project Folder"-e asks for a password and -r includes everything inside the folder. This works, but it uses the same weak ZipCrypto encryption, so treat it as a lock against casual opening, not real security. For anything sensitive, use an app that supports AES-256, or an encrypted disk image made in Disk Utility.
Never send the password in the same email as the ZIP.
ZIP File Size and Email Limits
- Zipping does not shrink everything. Text, spreadsheets, Word documents and uncompressed images compress well. JPG photos, MP4 videos, MP3s and PDFs are already compressed, so a ZIP of them is often barely smaller than the originals.
- Email has attachment caps. Gmail, for example, allows up to 25 MB of attachments per message and offers a Google Drive link for anything larger. If a ZIP is too big, share it through a cloud storage link instead.
- Shrink the contents first. For photos, resizing or recompressing them before zipping makes a far bigger difference than ZIP compression. The free resize image and compress JPG tools do this in your browser for a whole batch.
- Split very large archives. 7-Zip can split an archive into parts with Split to volumes, bytes; the recipient needs all parts in one folder to extract it.
Name Things Before You Zip
A ZIP called Archive.zip full of IMG_2231.jpg and scan0004.pdf is hard work for whoever receives it. Rename the files first so the contents make sense when unpacked: our guide to file naming conventions has simple patterns, and File Renamer AI can read photos, PDFs and documents, suggest descriptive names, and hand them back already packed in a ZIP. More on the format itself is in the ZIP file guide.
Frequently Asked Questions
How do I zip a folder on Windows 11?
Right-click the folder in File Explorer and choose Compress to > ZIP File. On older builds, use Show more options > Send to > Compressed (zipped) folder. The ZIP appears next to the original folder.
How do I unzip files on a Mac?
Double-click the ZIP file. macOS expands it automatically with Archive Utility and puts the unzipped file or folder in the same location as the ZIP.
How do I open a ZIP file on my iPhone?
Save the ZIP to the Files app, then tap it. Files creates a folder with the same name next to the ZIP, and you can open that folder to see the contents.
Can I password-protect a ZIP without extra software?
Not from the normal menus on Windows, Mac or iPhone. On a Mac you can use the Terminal command zip -e, but it uses weak ZipCrypto encryption. For proper protection, use 7-Zip with AES-256 encryption.
Why is my ZIP file almost as big as the original files?
The files were already compressed. Photos, videos, music and PDFs do not shrink much further in a ZIP. Reduce the image size or quality first if you need a smaller file.
Is unzipping a file the same as extracting it?
Yes. Unzip, extract, expand and uncompress all mean taking the files back out of the ZIP archive so you can use them normally.
Free tools
Related Posts
How to Rename a File on Windows, Mac, Linux, iPhone and Android
How to rename a file on Windows, Mac, Linux, iPhone and Android: the rename shortcut for each, renaming folders and Word docs, and fixes for common errors.
TutorialHow to Copy Text From an Image on iPhone, Android, Windows and Mac
Copy text from an image with Live Text on iPhone and Mac, Google Lens on Android, Snipping Tool on Windows 11, or a free image to text tool online.
TutorialHow to Rename a Bluetooth Device on iPhone, Mac, Android and Windows 11
How to rename a Bluetooth device on iPhone (Settings > Bluetooth > info > Name), Mac, Android and Windows 11, and why some car kits keep their name.
Ready to organize your files?
Try AI renaming right away. No sign-up needed until you download.
Try It Free