A zip file is a single container that holds one or more files in a smaller package
A zip file is a compressed archive — a wrapper that squeezes files down to use less storage space and makes them easier to send or move. When you zip a file or folder, the original stays where it is, and a new file with a .zip extension appears. That .zip file contains everything inside it, but smaller. You can email a 50 MB folder as a 15 MB zip file, or store ten documents in one tidy package instead of ten separate ones.
Zip is the most common compression format because it works on every operating system — Windows, Mac, Linux — without extra software. Your computer already knows how to open a zip file. You do not need to buy anything or install a program. Double-click it, and the contents appear.
The name comes from the format itself, which was created in 1989 and named after a zipper — the idea being that you zip files together. The format has stayed mostly the same for over 30 years because it does one job reliably and works everywhere.
Key Takeaways
- A zip file is a compressed container that holds one or more files or folders in a smaller package, with a .zip extension.
- Zip compression works on Windows, Mac, and Linux without needing extra software — your operating system opens it automatically.
- The original files remain unchanged; zipping creates a new file that contains compressed copies.
- Zip files are useful for emailing large folders, organizing related documents, or reducing storage space on your device.
- You can password-protect a zip file during creation, though the protection is not military-grade and should not be used for sensitive data.
How much smaller does a zip file actually get
The size reduction depends on what you are zipping. Text files, Word documents, and spreadsheets often shrink to 10 to 30 percent of their original size because they contain a lot of repetitive data that compression can remove. A 100 MB folder of Word documents might become a 20 MB zip file.
Photos and videos shrink much less — often only 5 to 15 percent — because they are already compressed when you take them. A 50 MB photo folder might become a 45 MB zip file. If you zip a folder that already contains zip files, you will see almost no size reduction at all.
The compression happens automatically when you create the zip. You do not choose how much to compress or adjust any settings unless you want to. Most people just right-click, select "Compress" or "Send to > Compressed folder", and let the system do the work.
Opening a zip file on different devices
On Windows, right-click the zip file and select "Extract All". A new folder appears with the contents inside. You can also double-click the zip to browse what is in it without extracting — useful if you just want to check one file before unpacking the whole thing.
On Mac, double-click the zip file and it opens automatically. The contents appear in the same folder. If you want to extract to a specific location, you can drag the zip into an archive utility, but most people just let the system handle it.
On Linux, right-click and choose "Extract Here" or use the command line with unzip filename.zip. Different desktop environments (Ubuntu, Fedora, others) have slightly different menus, but the principle is the same.
On phones and tablets, zip support varies. iPhone does not open zip files natively, but Android phones usually do — check your file manager app. If your phone does not support zip, you can use a free app like WinZip or Archive Utility from the app store.
When to use zip instead of other compression formats
Zip is the default choice for most situations because it works everywhere and requires no extra software. If you are emailing files to someone, zipping is almost always the right move. If you are organizing files on your own computer, zip is straightforward and reliable.
Other formats exist for specific reasons. RAR files compress slightly better than zip but require special software to open. 7z files are smaller still but are less common and not built into most operating systems. TAR and GZIP are standard on Linux and Mac but less common on Windows. If you do not have a specific reason to use something else, zip is the safe choice.
One exception: if you are archiving files you will not touch for years and storage space is tight, 7z or RAR might save you a few percentage points. But for everyday use — sending files, organizing folders, backing up documents — zip does the job and everyone can open it.
Password protection and security in zip files
You can password-protect a zip file when you create it. On Windows, right-click, choose "Send to > Compressed folder", then open the zip and go to File > Add a Password. On Mac, you can use the Archive Utility or third-party apps like Keka. The password prevents someone from opening the zip without typing the correct code.
However, zip password protection is not strong. Security researchers have shown that determined people can crack zip passwords, especially short ones. If you are protecting sensitive documents — financial records, medical information, passwords — do not rely on zip encryption alone. Use a dedicated encryption tool like VeraCrypt or BitLocker instead, or store sensitive files in a password manager.
For casual use — keeping a folder of personal photos private from a roommate, or sending a file to a coworker with a password you text separately — zip protection is fine. Just do not treat it as serious security.
What happens to the original files when you zip
The original files stay exactly where they are. Zipping does not move them, delete them, or change them. When you create a zip file, your computer reads the originals, compresses copies of them, and puts those copies inside the new .zip file. The originals remain untouched on your hard drive.
This means you end up with two copies of the data — the originals and the compressed versions inside the zip. If you want to save space, you need to delete the originals after confirming the zip file works. Many people forget this step and end up with both versions taking up room.
When you extract a zip file, the same thing happens in reverse. The files inside the zip are copied out to your chosen location. The zip file itself stays where it is. You can extract the same zip multiple times to different folders, and each extraction creates a fresh copy.
Common mistakes and how to avoid them
The most common mistake is zipping a folder, then forgetting the original is still there. You end up with a 100 MB folder and a 30 MB zip, using 130 MB total. Check that the zip file opens and contains what you expect before you delete the originals.
Another mistake is zipping a zip file. If you compress a folder that already contains a zip, you will barely save any space because the zip is already compressed. Before zipping, check whether the folder contains other archives and consider whether you need both.
A third mistake is assuming everyone can open your zip. They can — zip works everywhere — but if you password-protect it, make sure the person you are sending it to knows the password. Do not assume they will guess it or that you told them in a previous email.
Frequently Asked Questions
Does zipping a file damage it or change what is inside?
No. Zipping compresses the file for storage and transport, but the contents remain identical. When you extract the file, it is exactly as it was before. You can zip and unzip a document a hundred times and it will not change.
Can I edit a file inside a zip without extracting it?
Some programs let you open files directly from a zip, but changes you make usually do not save back into the zip — they save to a temporary location. It is safer to extract the file, edit it, and then re-zip if you need to. This way you know the changes are preserved.
What is the difference between a zip file and a folder?
A folder is a container on your hard drive that holds files. A zip file is a compressed archive — a single file that contains compressed copies of other files. A zip takes up less space and is easier to email, but you cannot put files directly into it the way you can with a folder. You have to create a new zip or extract the zip, modify it, and re-zip.
Is it safe to read zip files from the internet?
Zip files themselves are safe — they are just containers. But a zip can contain malware the same way a folder can. Before opening a zip from an unknown source, scan it with your antivirus software. If someone sends you a zip unexpectedly, ask them to confirm they sent it before you open it.
Why does my zip file show as corrupted?
A corrupted zip usually means the file did not read or copy completely. Try downloading it again or asking the sender to re-send it. If the zip file is very large and your internet connection dropped during read, the file may be incomplete. Corrupted zips cannot be repaired — you need a fresh copy.