Creating a zip file takes one or two clicks on any computer

A zip file is a folder or group of files squeezed into a single compressed package. You create one by right-clicking the file or folder you want to compress, selecting a compress or zip option, and waiting a few seconds. The process is built into Windows, Mac, and Linux — you do not need to download anything.

The compressed file takes up less storage space than the original and is easier to email or upload. Once someone receives it, they can open it the same way you created it: by right-clicking and extracting or unzipping.

Key Takeaways

  • On Windows, right-click a file or folder, hover over "Send to", and click "Compressed (zipped) folder".
  • On Mac, right-click the file or folder and select "Compress" from the menu that appears.
  • On Linux, right-click and choose "Compress" or use the terminal command zip -r filename.zip foldername.
  • The compressed file appears in the same location as the original and has a .zip extension.
  • Zip files preserve the folder structure inside, so opening one shows you the same layout as the original.

How to zip a file or folder on Windows

Open File Explorer and navigate to the file or folder you want to compress. Right-click it. A menu will appear with many options.

Look for "Send to" in that menu. Hover your mouse over it — a submenu will pop out to the side. Click "Compressed (zipped) folder". Windows will create a new zip file in the same location with the same name, plus the .zip extension. If you compressed a folder called "Photos", the zip file will be called "Photos.zip".

The process takes a few seconds to a few minutes depending on the size. You will see the new zip file appear in the same folder when it is done.

How to zip a file or folder on Mac

Open Finder and locate the file or folder you want to compress. Right-click it (or Control-click if your mouse has only one button). A menu will appear.

Select "Compress" from the menu. Mac will create a zip file with the same name plus .zip in the same location. For a folder called "Documents", the zip file will be "Documents.zip". The process usually takes just a few seconds.

If you compress multiple files at once by selecting them all before right-clicking, Mac will create a single zip file called "Archive.zip" containing all of them.

How to zip a file or folder on Linux

Linux does not have a built-in graphical zip tool in all versions, but most desktop environments include one. Right-click the file or folder in your file manager and look for "Compress" or "Create Archive". Select it and choose zip as the format if prompted. The zip file will appear in the same location.

If your file manager does not have a compress option, or if you prefer the command line, open a terminal. Navigate to the folder containing the file or folder you want to compress. Type zip -r filename.zip foldername, replacing "filename" with what you want to call the zip file and "foldername" with the name of the folder or file you are compressing. Press Enter. The zip file will be created in your current directory.

What happens to the original file after you zip it

The original file or folder stays exactly where it was. Zipping does not delete or move anything — it creates a copy in compressed form. If you want to delete the original to save space, you can do that manually by right-clicking it and selecting Delete or Move to Trash. But the zip file will still work even if you keep both.

This is useful if you want to keep a backup of the original while also having a smaller version to send or upload.

How to open a zip file you receive

When someone sends you a zip file, your computer treats it like any other file. On Windows, right-click it and select "Extract All". On Mac, just double-click it — the system will unzip it automatically. On Linux, right-click and select "Extract" or use the terminal command unzip filename.zip.

The unzipped files will appear in a new folder in the same location as the zip file. The original zip file stays where it is — extracting does not delete it.

When zip files are useful and when they are not

Zip files work best for sending multiple files at once, because email and file-sharing services count attachments. One zip file with ten documents inside is easier to manage than ten separate attachments. They also save space if you are uploading to a service with storage limits.

Zip files are less useful for files that are already compressed, like photos in JPEG format, videos in MP4 format, or music in MP3 format. Zipping them again saves almost no space because those formats are already squeezed as much as possible. Text files, Word documents, and spreadsheets compress much better.

Frequently Asked Questions

Can I password-protect a zip file?

On Windows and Mac, the built-in zip tools do not offer password protection. You would need to download a third-party program like 7-Zip (free, Windows) or Keka (free, Mac). On Linux, many file managers let you set a password when creating the zip through the right-click menu. Check your file manager's compress dialog for a password option.

What is the largest file size I can zip?

Zip files can theoretically hold up to 16 exabytes of data, which is far larger than any personal computer. In practice, your limit is your hard drive space. The zip file itself will be smaller than the original, but you need enough free space to create it.

Will a zip file work on a different operating system?

Yes. A zip file created on Windows opens on Mac and Linux, and vice versa. Zip is a universal format that all operating systems understand. You can safely send a zip file to anyone regardless of what computer they use.

Do I need to install software to create or open zip files?

No. Windows, Mac, and Linux all have zip built in. You do not need to download or install anything. Right-click and compress, or right-click and extract — that is all you need.