How to Zip Files on Windows, Mac, iPhone and Android
To zip files, select them and use the compress command your device already has. On Windows 11, right-click and choose Compress to, then ZIP File. On a Mac, right-click and choose Compress. On an iPhone, select the files in the Files app and tap Compress. On Android, select them in Files by Google and tap Compress. If you are on a shared or locked computer, the ZIP file creator does the same job in your browser.
What a ZIP file does
A ZIP file is one file that holds other files. It is handy when a form accepts a single upload, when you email a set of documents, or when you back up a project folder.
Zipping is lossless. When the ZIP is opened, every file comes out exactly as it went in, byte for byte. Most ZIP files also use compression, so text files take up less space inside the ZIP than they did on their own.
How to zip files on Windows
On Windows 11 version 24H2 and later:
- Select the files or the folder in File Explorer.
- Right-click the selection and choose Compress to.
- Choose ZIP File. The ZIP appears in the same folder, ready to rename.
On earlier versions of Windows 11, the right-click menu shows Compress to ZIP file instead. On Windows 10, and on any version through Show more options in Windows 11, right-click and choose Send to, then Compressed (zipped) folder. The ZIP gets the name of the item you right-clicked. To open a ZIP later, right-click it and choose Extract All.
How to zip files on a Mac
- Select the files or folders in Finder.
- Control-click the selection, or click with two fingers on a trackpad.
- Choose Compress.
A single item becomes a ZIP with the same name. Several items become a file called Archive.zip in the same folder. Double-click a ZIP to open it.
How to zip files on iPhone and iPad
- Open the Files app and go to the folder with the files.
- Tap the More button, then Select, and choose one or more files.
- Tap the More button in the lower right, then tap Compress.
One file gives a ZIP with the same name. Several files give Archive.zip. Touch and hold the ZIP and choose Rename to give it a clearer name. Photos stored only in the Photos app need to be saved to Files first.
How to zip files on Android
Files by Google, the file manager on many Android phones, can make ZIP files on Android 8 and later:
- Open Files by Google and select the files or folders.
- Tap the More icon next to the selection.
- Tap Compress and type a name for the ZIP.
The name cannot contain spaces or full stops, so use something like invoices_march. Phones from some brands come with their own file manager, which may place the option in a different menu.
How to zip files in your browser
The ZIP file creator works on any computer or phone with a modern browser:
- Open the tool and choose up to 100 files.
- Pick a compression level: Normal, Smallest file (slower) or No compression (fastest).
- Type a name for the ZIP, or keep the default, files.
- Press Create ZIP and download the result.
The files are packed on your own device and are not uploaded. Each file can be up to 25 MB, and all of them together up to 50 MB. If two files have the same name, the second one is saved as name (2) so it does not overwrite the first. After it runs, the tool shows the number of files, the original size, the ZIP size and the space saved as a percentage. The ZIP is a standard one, so it opens with the built-in tools on Windows, macOS, Linux, Android and iOS.
Worked example: how much smaller does a ZIP get?
It depends on what is inside. As a test, we zipped a CSV export of 5,000 orders with the same compression library the ZIP file creator uses:
- Normal: 306.1 KB became 80.0 KB, a saving of 74%.
- Smallest file: also 80.0 KB. On a plain text file this size, the slower setting found nothing more to remove.
- No compression: 306.2 KB, a little larger than the CSV, because the ZIP adds a small header for each file.
The saving is worked out as 1 minus the ZIP size divided by the original size: 1 minus 80.0 ÷ 306.1 is about 0.74, or 74%.
Plain text, CSV, HTML and code files usually shrink a lot like this. Photos, videos, MP3 files, PDFs and existing ZIP files are already compressed, so zipping them saves very little. Word and Excel files in the .docx and .xlsx formats are also compressed inside, so they barely shrink either.
When a ZIP is not the right answer
The file is still too big. If a ZIP of photos or PDFs is too large for an email or an upload form, zipping will not fix it. Shrink the files first with the image compressor or compress PDF, then zip them if you still need one file.
The reader just needs one document. If you are sending several PDFs to someone who will read them in order, merge them into one PDF instead. A single PDF opens in one tap, while a ZIP has to be extracted first, which many phone users find awkward.
The files are private. A ZIP made with the built-in tools or with the ZIP file creator is not encrypted, so anyone who gets the file can open it. For a confidential PDF, add a password to the PDF itself and share the password a different way, for example by phone.
Common mistakes
Zipping the wrong level of folder. If you zip a folder, the ZIP contains that folder. If you select the files inside it, the ZIP contains just the files. Pick whichever the person receiving it expects.
Forgetting to extract before editing. On Windows, a ZIP opens like a folder, but files opened straight from it are temporary copies. Extract the ZIP first if you plan to edit and save the files.
Questions and answers
Does zipping a file reduce its quality?
No. ZIP compression is lossless, so every file comes out of the ZIP exactly as it went in. Photos and videos keep their full quality.
Why did my ZIP file barely get smaller?
Photos, videos, MP3 files, PDFs and .docx or .xlsx files are already compressed, so a ZIP saves little space on them. Plain text and CSV files often shrink by more than half.
How do I open a ZIP file?
On Windows, right-click it and choose Extract All. On a Mac, double-click it. On an iPhone, tap it in the Files app. On Android, tap it in Files by Google and choose Extract.
Can I put a password on a ZIP made with the ZIP file creator?
No. It makes a standard ZIP without encryption. For a confidential PDF, use the protect PDF tool to add a password to the document itself.