A 7z file is a compressed archive that bundles multiple files into one smaller package

A 7z file is a container that squeezes files down to save space and make them easier to send or store. The name comes from the file extension — .7z — which tells your computer what kind of archive it is. Inside a 7z file, you might find anything: documents, photos, videos, or a mix of all three, all compressed together.

7z compression is more efficient than older formats like ZIP or RAR, meaning it shrinks files down more aggressively. A folder of documents that takes up 100 MB might compress to 30 MB as a 7z file. That efficiency is why you'll see 7z files used for large software downloads, backup archives, and file transfers where size matters.

The 7z format was created in 1999 and is open-source, meaning anyone can build tools to work with it. It's free to use and doesn't require a license. On Windows, Mac, and Linux, you can open 7z files with the right software — though you may need to install a program first, since 7z isn't built into most operating systems the way ZIP is.

Key Takeaways

  • A 7z file is a compressed archive that holds multiple files in one smaller package, using more efficient compression than ZIP or RAR formats.
  • You cannot open a 7z file by double-clicking it unless you have decompression software installed on your computer.
  • 7-Zip is the most common free program for opening 7z files on Windows, while Mac and Linux users have several free options available.
  • Once you extract a 7z file, the original archive remains on your computer unless you delete it manually.

How to open a 7z file on Windows

On Windows, the easiest path is to download and install 7-Zip, a free program made by the creator of the 7z format itself. Go to the 7-Zip website (7-zip.org), download the installer for your Windows version, and run it. The installation takes less than a minute and adds 7z support to your system.

Once 7-Zip is installed, right-click the 7z file you want to open. You'll see an option that says "7-Zip" with a submenu arrow. Click that, 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 files inside will appear in seconds or minutes, depending on the archive size.

If you don't want to install software, Windows 10 and 11 can open some 7z files through the built-in File Explorer if you have the right codec installed, but this is unreliable. Installing 7-Zip is faster and works every time. Other paid options like WinRAR also open 7z files, but 7-Zip is free and does the job.

Opening 7z files on Mac

Mac doesn't include 7z support by default, so you'll need to add it. The easiest option is The Unarchiver, a free app from the Mac App Store. Search for "The Unarchiver" in the App Store, install it, and it will automatically handle 7z files from then on. Just double-click a 7z file and it extracts.

Another free option is Keka, also available in the App Store, which works similarly. Both programs are lightweight and don't clutter your system. If you prefer command-line tools, you can install 7-Zip through Homebrew (a package manager for Mac), but that requires technical comfort with the terminal.

Once you've installed either program, opening a 7z file is as simple as double-clicking it. The extracted files appear in the same folder. The original 7z archive stays on your computer unless you manually delete it.

Opening 7z files on Linux

Most Linux distributions include 7z support built in or can add it with a single command. If your file manager doesn't recognize 7z files, open a terminal and type sudo apt install p7zip-full (on Ubuntu or Debian) or the equivalent command for your distribution. After that, you can right-click any 7z file and extract it through your file manager.

Alternatively, use the command line directly. Navigate to the folder containing the 7z file and type 7z x filename.7z to extract it. Linux users typically have the most flexibility here, since the 7z format is open-source and widely supported across distributions.

What happens when you extract a 7z file

Extracting a 7z file means decompressing it — taking the squeezed files inside and expanding them back to their original size. When you extract, the files come out into a folder on your computer, and you can then open, edit, or move them like any other file.

The original 7z archive doesn't disappear after extraction. It stays on your computer until you delete it. Many people extract a 7z file, use what's inside, and then delete the archive to save space. Others keep it as a backup. It's entirely up to you.

If a 7z file is very large, extraction can take several minutes. Don't close the program or unplug your computer while it's working — wait for the progress bar to finish. Once extraction is complete, you'll have access to all the files that were inside.

When you might encounter a 7z file

7z files are common in specific situations. Software developers often use them for large program downloads because the smaller file size means faster downloads. Backup services sometimes use 7z compression to reduce storage costs. You might also see 7z files when downloading open-source software, Linux distributions, or large collections of files from websites that prioritize efficiency.

If someone sends you a 7z file via email or file transfer, they chose that format intentionally — usually because the file was too large to compress as a ZIP, or because they wanted the smallest possible package. The format is less common than ZIP in everyday use, which is why many people don't have the tools to open it yet.

Frequently Asked Questions

Is a 7z file safe to open?

7z files themselves are safe — they're just containers. However, like any file you download from the internet, check that it came from a source you trust before opening it. Malware can be hidden inside any archive format, including 7z. If you don't recognize who sent it or why, don't extract it.

Can I open a 7z file without installing software?

On Windows, it's difficult without extra software. On Mac and Linux, your file manager might handle it if the right tools are already installed. The simplest approach is to install one of the free programs mentioned above — it takes two minutes and works reliably every time.

What's the difference between 7z and ZIP?

Both are compressed archives, but 7z compresses more aggressively, so files end up smaller. ZIP is older and more widely supported by default on Windows and Mac. If you're sending files to someone and aren't sure what they can open, ZIP is the safer choice. 7z is better if file size is the priority.

Can I edit files inside a 7z archive without extracting?

No. You must extract the files first to edit them. Some archive programs let you view files inside without extracting, but to make changes, you need to extract, edit, and then re-compress if you want to update the archive.

Why is my 7z file corrupted or won't open?

This usually means the download was interrupted or incomplete. Try downloading the file again. If it still won't open, the file itself may be damaged. Contact whoever sent it to you and ask for a fresh copy. Make sure you're using current extraction software — very old versions sometimes have trouble with newer 7z files.