Creating a zip file is built into your operating system — you do not need to install anything
A zip file is a single compressed folder that holds multiple files or folders inside it. You create one by selecting the files you want, then telling your operating system to compress them. The process takes about 30 seconds and works the same way whether you are zipping a single document or an entire folder with hundreds of files inside.
Your computer already has the tools to do this. Windows, Mac, and Linux all include zip compression built in. You do not need to download software or pay for anything — you just right-click and choose the option your system offers.
Key Takeaways
- On Windows, right-click the file or folder, select "Send to", then click "Compressed (zipped) folder" to create a zip file instantly.
- On Mac, right-click the file or folder and select "Compress" — the zip file appears in the same location with the same name plus ".zip".
- On Linux, right-click in your file manager and look for "Compress" or "Create Archive", then choose zip format from the menu that appears.
- The zip file is smaller than the original files, which is why zipping is useful for email attachments and file transfers.
- You can zip a single file, multiple files at once, or an entire folder — the method is the same for all three.
How to create a zip file on Windows
Open File Explorer and navigate to the file or folder you want to zip. If you want to zip multiple files at once, hold Ctrl and click each one to select them all. Then right-click on any of the selected items.
A menu will appear. Look for "Send to" and hover over it — a submenu will pop out. Click "Compressed (zipped) folder". Windows will create a new zip file in the same location with the name of the original file or folder, plus ".zip" at the end. If you selected multiple files, it will name the zip file "Compressed Folder.zip" — you can rename it by right-clicking and choosing "Rename".
The zip file is ready to use immediately. You can move it, email it, or open it by double-clicking it. When you double-click a zip file, Windows treats it like a folder and shows you what is inside.
How to create a zip file on Mac
Open Finder and locate the file or folder you want to zip. To select multiple files, hold Command and click each one. Then right-click on any of the selected items and choose "Compress" from the menu.
Mac will create a zip file with the same name as the original, plus ".zip" at the end. The zip file appears in the same folder as the original file. If you selected multiple files, Mac names it "Archive.zip" — you can rename it by clicking it once and pressing Enter, then typing a new name.
The zip file is ready immediately. Double-clicking it opens it like a folder, and you can email it or move it anywhere you need it to go.
How to create a zip file on Linux
Open your file manager (usually called Files, Nautilus, Dolphin, or Thunar depending on which Linux desktop you use). Navigate to the file or folder you want to zip. Select it by clicking once, or select multiple files by holding Ctrl and clicking each one.
Right-click on your selection. Look for an option called "Compress", "Create Archive", or "Archive". Click it. A dialog box will appear asking what format you want — choose "zip" from the list. Enter a name for the zip file and click the button to create it (usually labeled "Create" or "OK").
The zip file will appear in the same folder. You can now move it, email it, or open it by double-clicking.
What to do if the right-click menu does not show a compress option
On Windows, if you do not see "Send to" in the right-click menu, your version of Windows may be different from the standard setup. Try right-clicking again and looking for "Compress to ZIP" or just "Compress" — some versions of Windows use different wording. If neither appears, you can use the built-in Windows 11 or Windows 10 app called "Compress" by searching for it in the Start menu.
On Mac, if "Compress" does not appear, make sure you are right-clicking on the file itself, not on empty space in the folder. Also check that you are using a recent version of macOS — very old versions may not have this option built in.
On Linux, if your file manager does not show a compress option, you can open a terminal in that folder and type zip -r filename.zip foldername (replacing "filename" and "foldername" with your actual names). This creates a zip file using the command line instead.
How to zip a folder with files inside it
The process is exactly the same whether you are zipping a single file or a folder containing hundreds of files. Right-click the folder and choose compress (or "Send to" then "Compressed folder" on Windows). Your operating system will automatically zip the entire folder and everything inside it.
The resulting zip file will be smaller than the original folder because compression reduces the total size. When you open the zip file later, you will see the folder structure exactly as it was — all the subfolders and files inside will be in the same arrangement.
Why the zip file is smaller than the original
Compression works by finding patterns in your files and storing them more efficiently. A text document with the same word repeated 100 times can be stored as "word appears 100 times" instead of writing the word out 100 times. Image files, video files, and documents all compress to some degree, though the amount varies.
Some file types compress much better than others. A folder of Word documents might shrink to 60 percent of its original size. A folder of photos might only shrink to 90 percent of its original size because photos are already compressed. Zip files are most useful when you are sending multiple files by email or transferring a folder over the internet, because the smaller size means faster transfer.
Frequently Asked Questions
Can I password-protect a zip file?
Windows and Mac do not offer password protection in their built-in zip tools. If you need a password-protected zip file, you will need to download free software like 7-Zip (Windows) or use the command line. Linux users can add password protection through the terminal using the zip command with the -e flag.
What happens to the original files after I create a zip file?
The original files stay exactly where they are. Creating a zip file makes a copy of them in compressed form — it does not delete or move the originals. If you want to delete the originals to save space, you can do that separately by selecting them and pressing Delete.
Can I add more files to a zip file after I create it?
On Windows and Mac, you can drag files into an open zip file and they will be added. On Linux, this depends on your file manager — some allow it and some do not. The safest method on any system is to create a new zip file with all the files you want, rather than trying to edit an existing one.
What if I need to unzip a file someone sent me?
Double-click the zip file. Your operating system will automatically extract all the files inside and place them in a new folder in the same location. You can then open the files normally — unzipping does not require any special software.
Is there a limit to how many files I can put in one zip file?
You can zip thousands of files in a single zip file. The practical limit is the amount of storage space on your computer. Very large zip files (over 4 gigabytes) may have compatibility issues with older systems, but modern computers handle them without problems.