Opening a compressed file depends on what's inside and what operating system you use

Most compressed files open with a single click or double-click, using software that's already built into your computer. Windows, Mac, and Linux all come with built-in tools that handle the most common compressed formats — .zip files especially. If you're stuck, it's usually because the file format is less common, the software isn't installed yet, or you're looking in the wrong place for the extracted contents.

The process is straightforward once you know which tool to use and where to find your files afterward. This guide walks you through opening compressed files on each operating system, what to do when the built-in tools don't work, and how to find your extracted files.

Key Takeaways

  • Windows and Mac both open .zip files automatically when you double-click them; no separate software needed for the most common format.
  • The extracted files appear in a new folder in the same location as the compressed file, not inside it.
  • Formats like .rar, .7z, and .tar.gz require third-party software because Windows and Mac don't include built-in support.
  • If a compressed file won't open, check the file extension first — it tells you exactly what format you're dealing with.
  • On Mac, if nothing happens when you double-click, try right-clicking and selecting "Open With" to choose extraction software manually.

Opening .zip files on Windows

Windows 10 and Windows 11 both include built-in support for .zip files. To open one, locate the .zip file on your computer, then double-click it. A new window opens showing the contents inside the compressed file — but these are still compressed. You're not actually using the files yet; you're just looking at what's in the archive.

To actually use the files, you need to extract them. Right-click inside the window showing the compressed contents, then select "Extract All" from the menu. Windows asks you where to save the extracted files. By default it suggests a new folder with the same name as the .zip file, placed in the same location. Click "Extract" and Windows unpacks all the files. Once extraction finishes, you'll have a new folder containing the actual usable files.

If you don't see "Extract All" when you right-click, your .zip file may be corrupted or Windows may not recognize it as a .zip file. Check the filename — it should end in .zip. If it does and extraction still doesn't work, try opening it with a third-party tool like 7-Zip (free, downloadable from 7-zip.org) or WinRAR.

Opening .zip files on Mac

Mac automatically extracts .zip files when you double-click them. You don't need to do anything else — the extraction happens in the background, and a new folder appears in the same location as the .zip file. The extracted folder contains your actual files, ready to use. The original .zip file stays where it was.

If double-clicking doesn't work, the file may be corrupted or Mac may not recognize the format. Try right-clicking the .zip file and selecting "Open With," then choose "Archive Utility" from the list. If Archive Utility isn't available, you can download free extraction software like The Unarchiver from the Mac App Store, then right-click and open the file with that program instead.

Opening other compressed formats (.rar, .7z, .tar.gz)

Windows and Mac don't include built-in support for .rar, .7z, or .tar.gz files. You'll need to download third-party software. On Windows, 7-Zip (free) and WinRAR (paid, with a free trial) both handle these formats. On Mac, The Unarchiver (free, from the Mac App Store) works with most formats. On Linux, the command line is usually fastest — use tar -xzf filename.tar.gz for tar files, or install p7zip for .7z files.

Once you've installed the software, right-click the compressed file and select "Open With," then choose your extraction program. The software extracts the files to a new folder in the same location. Some programs let you choose where to extract; others do it automatically. Check the program's settings or help menu if you're unsure where your files ended up.

Finding your extracted files

After extraction, look in the same folder where the compressed file was located. You'll see a new folder with a name matching the compressed file — for example, if you extracted "photos.zip," you'll see a folder called "photos" or "photos-extracted." Open that folder to access your actual files.

If you can't find the extracted folder, open your file manager (File Explorer on Windows, Finder on Mac) and search for the folder name. You may have accidentally extracted to a different location, or the extraction software may have placed it somewhere unexpected. Check your Downloads folder first — many programs default to extracting there if you don't specify a location.

What to do when extraction fails

If a compressed file won't open or extraction stops partway through, the file is likely corrupted. Try downloading it again from the source — the file may have been damaged during download. If you're extracting from email, try saving the file to your computer first, then extracting it, rather than extracting directly from the email attachment.

If the file downloads successfully but still won't extract, try a different extraction program. Some programs handle damaged files better than others. 7-Zip on Windows and The Unarchiver on Mac are both good at recovering partial or slightly corrupted archives. If nothing works, contact whoever sent you the file and ask them to send it again or use a different format.

Extracting multiple compressed files at once

If you have many .zip files to extract, you can select them all and extract them together. On Windows, hold Ctrl and click each file to select multiple .zip files, then right-click and select "Extract All." Windows extracts each one to its own folder. On Mac, select multiple .zip files the same way (using Cmd instead of Ctrl), then double-click any one of them — Mac extracts all of them automatically.

For other formats like .rar or .7z, the process depends on your extraction software. Most third-party programs let you select multiple files and extract them in batch, but check your program's menu to confirm. This saves time if you're working with dozens of compressed files.

Frequently Asked Questions

Can I use the files while they're still compressed?

No. Compressed files are archives — they're like sealed containers. You must extract them first to access the actual files inside. Some programs let you preview files without extracting, but you can't edit or run them until they're extracted.

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

No. Once you've extracted the files, you can delete the .zip file if you want. The extracted files are now separate and complete. Keep the .zip only if you want a backup copy or need to send it to someone else.

What if the extracted folder is empty?

The compressed file may be corrupted, or extraction may have failed silently. Try extracting again with a different program. If it's still empty, download the file again from the source. If you're extracting from email, save the attachment to your computer first, then try extracting.

Why does my antivirus software warn me about a compressed file?

Compressed files can contain malware, so antivirus programs scan them carefully. If the warning appears, the file may be unsafe. Only extract files from trusted sources. If you trust the source and the warning persists, contact whoever sent you the file to confirm it's legitimate.

Can I create my own compressed files?

Yes. On Windows, right-click a file or folder and select "Send To" then "Compressed (zipped) Folder." On Mac, right-click and select "Compress." Both create a .zip file. Third-party software like 7-Zip and The Unarchiver also let you create compressed files in other formats.