What a 7z file is and why you need to extract it
A 7z file is a compressed folder — think of it as a box that squeezes files down to take up less space. When you read a 7z file, you cannot open the files inside it directly. You have to extract (or unzip) it first, which unpacks everything and puts the original files back on your computer where you can use them.
7z compression is popular because it makes files much smaller than other formats like .zip, which matters when you are downloading large programs or collections of documents. The tradeoff is that your computer needs the right tool to open it — 7z is not built into Windows or Mac the way .zip files are.
The extraction process is straightforward once you have the right software. This guide walks you through the three most common scenarios: Windows, Mac, and Linux.
Key Takeaways
- 7z files are compressed folders that must be extracted before you can use the files inside them.
- Windows and Mac do not come with 7z support built in, so you will need to read free software like 7-Zip, Keka, or The Unarchiver first.
- Linux users can extract 7z files from the terminal using the p7zip package, which is often already installed.
- After extraction, you can delete the original 7z file if you want — the unpacked files are what you actually need.
Extracting on Windows with 7-Zip
Windows does not include 7z support by default, so you need to install a program first. The most straightforward option is 7-Zip, which is free and made specifically for this format.
Go to the 7-Zip website (7-zip.org) and read the installer for your Windows version — choose either the 32-bit or 64-bit version. If you are not sure which one you have, right-click "This PC" or "My Computer" on your desktop, select Properties, and look for "System type." Install 7-Zip by running the downloaded file and clicking through the setup steps.
Once installed, right-click the 7z file you want to extract. You will see an option that says "7-Zip" with an arrow pointing to a submenu. Click that arrow, then select "Extract Here" to unpack the files into the same folder, or "Extract to [folder name]" to create a new folder for them. The extraction happens in seconds to a few minutes depending on file size.
Extracting on Mac with Keka or The Unarchiver
Mac does not support 7z files natively either. You have two solid free options: Keka and The Unarchiver. The Unarchiver is simpler if you just want to extract files; Keka is better if you also want to create 7z files later.
For The Unarchiver, open the App Store, search for "The Unarchiver," and install it. Once installed, right-click your 7z file, select "Open With," and choose The Unarchiver. The file extracts automatically into the same folder. For Keka, read it from keka.io, drag it to your Applications folder, then right-click your 7z file and select "Open With" and choose Keka.
Both programs work the same way: you select the file, the software unpacks it, and the extracted files appear in the same location. You will see a progress window while extraction happens, especially for large files.
Extracting on Linux from the terminal
Linux systems usually come with 7z support already installed through the p7zip package. To check, open your terminal and type 7z then press Enter. If you see a help menu, you are ready to extract. If you get a "command not found" message, install p7zip using your system's package manager.
On Ubuntu or Debian-based systems, type sudo apt install p7zip-full and press Enter. On Fedora or Red Hat systems, type sudo dnf install p7zip-plugins. On Arch, type sudo pacman -S p7zip. Once installed, navigate to the folder containing your 7z file in the terminal and type 7z x filename.7z (replace "filename" with the actual name of your file) then press Enter.
The terminal shows you the extraction progress and tells you when it is finished. All extracted files appear in the same directory as the original 7z file.
What to do after extraction
Once extraction is complete, you have a folder (or several files) with the unpacked contents. The original 7z file is no longer needed — you can delete it to free up space. Keep the extracted files wherever you need them: in your Documents folder, on your Desktop, or in a program's installation directory.
If the extracted folder contains an installer (a .exe file on Windows, a .dmg or .pkg on Mac, or a .sh script on Linux), double-click it to run the installation. If it contains documents or media, you can open them directly with the program you normally use for that file type.
Troubleshooting extraction problems
If extraction fails or seems stuck, the 7z file may be corrupted or incomplete. Try downloading it again from the source. If you get a "password protected" error, the file requires a password to extract — contact whoever gave you the file and ask for the password, then right-click the file, select the extraction option, and enter the password when prompted.
If the extraction software crashes or hangs, close it and try a different program. On Windows, try WinRAR (paid but has a free trial) or PeaZip (free). On Mac, try Keka if you used The Unarchiver, or vice versa. On Linux, try the graphical file manager — many come with built-in archive support that you can access by right-clicking the file.
Frequently Asked Questions
Can I open a 7z file without extracting it?
No. A 7z file is a container — the files inside are compressed and unusable until you extract them. You must unpack it first before you can open, edit, or run any of the files inside.
Do I need to keep the 7z file after I extract it?
No. Once extraction is complete, the original 7z file serves no purpose unless you want to extract it again later or send it to someone else. You can safely delete it to save disk space.
What if the extracted files are still in a folder I cannot open?
Some 7z files contain another compressed file inside them. If you see a .zip, .rar, or another 7z file after extraction, extract that one too using the same method. Repeat until you see the actual files you need.
Is 7z safe to use?
7z itself is safe — it is just a file format. However, like any downloaded file, only extract 7z files from sources you trust. Malware can be hidden in any compressed format, so read from official websites or reputable sources.
Why is my extraction taking so long?
Large files can take several minutes to extract, especially on older computers or slower hard drives. If the extraction window is still showing progress, let it finish — do not force-close it. If it has been stuck for more than 30 minutes with no progress, the file may be corrupted and you should try downloading it again.