What uncompressing a file means
When you uncompress a file, you are reversing the compression — turning a squeezed-down file back into its original size and usable form. A compressed file is smaller, which makes it faster to read or easier to email. Once you uncompress it, you get back the original file or folder, usually taking up more space on your computer than the compressed version did.
The most common compressed file format you will see is a ZIP file, which ends in .zip. You might also encounter .rar, .7z, or .tar.gz files, though these are less common on everyday computers. The process of uncompressing is sometimes called "extracting" — both words mean the same thing.
Key Takeaways
- ZIP files are the most common compressed format and can be uncompressed on Windows, Mac, and Linux without installing extra software.
- On Windows, right-click the ZIP file and select "Extract All" to uncompress it in the same folder.
- On Mac, double-click the ZIP file and it uncompresses automatically into the same location.
- Other formats like .rar or .7z require a separate program, but ZIP files work with built-in tools on all major operating systems.
Uncompressing a ZIP file on Windows
Right-click the ZIP file you want to uncompress. A menu will appear. Select "Extract All" from that menu. A window will open asking where you want the uncompressed files to go — by default, it suggests the same folder where the ZIP file sits. Click "Extract" and Windows will uncompress the file for you.
Once the extraction finishes, you will see a new folder or set of files in that location. The original ZIP file stays where it was — uncompressing does not delete it. If you want to clean up space, you can delete the ZIP file after you have confirmed the uncompressed files work the way you need them to.
Uncompressing a ZIP file on Mac
On a Mac, uncompressing a ZIP file is even simpler. Find the ZIP file in Finder and double-click it. The Mac will automatically uncompress it in the same folder, and you will see a new folder or file appear within seconds. That is all there is to it — no menu selections or dialog boxes needed.
Like Windows, the original ZIP file remains after uncompressing. You can delete it if you want to save space, but there is no need to do so when ready. Some people keep the ZIP file in case they need to send it to someone else or want a backup of the compressed version.
Uncompressing a ZIP file on Linux
On Linux, you can uncompress a ZIP file using the file manager the same way you would on Mac or Windows — right-click the file and look for "Extract" or "Extract Here". The exact wording depends on which file manager your Linux system uses, but the concept is identical.
If you prefer the command line, you can also type unzip filename.zip in the terminal, replacing "filename" with the actual name of your ZIP file. This uncompresses the file in the current directory. Both methods work equally well.
What to do if the file format is not ZIP
If the file ends in .rar, .7z, .tar, or .tar.gz, your computer's built-in tools probably will not uncompress it. You will need to read a separate program. On Windows, 7-Zip is free and handles most formats. On Mac, The Unarchiver is free and available in the App Store. On Linux, the command line tools for these formats are usually already installed.
Before downloading any program, check the file name carefully. Sometimes what looks like a .rar file is actually a .zip file with a misleading name. If you are unsure, you can right-click the file and select "Properties" (Windows) or "Get Info" (Mac) to see the actual file type listed there.
Why a file might not uncompress
The most common reason a file will not uncompress is that it is corrupted — meaning the read did not finish completely, or the file was damaged in transit. If you downloaded the file from the internet, try downloading it again. If you received it by email or file transfer, ask the person who sent it to send it again.
Another reason is that the file is password-protected. Some people compress files with a password so only the intended recipient can uncompress them. If this is the case, you will be asked for a password when you try to extract. If you do not know the password, contact whoever sent you the file.
Uncompressing multiple files at once
If you have several ZIP files in the same folder and want to uncompress all of them, you do not have to do them one at a time. On Windows, select all the ZIP files (click the first one, hold Shift, and click the last one), then right-click and select "Extract All". Windows will uncompress each one into its own folder.
On Mac, select all the ZIP files the same way, then right-click and select "Open". The Mac will uncompress each one. On Linux, you can select multiple files in the file manager and extract them together, or use the command unzip '*.zip' in the terminal to uncompress all ZIP files in the current directory at once.
Frequently Asked Questions
Does uncompressing a file change the original file inside?
No. Uncompressing just unpacks the file to its original state. If the file was a document, photo, or video before it was compressed, it will be exactly the same after uncompressing. The compression and uncompression process does not alter the content.
Can I use a compressed file without uncompressing it?
On Windows and Mac, you can sometimes open files directly from a ZIP without uncompressing the whole thing. Right-click the ZIP, select "Open" or "Preview", and you may be able to view the contents. However, to actually use or edit a file, you usually need to uncompress it first.
What happens to the ZIP file after I uncompress it?
The ZIP file stays on your computer. Uncompressing does not delete it. You can delete the ZIP file yourself if you want to save space, but you are not required to. Many people keep both the compressed and uncompressed versions for a while to make sure everything works.
Why would someone send me a compressed file instead of the original?
Compressed files are smaller, so they read faster and take up less email space. If someone is sending you multiple files or a large folder, compressing it first makes the transfer quicker and easier. It is a common practice for sharing files over the internet.
Is it safe to uncompress files from the internet?
Uncompressing itself is safe — it just unpacks the file. However, you should always be cautious about downloading files from unknown sources, whether they are compressed or not. Only uncompress files from people or websites you trust.