A 7z file is a compressed archive that bundles multiple files and folders into a single smaller package

The 7z format is a compression method that squeezes files down to save disk space and make them easier to send or store. It works like a ZIP file — you put files inside it, the software compresses them, and you end up with one file instead of many. The main difference is that 7z typically compresses files more tightly than ZIP does, so you get smaller file sizes from the same content.

The format was created in 1999 and is maintained as open-source software, meaning anyone can see how it works and build tools that support it. You'll encounter 7z files most often when downloading software, large collections of files, or backups from people who prefer this format over ZIP.

Key Takeaways

  • 7z files compress multiple files into one smaller package, similar to ZIP but with better compression ratios.
  • You need dedicated software to open a 7z file — Windows and Mac don't open them by default like they do with ZIP.
  • 7-Zip is the original and free tool for Windows; Mac users can use The Unarchiver or Keka; Linux has built-in support.
  • Once you extract a 7z file, you get back the original files at their original size and quality.

How 7z compression works differently from ZIP

Both 7z and ZIP take your files and shrink them, but 7z typically achieves smaller final sizes. A folder of text documents or images might compress to 60 percent of its original size in ZIP format, but 7z could get it down to 40 percent. This matters most when you're dealing with large files or slow internet connections.

The trade-off is speed. Creating or extracting a 7z file takes longer than doing the same with ZIP, because the compression algorithm is more complex. For most people this difference is barely noticeable — a few extra seconds — but if you're compressing gigabytes of data, you'll notice the wait.

ZIP is more universal. Nearly every computer, phone, and web browser can open a ZIP file without installing anything. 7z requires you to install software first, which is why ZIP remains the standard for sharing files online. If someone sends you a 7z file, they're usually doing it because the smaller size matters to them.

Opening a 7z file on Windows

7-Zip is the standard tool and it's free. Download it from the 7-zip.org website, run the installer, and restart your computer. After that, right-click any 7z file and you'll see "7-Zip" in the menu with options to extract it.

Once you choose "Extract Here," the software unpacks the files into the same folder as the 7z file. If you choose "Extract to [folder name]," it creates a new folder first and puts everything inside. The original 7z file stays where it was — extracting doesn't delete it.

Other options exist. WinRAR is paid software that opens 7z files along with many other archive formats. Windows itself cannot open 7z files without third-party software, even in Windows 11.

Opening a 7z file on Mac

The Unarchiver is free and handles 7z files without fuss. Download it from the Mac App Store, then double-click any 7z file and The Unarchiver opens it automatically. The extracted files appear in the same folder.

Keka is another option — it's also free and works similarly. Both tools integrate with Mac's file system so that 7z files behave like ZIP files do on Windows: double-click and they extract.

Mac's built-in Archive Utility cannot open 7z files, so you do need to install something first. Once you have The Unarchiver or Keka installed, the process is as simple as it gets.

Opening a 7z file on Linux

Most Linux distributions include 7z support built in. Open your file manager, navigate to the 7z file, right-click it, and select "Extract" or "Extract Here." The files decompress into the same location.

If your distribution doesn't have it, the command line tool p7zip is available through your package manager. The command is straightforward: 7z x filename.7z extracts the archive in the current directory.

What happens when you extract a 7z file

Extracting a 7z file restores the original files to their original size and quality. If you compressed a photo, a document, and a video into a 7z file, extracting gives you back those three files exactly as they were before compression. The compression is lossless, meaning no data is lost in the process.

The extracted files appear in whatever folder you choose during extraction. You can then open them with whatever software normally opens that file type — a PDF reader for PDFs, an image viewer for photos, and so on. The 7z file itself remains unchanged unless you delete it.

If a 7z file is corrupted or incomplete, extraction will fail partway through and tell you which file caused the problem. This is rare with files downloaded from reputable sources, but it can happen if a download was interrupted.

When you might encounter a 7z file

Software developers sometimes distribute programs as 7z files to reduce download size. Open-source projects and portable applications often use this format. If you're downloading a tool or utility from a developer's website, there's a reasonable chance it comes as 7z rather than ZIP.

Backup software may create 7z archives when you ask it to compress backups. If you're storing years of files and want to minimize storage space, 7z is an efficient choice. Some cloud storage services and backup tools default to 7z for this reason.

You're less likely to encounter 7z files in everyday consumer use — most businesses and regular file sharing still use ZIP. But if you work with developers, download open-source software, or manage large backups, you'll run into 7z eventually.

Frequently Asked Questions

Can I open a 7z file on my phone?

Android has several apps that open 7z files, including ZArchiver and RAR. iPhone and iPad don't have built-in support, but apps like Archive Utility and iZip can handle 7z files if you download them from the App Store. Most phones make it easier to just ask whoever sent you the file to use ZIP instead.

Is it safe to open a 7z file from the internet?

7z files themselves are safe — they're just containers. The risk is what's inside them. Only extract 7z files from sources you trust, just as you would with any downloaded file. Malware can be hidden in any archive format, so use the same judgment you'd use with ZIP or any other download.

Why would someone send me a 7z file instead of a ZIP?

Usually because the file is large and they want to minimize its size. 7z compresses more efficiently than ZIP, so a 500 MB folder might become 300 MB as 7z but 350 MB as ZIP. For people sending files over slow connections or paying for bandwidth, that difference adds up.

Can I create my own 7z files?

Yes. 7-Zip on Windows, The Unarchiver or Keka on Mac, and the command line on Linux all let you create new 7z archives. Right-click a file or folder, select the option to add it to a 7z archive, and the software handles the rest. This is useful if you're backing up files or preparing something to send to someone else.

What if I can't extract a 7z file?

First, make sure you have the right software installed for your operating system. If extraction still fails, the file may be corrupted or incomplete — try downloading it again if it came from the internet. If the file is password-protected, you'll need the password to extract it. Ask whoever sent it to you for the password or a fresh copy.