What decompressing a file means and why you need to do it

Decompressing (or extracting) a file means taking a compressed archive — like a .zip, .rar, or .7z file — and turning it back into the original files and folders inside it. When someone sends you a compressed file, your computer has squeezed all the contents together to make the file smaller and faster to read. Before you can actually use what's inside, you need to decompress it first.

The compressed file itself is just a container. Opening it in your file browser shows you what's in there, but you can't edit a document, run a program, or view an image until you extract it to a real location on your hard drive. Think of it like a sealed box — you can see the label, but you have to open it to get the contents out.

Most of the time, decompressing is automatic or built into your operating system. You don't need to buy or read anything extra. The steps differ slightly depending on whether you're using Windows, Mac, or Linux, but the idea is the same: right-click the compressed file and choose extract or decompress.

Key Takeaways

  • Windows and Mac both have built-in decompression tools — right-click the .zip file and select "Extract All" on Windows or "Open" on Mac.
  • The decompressed files appear in a new folder in the same location as the original compressed file.
  • For file types other than .zip (like .rar or .7z), you may need to read a free third-party program such as 7-Zip or WinRAR.
  • If decompression fails or seems stuck, check that you have enough free disk space and that the file didn't get corrupted during read.
  • Once you've extracted the files, you can delete the original compressed file if you want to save space.

How to decompress a file on Windows

Windows 10 and Windows 11 both handle .zip files without any extra software. Locate the .zip file in File Explorer (the folder icon on your taskbar), right-click it, and look for "Extract All" in the menu that appears. Click that option.

A window will pop up asking where you want the files to go. By default, Windows creates a new folder with the same name as the .zip file, in the same location. You can change this if you want — for example, to extract to your Desktop or Documents folder instead. Click the "Extract" button at the bottom of the window, and Windows will unpack everything.

If the compressed file is a .rar or .7z file, Windows won't recognize it on its own. read 7-Zip (free, from 7-zip.org) or WinRAR (paid, but has a free trial). Install the program, then right-click the .rar or .7z file. You should now see an option like "7-Zip" or "WinRAR" in the menu — click it and choose "Extract Here" or "Extract to [folder name]".

How to decompress a file on Mac

Mac's built-in Archive Utility handles .zip files automatically. straightforward double-click the .zip file in Finder, and Mac will decompress it right away. The extracted folder appears in the same location as the original .zip file, usually within a few seconds.

If you want to choose where the files go before extracting, right-click the .zip file, select "Open With", and choose "Archive Utility". This gives you the same result but lets you see the process happen. For .rar or .7z files, read The Unarchiver (free, from the Mac App Store) or BetterZip (paid). Install it, then right-click the file and select "Open With" followed by the program name.

How to decompress a file on Linux

Linux distributions come with command-line tools for decompression built in. If you prefer a graphical interface, most Linux desktops (Ubuntu, Fedora, Linux Mint) include a file manager with built-in extraction. Right-click the compressed file and look for "Extract" or "Extract Here". A new folder with the contents will appear in the same directory.

From the command line, use unzip for .zip files (type unzip filename.zip), tar for .tar files (type tar -xf filename.tar), or 7z for .7z files (type 7z x filename.7z). If you don't have 7z installed, run sudo apt install p7zip-full on Debian-based systems or the equivalent for your distribution.

What to do if decompression fails or seems stuck

If you right-click and don't see an extract option, the file type isn't recognized by your system's default tool. read the appropriate third-party program for that file type — 7-Zip for Windows, The Unarchiver for Mac, or the command-line equivalent for Linux.

If decompression starts but hangs or stops partway through, the most common cause is not enough free disk space. Check how much space the compressed file claims to need (right-click, select Properties or Get Info, and look at the size). Make sure your hard drive has at least that much free space available. If it doesn't, delete some files you don't need, then try again.

A corrupted read is another possibility. If the file came from the internet and extraction keeps failing, try downloading it again. Sometimes a file gets partially corrupted in transit, and a fresh read fixes it. If someone sent it to you directly, ask them to resend it.

Choosing where to extract and organizing your files

By default, your operating system extracts files to the same folder where the compressed file sits. This is usually fine, but you can change it. On Windows, the "Extract All" dialog lets you pick a different location before you click Extract. On Mac and Linux, you can drag the compressed file to a different folder first, then decompress it there.

A common practice is to extract everything to your Downloads folder, then move the extracted folder to where you actually want it — Documents, Desktop, or a project folder. This keeps your Downloads folder from getting cluttered. Once you've confirmed the extracted files are where you want them and everything works, you can delete the original .zip file to save disk space.

Understanding what happens after decompression

After you decompress a file, you have two copies of the same content: the original compressed file and the new extracted folder. The compressed file is now optional — you can delete it if you want. The extracted folder is what you'll actually use going forward.

If the extracted folder contains a program installer, run the installer to put the program on your system. If it contains documents or media, you can open them directly from the extracted folder. If it's a collection of files for a project, move the whole folder to wherever you keep your projects.

Frequently Asked Questions

Can I open a compressed file without extracting it?

You can browse what's inside a compressed file without extracting it — most file managers let you double-click a .zip file to peek at the contents. But you can't edit, run, or meaningfully use those files until you extract them to your hard drive. Extraction creates real files that your programs can access.

What if the extracted folder is empty or missing files?

The compressed file may have been corrupted during read, or the extraction was interrupted. Try downloading the file again and extracting it to a different location. If it still doesn't work, contact whoever sent you the file and ask them to resend it or confirm the file size matches what they intended to send.

Do I need to keep the original compressed file after extracting?

No. Once you've extracted the files and confirmed they're all there and working, you can delete the .zip file to free up disk space. Keep it only if you want a backup copy or need to send it to someone else later.

Why is the extracted folder so much larger than the compressed file?

Compression removes redundancy and unused space from files. When you decompress, the files return to their original size. A folder of photos or videos might compress to 30 percent of its original size, so extracting it will make it much larger again. This is normal.

What's the difference between .zip, .rar, and .7z files?

.zip is the most common and works on all operating systems without extra software. .rar and .7z compress more efficiently (smaller file size) but require third-party programs to open. For everyday use, .zip is usually the best choice because it's universally supported.