ZIP files: what they are and how to unzip

ZIP files: what they are and how to unzip

It has probably happened to you: an email arrives with a file ending in .zip, or you download something from the internet and you do not know what to do with that strange folder that appeared. Or the other way around: you need to send several photos or documents together and the email service will not let you attach them all. In any of those cases the answer is the same: understand what a ZIP file is and master two basic operations, compressing and unzipping. In this practical guide we explain it without jargon: what a ZIP is, what it is for, how to create one, how to open or unzip one on Windows and on your phone, and what to do when something goes wrong. At the end you will find a summary table you can check whenever you need it.

What is a ZIP file?

A ZIP file is a file format that does two things at once: it groups several files and folders into a single file and, at the same time, reduces their total size through compression. The result is one single file ending in .zip, lighter than the sum of the original files, which you can store, send or move as one piece. Think of a suitcase. To travel you do not carry loose shirts through the airport: you fold them, pack them inside the suitcase and close it. A ZIP file works in a similar way: the files are folded (compressed) and packed together into a single package that is much easier to carry. In fact, the format is named after the idea of closing with a zipper, like a fastener that joins everything in one place. Two features define it:
  • It groups: it turns many files and folders into a single .zip file. That way you can send twenty photos in one email attachment or keep an entire project in a single file.
  • It compresses: it reduces the space the files take up. A text document, a spreadsheet or an Office file can take up much less room once compressed.
ZIP also uses lossless compression: when you extract the files you recover exactly the originals, unchanged and with no loss of quality. It is not like lowering the quality of a photo or a video: here the content comes back identical, just as it was before compressing. That said, not all files shrink the same way. Text, spreadsheets and documents in general compress very well. Files that are already compressed by nature, such as JPG photos, MP3 audio or MP4 videos, barely shrink, because their own format already removed the redundant data. If you zip a folder of photos and the size barely changes, that is completely normal.

What is a ZIP file used for?

A ZIP file solves everyday problems with files:
  • Saving space: when compressed, files take up less room on the disk, on a USB drive or in the cloud.
  • Sending several files together: many email services limit the size and the number of attachments. A single ZIP with everything inside is easier to attach and to download.
  • Transferring faster: a smaller file uploads and downloads in less time, something you notice with slow connections or large files.
  • Keeping everything organized: you can compress a whole folder with its internal structure and keep it as a single backup file.
  • Grouping a project: photos, documents and presentations from the same job stay together in a single package, ready to share.
In short, ZIP is useful whenever you want a set of files to travel as one and take up less space.

What does compressing and unzipping mean?

Compressing is the process of reducing the size of a file or a group of files. The compressing program looks for repeated patterns inside the data and replaces them with shorter references, so the result takes up less space. When the file is needed again, those references are interpreted once more and the original information is rebuilt, without any change. Unzipping (also called extracting) is the reverse operation: the program reads the .zip file, rebuilds the original files and places them in the folder you choose, ready to open and use. That is exactly what you need when you receive a ZIP and want to work with what is inside. An easy way to remember it: compressing is packing and unzipping is unpacking. The ZIP is the box; compressing means putting the things into the box and unzipping means opening it and taking them out.

How to create a ZIP file (compress)

Creating a ZIP is simple and, in most cases, you do not need to install anything. Windows includes a built-in option and it works, in general terms, like this:
  1. Select the files or folders you want to compress. You can choose several by holding down the Ctrl key while clicking each one.
  2. Right-click on the selection.
  3. Look for the compress option: in the Send to menu of Windows it appears as Compressed (zipped) folder. On other systems or versions it may simply say Compress.
  4. A .zip file with the same name will be created in the same folder, ready to use.
The exact name of the option may vary depending on the system version or the language, but the idea is always the same: select, right-click and choose the compress option or the send to compressed folder option. You can also do it on your phone. The file apps that come with Android and iPhone usually include a compress option, and there are many free apps that do it in a couple of taps. If you need more control, free programs such as 7-Zip, PeaZip or WinRAR let you choose the compression level, protect the ZIP with a password or split it into several parts. For everyday use, however, the built-in option of the system is more than enough.

How to unzip or open a ZIP file

Receiving a ZIP is the most common situation, so knowing how to open it is essential. On Windows:
  1. Right-click on the .zip file.
  2. Choose the Extract all… option (in some versions it appears as Extract here or Unzip).
  3. Choose the folder where you want the files to go, or keep the one the system suggests.
  4. Press Extract and that is it: the files will appear in that folder, ready to open.
A useful trick: if you double-click a ZIP, Windows opens it as if it were a folder and lets you see its contents. That is fine for checking what is inside, but to work with the files (edit them, run them or use them normally) it is better to extract them first, because some programs do not work well with files that are still inside the ZIP. On your phone it is just as easy. On Android, open the file app (such as Files or the manager your phone includes), tap the ZIP and choose Extract. On iPhone or iPad, the Files app unzips the file automatically when you tap it: it creates a folder with the same name and leaves the contents inside. If your phone does not have a clear option to extract, install a free unzipping app from the official app store. With any of them the process is the same: open the ZIP and choose where to extract its contents.

Summary table: what you want to do and how

Keep this table as a quick reference:
What you want to doHow to do it
Compress files on WindowsSelect the files, right-click, Send to and Compressed (zipped) folder
Extract a ZIP on WindowsRight-click the .zip, choose Extract all… and pick the destination folder
View the contents without extractingDouble-click the ZIP to browse it like a folder
Open a ZIP on AndroidFrom the file app, tap the ZIP and choose Extract
Open a ZIP on iPhone or iPadTap the ZIP in the Files app; the contents are unzipped automatically
Compress on your phoneFrom the file app, select, open the menu and choose Compress or Zip

What if the ZIP file asks for a password?

If a message asking for a password appears while extracting a ZIP, it means that whoever created the file protected it with encryption. It is a deliberate measure: without the correct password the contents cannot be viewed or extracted. In that case there is not much you can do on your own. The password cannot be easily guessed, and recovery programs try millions of combinations, which can take a very long time or simply never succeed. The most practical thing is to ask the person who sent you the file for the password. If it came by email or chat, check the message: many times it is included right next to the file. If you are the one who wants to protect a ZIP, use a program that offers password encryption (such as 7-Zip or WinRAR) and keep the password in a safe place. If you lose it, you will lose access to your own files, because encryption is precisely the guarantee that nobody else can open them.

RAR, 7z and other similar formats

ZIP is not the only compression format, but it is the most universal one: almost any computer and any phone can open it without installing anything. Even so, you will probably come across other formats:
  • RAR: a very popular format associated with the WinRAR program. It does the same as ZIP and, in some cases, compresses a bit more, but it usually requires a compatible program, because the built-in tools of the systems do not always open it.
  • 7z: the format of the free 7-Zip program. It often achieves better compression than ZIP, especially with text files and data, but it is less universal: whoever receives the file will need a program or an app that supports it.
The practical rule: if you are going to send a file to someone else and you do not know what program they have, use ZIP. If the file is only for yourself and you want maximum compression, 7z or RAR are good options, as long as you have the corresponding program installed.

Common problems when unzipping and their solutions

These are the two most frequent problems and how to solve them: A message saying that the file is damaged or is not a valid archive almost always means that the download did not finish or was interrupted. The most common solution is to download the file again, making sure the download completes completely. If you received it by email, ask for it to be sent again. You can also try opening it with a program like 7-Zip, which sometimes recovers files that the built-in unzipper cannot. If a message about an unsupported format appears or the file will not open, it may be that the file is not really a ZIP (sometimes the extension is misleading) or that an app capable of opening it is missing, for example if it is actually a RAR or a 7z. Check that the download finished: if the file ends in .part or .crdownload, it is still downloading. Then install an app that supports the format and try again. One last recommendation, no less important for it: be wary of ZIP files that come from unknown senders or unreliable websites. A compressed file can hide malicious programs. Open it only if you were expecting it and you know where it comes from.

Conclusion

ZIP is one of those tools that seem technical but that anyone can use in minutes. Knowing how to compress lets you send many files together and save space; knowing how to unzip lets you open almost any file you receive, on the computer or on your phone. Next time a .zip file arrives, you already know what to do: right-click, choose extract, pick a folder and done. And if you need to send several files, compress them first. These are two operations you learn once and use for life.
Chatea por WhatsApp