How to Zip a File on Windows, Mac, and Android (Free)

To zip a file, right-click the file or folder and choose “Compress” — on Windows select “Compress to ZIP file,” and on Mac choose “Compress [name]”. This creates a .zip file you can email or store. Every major OS includes this for free. Need the reverse? See how to unzip files.

Which method?

DeviceHow to zip
WindowsRight-click → Compress to ZIP file
MacRight-click → Compress
AndroidFiles app → long-press → Compress
iPhoneFiles app → long-press → Compress

Windows

  1. Right-click the file or folder you want to zip.
  2. Choose Compress to ZIP file (Windows 11) or Send to → Compressed (zipped) folder (Windows 10).
  3. Rename the new .zip file if you like.

To zip multiple files, select them all first (Ctrl-click), then right-click → Compress. They’ll bundle into one .zip.

Mac

  1. Right-click (or Control-click) the file or folder.
  2. Choose Compress “[name]”.
  3. A .zip file appears in the same folder.

To zip several items at once, select them all (⌘-click), then right-click → Compress.

Android

  1. Open the Files (or Google Files) app.
  2. Long-press the files, tap ⋮ (More) → Compress (or Zip).
  3. The .zip saves to the same folder.

iPhone

On iPhone and iPad, long-press a file or a folder in the Files app and tap Compress — this creates a .zip archive with no extra app needed.

Password-protect a zip

Windows’ built-in zip can’t add a password. To create an encrypted zip:

How much smaller does a zip make files?

It depends on the file type:

File typeZip reduction
Text, documents, code60–90% smaller
Photos (JPEG)Little to none (already compressed)
Videos (MP4)Little to none
PDFsVaries (often already compressed)

If photos or PDFs are what you’re trying to shrink, zipping won’t help much — reduce image file size or reduce PDF size instead.

FAQ

What does zipping a file do?

It compresses files into a single .zip archive, reducing size and bundling multiple files for easier sharing.

How do I zip multiple files?

Select all the files (Ctrl/⌘-click), then right-click and compress — they’ll combine into one .zip.

How much smaller does a zip make files?

It varies. Text and documents compress a lot (60–90%); photos, videos, and PDFs are often already compressed and shrink very little.

Can I zip a file on my phone?

Yes. Android’s Files app compresses directly. On iPhone, long-press a file in the Files app and tap Compress (or use iZip for folders).

How do I create a password-protected zip?

Use 7-Zip (Windows) or Keka (Mac) — the built-in zip tools can’t add a password. See “Password-protect a zip” above.

Why is my zip file not much smaller?

Because the files inside (photos, videos, PDFs) were already compressed. Zipping mainly helps with text, documents, and code.