You can turn any file or folder into a zip on Windows, Mac, or Linux without buying anything
Your operating system has a built-in tool to create zip files — you do not need to install software or pay for a service. On Windows, you right-click the file or folder and select "Send to" then "Compressed (zipped) folder". On Mac, you right-click and choose "Compress". On Linux, the process depends on your desktop environment, but most have a compress option in the file manager's right-click menu. The result is a single .zip file that takes up less space and is easier to email or upload.
The steps below walk you through the exact process for each system. The whole operation takes less than a minute once you know where to click.
Key Takeaways
- Windows, Mac, and Linux all have built-in tools to create zip files without installing anything extra.
- Right-clicking a file or folder is the fastest way to compress it on any system.
- A zipped file takes up less storage space and is easier to send by email or upload to a website.
- You can zip a single file, multiple files, or an entire folder full of files all at once.
- The original file stays on your computer — zipping creates a new compressed copy.
How to zip a file on Windows
Open File Explorer and find the file or folder you want to compress. Right-click on it. A menu will appear with several options. Look for "Send to" — when you hover over it, a submenu will open. Click "Compressed (zipped) folder".
Windows will create a new .zip file in the same location as the original. It will have the same name as the original file or folder, with .zip added to the end. The original file stays where it is — you now have both the original and the zipped version. You can delete the original if you want to save space, or keep both.
If you want to zip multiple files at once, select them all first. Hold Ctrl and click each file you want to include. Then right-click one of the selected files and follow the same steps. All of them will go into a single zip file.
How to zip a file on Mac
Open Finder and locate the file or folder you want to compress. Right-click (or Control-click) on it. A menu will appear. Select "Compress" — the option will show the name of the file next to it, like "Compress document.pdf".
Mac will create a new .zip file with the same name as the original, plus .zip at the end. It appears in the same folder as the original file. The original stays on your computer, so you have both versions until you delete one.
To zip multiple files, select them all first by holding Command and clicking each one. Then right-click any of the selected files and choose "Compress". All of them will be packed into one zip file.
How to zip a file on Linux
The exact steps depend on which desktop environment you use — GNOME, KDE, Cinnamon, or another. Open your file manager and find the file or folder you want to compress. Right-click on it and look for an option called "Compress", "Archive", or "Create Archive". Click it.
A dialog box may appear asking you to choose a format. Select "zip" from the list if other options are shown. The system will create a .zip file in the same location as the original. If no dialog appears, the zip file is created automatically with the original file's name plus .zip.
If your file manager does not have a compress option in the right-click menu, you can use the command line instead. Open a terminal, navigate to the folder containing the file, and type zip -r filename.zip foldername, replacing "filename" with what you want to call the zip and "foldername" with the folder you want to compress. Press Enter and the zip file will be created.
What happens when you zip a file
Zipping reduces the size of a file by removing redundant data — the same information stored multiple times. How much smaller the zip becomes depends on what is inside. Text files and documents compress very well, sometimes shrinking to half their original size. Photos and videos compress less because they are already stored in a compressed format. A folder full of mixed files will shrink by 20 to 50 percent on average.
The original file is not changed or deleted when you zip it. You end up with two files: the original and the zipped copy. The zipped copy is what you send or upload. When someone receives it, they unzip it to get the original file back, identical to what you started with.
When to zip a file and when not to
Zip a file when you need to email it, upload it to a website with a file size limit, or store many files together in one package. Zipping is especially useful for folders containing dozens of small files — instead of uploading each one separately, you upload the single zip file.
Do not zip a file that is already compressed, like a .jpg photo, .mp4 video, or .zip file itself. Zipping these again will not make them smaller and just wastes time. If you are storing files on your own computer and not sending them anywhere, zipping saves space but makes the files harder to access — you have to unzip before you can use them. In that case, zipping is worth it only if storage space is tight.
How to unzip a file
On Windows, right-click the .zip file and select "Extract All". Choose where you want the files to go, then click "Extract". On Mac, double-click the .zip file and it unzips automatically. On Linux, right-click the .zip file, select "Extract" or "Extract Here", and the files appear in the same folder.
After unzipping, you have the original files back in their original form. The .zip file itself stays on your computer unless you delete it. You can delete the zip once you have confirmed the unzipped files are there and working.
Frequently Asked Questions
Can I zip a folder that contains other folders inside it?
Yes. When you zip a folder, everything inside it — including subfolders and all their contents — gets zipped together. The folder structure is preserved, so when someone unzips it, they get the same layout of folders and files you started with.
Will zipping a file make it smaller on my computer?
Yes, usually by 20 to 50 percent depending on what type of file it is. Text and documents compress well. Photos, videos, and audio files are already compressed, so zipping them saves little or no space. You trade storage space for convenience — the zip file takes up less room but you have to unzip it before you can use it.
What if I zip a file and then lose the original?
The zip file is a complete copy of the original. Unzip it and you get the original file back, identical to what you started with. As long as the zip file is not damaged, you have not lost anything. This is why zipping is safe for backup — the zip is a full, working copy.
Can I password-protect a zip file?
The built-in tools on Windows, Mac, and Linux do not offer password protection when creating a zip. If you need to password-protect a file before sending it, you can use free software like 7-Zip on Windows or Keka on Mac, which both support password-protected zips during creation.
Why does my zip file stay the same size as the original?
Some files do not compress well. Photos, videos, and audio files are already stored in a compressed format, so zipping them again saves almost no space. If you are zipping mostly these types of files, the zip will be nearly as large as the original. Text files and documents compress much better.