How to zip files on Windows, Mac, iPhone and Android
Every modern device can make a ZIP file without installing anything. Select the files, choose Compress (Mac, iPhone, Linux) or Compress to ZIP file (Windows), and you get a single .zip that is easier to send, upload or back up. Below are the exact steps for each device, plus how to unzip and the mistakes that trip people up.
Why zip files at all?
- One file instead of many. Forty attachments become one download.
- Folders survive. The person who unzips it gets your folder structure back.
- Smaller transfers for some files. Text, spreadsheets, code and documents often shrink a lot. Photos, videos and music are already compressed, so zipping them mostly bundles them without saving much space.
- Any file type can travel. Many upload forms only accept certain formats; a ZIP carries anything inside it.
Windows 11 and Windows 10
- Open File Explorer and select the files or folders (hold Ctrl to pick several).
- Right-click the selection.
- Windows 11: choose Compress to ZIP file. Windows 10: choose Send to → Compressed (zipped) folder.
- Type a name for the new .zip and press Enter.
To unzip, right-click the .zip and choose Extract All. Double-clicking only opens a preview; programs run from inside that preview often can't find their other files.
Mac (macOS)
- Select the files in Finder.
- Right-click (or Control-click) and choose Compress.
- macOS creates
Archive.zip(orname.zipfor a single item). Rename it.
To unzip, double-click the .zip. macOS adds a hidden __MACOSX folder to some archives;
people on Windows will see it. It is harmless and can be deleted.
iPhone and iPad
- Open the Files app.
- For one item, touch and hold it and tap Compress. For several, tap the ⋯ button, choose Select, pick the files, then tap ⋯ → Compress.
- The .zip appears in the same folder.
Photos must be in Files first: in the Photos app, select them, tap Share → Save to Files, then compress them in Files. To unzip, tap the .zip in Files.
Android
Steps vary by phone maker, but most recent phones can do it in their own file manager:
- Samsung (My Files): long-press to select files → ⋮ More → Compress.
- Files by Google: can extract ZIP files (tap the .zip → Extract). Some versions can't create them; if your file manager has no compress option, a reputable archive app will do it.
If you install an archive app, pick a well-known one with recent updates and no excessive permission requests.
Linux and the command line
Most desktop file managers have a Compress entry in the right-click menu. In a terminal:
- Zip a folder:
zip -r project.zip project/ - Zip some files:
zip photos.zip *.jpg - Unzip:
unzip project.zip - List contents without extracting:
unzip -l project.zip
The same zip and unzip commands work in the macOS Terminal.
Common mistakes
- Zipping a shortcut instead of the file. A shortcut or alias on the desktop is not the file itself. Zip the original.
- Expecting huge savings on photos and videos. JPG, MP4 and MP3 are already compressed; the ZIP will be about the same size.
- Very long names or special characters. Some older tools mangle non-English file names. Keep names simple if the archive is going to someone on a different system.
- Assuming a ZIP is private. A normal ZIP is not encrypted. Use your archive tool's password option with AES-256 encryption for anything sensitive, and send the password separately.
Sharing the ZIP once it's made
Email attachments usually cap out around 20–25 MB, so larger archives need a link. Upload the .zip to ImgBasket (free, no account, up to 20 GB) and send the link. The person sees a download page with the file name and size. You can add a password or make the link delete itself after 1 hour to 90 days. More in free ZIP file hosting.
Frequently asked questions
Is a ZIP file the same as a compressed folder?
Yes. Windows calls a .zip a "compressed (zipped) folder". It is the same format everywhere.
Can I zip a folder on my phone?
Yes. On iPhone use the Files app; on most Android phones use the built-in file manager's Compress option.
Why is my ZIP file almost the same size as the original?
The files inside were already compressed: photos, videos and music usually are.
What about RAR and 7z?
They are other archive formats that need extra software to open on most devices. ZIP opens everywhere without installing anything, so it is the safest choice for sharing.