How to Zip a File — Windows, Mac, Linux, iPhone, Android (2026)
Windows: select your file(s), right-click › Send to › Compressed (zipped) folder. A .zip is created instantly. Mac: right-click › Compress — done. To unzip on either platform, just double-click the .zip file. No extra software required on either OS.
Zipping a file is one of those tasks everyone needs to do at some point — sending a folder by email, reducing storage space, archiving old projects, or packaging files for a client. Yet the steps are slightly different on every platform, and the terminology can be confusing (zip vs archive vs compress vs extract).
This guide walks you through every method on every major platform in 2026 — including the built-in tools that require zero software installs, the best third-party tools for advanced features like encryption and split archives, and a clear breakdown of when to use ZIP versus other formats like RAR, 7z, and tar.gz.
Platform Quick Reference
Choose your platform for the full step-by-step instructions, or scroll down for the detailed guide:
Windows Mac Linux iPhone / iPad AndroidHow to Zip a File on Windows
Windows 10 and Windows 11 both include a built-in ZIP tool. You do not need to install anything. For advanced features like password protection or better compression, 7-Zip (free, open-source) is the recommended upgrade.
Windows 10 & 11 — Built-In (No Software Needed)
EASIEST — Start HereWorks for: any file or folder. Creates a standard .zip file instantly. No password or split-archive support without extra tools.
- No software required — built into every Windows installation
- Recipient can open with no special software on Windows, Mac, iPhone, or Android
- Right-click method unchanged from Windows 7 through Windows 11
Select Your File(s) or Folder
Navigate to the file or folder you want to compress in File Explorer. To select multiple files, hold Ctrl and click each one, or hold Shift to select a range. You can also click and drag to select a group.
Right-Click and Choose "Send to"
Right-click any selected file. In the context menu, hover over Send to. A sub-menu will appear. Click Compressed (zipped) folder. On Windows 11, you may instead see a Compress to ZIP file option directly in the context menu without needing "Send to".
Name Your ZIP File
A new .zip file appears in the same folder with the name highlighted for editing. Type your preferred name and press Enter. Your original files are untouched — the zip is a separate compressed copy.
Using PowerShell to Zip Files on Windows
If you prefer the command line or need to automate compression in a script, PowerShell makes it straightforward. Open PowerShell (Win + X › Windows PowerShell) and run:
To add files to an existing zip without overwriting it, append -Update to the command. To compress with maximum compression level, add -CompressionLevel Optimal.
Windows with 7-Zip — Best Free Tool
RECOMMENDED for Power Users7-Zip (7-zip.org) is free, open-source, and adds right-click integration. Use it for password-protected zips, split archives, and higher compression ratios.
- Supports ZIP, 7z, TAR, GZ, RAR (extract only), and 20+ other formats
- AES-256 encryption built in
- Consistently achieves 30–70% better compression than Windows built-in on many file types
Install 7-Zip
Download from 7-zip.org (the .exe installer for 64-bit Windows). Run the installer and click Install. After installation, 7-Zip adds itself to your right-click context menu automatically.
Right-Click › 7-Zip › Add to Archive
Select your file(s), right-click, hover over 7-Zip in the context menu, and click Add to archive.... The 7-Zip archive dialog opens. Set the Archive format to zip for maximum compatibility.
Configure Options and Click OK
Change the archive name if desired. Set the Compression level (Normal is fine for most uses; Ultra for smallest size). To add a password, enter it in the Encryption section and select AES-256 as the method. Click OK to create the archive.
How to Zip a File on Mac
macOS includes a built-in Compress option in the Finder right-click menu. For password protection, you can use Terminal or install Keka (a free, well-regarded archiver for Mac).
macOS — Finder "Compress" (Built-In)
EASIEST — Start HereWorks on all modern macOS versions (Ventura, Sonoma, Sequoia). Creates a standard .zip file in seconds. No password support through this method alone.
- Zero software required — part of Finder on every Mac
- Compressing multiple items creates one zip called "Archive.zip"
- Works with files, folders, or a mix of both
Select Your File(s) in Finder
Open Finder and navigate to the file or folder you want to compress. To select multiple items, hold Command and click each one.
Right-Click and Choose "Compress"
Right-click (or Control-click) your selection. In the context menu, click Compress "filename" (or Compress X Items if you selected multiple files). The .zip file appears in the same folder instantly.
Rename If Needed
The zip will be named after your file (e.g., Report.zip) or Archive.zip for multiple items. Click once on the name to rename it. Press Enter to confirm.
Zip with Password on Mac — Terminal Method
The built-in Compress option does not add password protection. To create a password-protected zip on Mac without extra software, use Terminal (Applications › Utilities › Terminal):
Terminal will prompt you to enter and verify a password. The -e flag enables encryption, -r makes it recursive (includes subfolders).
How to Zip Files on Linux
Linux distributions typically include zip and tar utilities by default. Most desktop environments also have right-click archive managers (Nautilus on GNOME, Dolphin on KDE).
Linux Terminal — zip Command
Linux Terminal — tar Command (tar.gz)
On Linux, tar.gz (gzip-compressed tar archive) is often preferred over ZIP for its better handling of Unix file permissions and symlinks:
Linux Desktop (GNOME / Nautilus — Right-Click)
Select Files in Nautilus File Manager
Open Nautilus (Files). Select one or more files or folders. Right-click the selection.
Click "Compress..."
Click Compress... in the context menu. Choose your format (zip, tar.gz, 7z), enter a name, and click Create. The archive appears in the current folder.
How to Zip Files on iPhone and iPad
iOS 16 and later include native zip support in the Files app. No third-party app is required on any modern iPhone or iPad.
iPhone / iPad — Files App (iOS 16+)
NO APP NEEDEDThe Files app on iPhone and iPad handles both zipping and unzipping natively since iOS 16. Works with files in iCloud Drive, On My iPhone storage, and connected cloud services.
- Built into Files app — no App Store download needed
- Works with multiple files and folders at once
- Created zip is standard and openable on any platform
Open the Files App
Open the Files app on your iPhone or iPad. Navigate to the folder containing the files you want to zip (On My iPhone, iCloud Drive, or another cloud service).
Select the Files
Tap the three-dot menu (...) in the top right corner and choose Select. Tap each file or folder you want to include. Selected items show a blue checkmark.
Tap "Compress"
Tap the three-dot menu (...) at the bottom of the screen (with items selected). Tap Compress. A zip file named Archive.zip appears in the same folder. Tap and hold its name to rename it.
How to Zip Files on Android
Android does not have a universal built-in zip tool, but Google's Files by Google app (pre-installed on many Android phones, or free on Google Play) handles zip creation and extraction cleanly.
Android — Files by Google
FREE — Available on Play StoreFiles by Google is a clean, lightweight file manager with built-in zip/unzip support. Available free on Google Play and pre-installed on many Android devices.
- Free, no ads, developed by Google
- Supports zip creation and extraction
- Also works as a general file manager and storage cleaner
Open Files by Google
Open the Files by Google app. Tap Browse at the bottom and navigate to the folder containing your files (Internal Storage, Downloads, etc.).
Long-Press to Select Files
Long-press the first file or folder you want to compress. The file is selected (checkmark appears). Tap additional files to add them to the selection.
Tap the Three-Dot Menu › Compress
Tap the three-dot menu (...) or the More icon in the top-right corner of the screen. Tap Compress. A zip file is created in the same folder. Tap it to rename it.
Need Help with File Compression, Backup, or Data Transfer?
IT Cares handles cloud backup setup, bulk file migration, and data transfers remotely — flat rate of $59. No fix, no charge.
How to Password-Protect a Zip File
A standard ZIP file offers zero security — anyone can open it. If you are sharing sensitive documents, you need AES-256 encryption. Here is how to add a password on each platform.
Password-Protect ZIP on Windows (7-Zip)
- Right-click your file(s) › 7-Zip › Add to archive...
- Set Archive format to
zip - In the Encryption section, enter your password twice
- Set Encryption method to AES-256
- Click OK
Password-Protect ZIP on Mac (Keka or Terminal)
Using Terminal (no software needed):
Terminal prompts you to enter and verify a password. The zip is created with standard ZIP encryption. For AES-256 specifically on Mac, use Keka: drag your files into the Keka window, enable the password field, and click Archive.
Password-Protect ZIP on Linux (zip command)
How to Split a Large ZIP File
If your zip is too large to email (most providers cap attachments at 25 MB) or upload to a service, you can split it into multiple smaller chunks. The recipient extracts all parts together.
Split ZIP on Windows (7-Zip)
- Right-click your files › 7-Zip › Add to archive...
- Set Archive format to
zip - In the Split to volumes, bytes field, enter the size per chunk — for example
20Mfor 20 MB parts - Click OK
- 7-Zip creates files named
archive.zip.001,archive.zip.002, etc.
Split ZIP on Mac (Terminal)
ZIP vs RAR vs 7z vs tar.gz — Which Format to Use?
The format you choose depends on your priorities: compatibility, compression ratio, or features. Here is how the most common formats compare:
| Format | Opens Natively On | Compression | Encryption | Best For |
|---|---|---|---|---|
| .zip | Windows, Mac, iPhone, Android, Linux | Good | AES-256 (with 7-Zip) | Universal sharing, email attachments |
| .7z | Needs 7-Zip or compatible app | Excellent | AES-256 built-in | Maximum compression when you control both ends |
| .rar | Needs WinRAR / 7-Zip to extract | Very Good | AES-256 | Multi-volume archives, recovery records |
| .tar.gz | Mac, Linux natively; Windows needs 7-Zip | Good | None (add separately) | Linux/Unix software packages, server backups |
Compression Tool Comparison
| Tool | Platform | Cost | Password Zip | Split Archive |
|---|---|---|---|---|
| Windows Built-In | Windows | Free | No | No |
| 7-Zip | Windows, Linux | Free | Yes (AES-256) | Yes |
| WinRAR | Windows | Free (trial) | Yes (AES-256) | Yes |
| Mac Finder (Compress) | Mac | Free | No | No |
| Keka | Mac | Free | Yes (AES-256) | Yes |
| Files App (iOS 16+) | iPhone / iPad | Free | No | No |
| Files by Google | Android | Free | No | No |
Frequently Asked Questions
The ZIP format theoretically supports files up to 4 GB using the original specification, but the ZIP64 extension (used by 7-Zip, WinRAR, and modern Windows) removes that limit entirely — allowing archives of up to 16 exabytes. In practice, your limiting factor is available disk space. If you need to send a large zip by email or upload it to a service, use the split archive feature to break it into chunks of 10–25 MB.
ZIP is the universal choice — every operating system opens it natively, no software needed. RAR offers better compression than ZIP and supports multi-volume archives natively, but requires WinRAR to create (free to extract). 7z achieves the highest compression ratios of the three, is completely free and open-source via 7-Zip, but requires 7-Zip or a compatible app to open. For everyday sharing, use ZIP. For maximum compression of large files you control end-to-end, use 7z.
On Windows, open 7-Zip, select your files, click Add to archive, set the Archive format to zip, enter a password in the Encryption section, and choose AES-256. On Mac, use Keka (free) or Terminal: zip -e archive.zip file.txt — you will be prompted for a password. Note that Windows built-in zip does not support password protection; you need a third-party tool like 7-Zip.
The most common reasons are: the file is corrupt (incomplete download — re-download it), it requires a password you do not have, the file extension was changed and it is not actually a zip, or it is a newer format like 7z or RAR that Windows cannot open natively. Try right-clicking and opening with a different app, or install 7-Zip (free) which supports over 30 archive formats.
Windows 10 and 11 have built-in zip support. Select the files or folders you want to compress, right-click the selection, and choose Send to › Compressed (zipped) folder. A .zip file is created instantly in the same location. You can also use PowerShell: Compress-Archive -Path 'C:\folder' -DestinationPath 'C:\archive.zip'
An unencrypted ZIP file is not secure — anyone can open it. However, a ZIP file encrypted with AES-256 (via 7-Zip or WinRAR) is very secure — essentially unbreakable with a strong password. The older ZipCrypto encryption built into some tools is weak and should not be used for sensitive data. Always use AES-256 when security matters, and use a strong, unique password of at least 12 characters.
IT Cares — File Compression, Cloud Backup & Data Transfer
Need to migrate large file libraries, set up automated cloud backups, or recover data from a failing drive? Our certified technicians handle it remotely for a flat $59. Satisfaction guaranteed — no fix, no charge.