Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Expand Compressed Files on Mac

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To expand compressed files on a Mac, double-click the archive (like a .zip file) in Finder—it will automatically decompress into a folder with the same name. For other formats like .rar or .7z, you'll need a third-party app such as The Unarchiver. This guide covers built-in tools and free alternatives, plus troubleshooting for common issues.

What You'll Need

  • A Mac running macOS (any recent version works).
  • The compressed file (e.g., .zip, .rar, .7z, .tar.gz).
  • For non-ZIP formats: a free app like The Unarchiver (from the Mac App Store) or Keka (from the official website).

Step-by-Step

  1. Locate the compressed file in Finder. It usually has an icon that looks like a zipped folder or a box with a zipper.
  2. Double-click the file (for .zip files). The Archive Utility will automatically expand it into a folder with the same name, placed in the same directory. If the file is a .tar.gz or .tgz, double-clicking also works—macOS handles these natively.
  3. If double-clicking doesn't work (e.g., for .rar or .7z), right-click (or Control-click) the file and choose Open With > Archive Utility (if available). If not, you need a third-party app.
  4. Install The Unarchiver (free from the Mac App Store) or Keka (free from keka.com). After installing, open the app once—it may ask to set itself as the default for archive types. Confirm if you want it to handle all compressed files.
  5. Double-click the file again—now it should open with the new app. The Unarchiver will extract the contents to a folder in the same location. Keka will also extract, but you can choose the destination in its preferences.
  6. For password-protected archives, you'll be prompted for a password. Enter it to proceed. If you don't have it, you can't extract the file.
  7. If you want to extract to a specific folder, open the third-party app (like The Unarchiver), drag the archive onto its window, and it will extract to the default folder (usually the same location). For Keka, drag the archive onto the Keka icon in the Dock to extract to the same folder, or open Keka and drag the archive into its window to choose a destination.

Common Mistakes

  • Assuming all formats work with double-click: macOS only natively supports ZIP, TAR, GZIP, and BZIP2. For RAR, 7z, and others, you need third-party software.
  • Deleting the original before checking: Always verify the extracted files are complete before deleting the archive.
  • Using the wrong app: Some apps from the App Store are paid or have ads. Stick to reputable free ones like The Unarchiver.
  • Ignoring permissions: If you're extracting to a system folder (like Applications), you might need admin rights. Use your user folder instead.

Tips

  • Set a default app: In Finder, right-click a compressed file, select Get Info, then under Open with, choose your preferred app and click Change All. This makes all similar files open with that app.
  • Use the command line: For quick extraction, open Terminal and type unzip file.zip (for ZIP) or tar -xzf file.tar.gz (for tar.gz). This is handy for power users.
  • Check for malware: Only download archives from trusted sources. After extraction, scan the files with your antivirus if you have one.
  • Keep archives organized: macOS automatically creates a folder for each archive. If you prefer, you can use a tool like Keka to extract to a custom folder each time.

Troubleshooting

If the file doesn't open or shows an error:

  1. Check if the file is corrupted: Try downloading it again. If the download was incomplete, the archive won't extract.
  2. Update your extraction tool: If using a third-party app, make sure it's up to date. Older versions may not support newer compression formats.
  3. Try a different app: If The Unarchiver fails, try Keka or the command line. Sometimes a specific format is handled better by another tool.
  4. Check file permissions: Right-click the archive, select Get Info, and ensure the Sharing & Permissions section shows Read & Write for your user. If not, click the lock and change it.
  5. If the archive is password-protected and you don't know the password: There's no way to extract it without the password. Contact the sender for the password.
  6. If extraction says "disk full": Free up space on your Mac. Archives often expand to much larger sizes than the compressed file.

Frequently Asked Questions

Can I open RAR files on Mac without any app?

No, macOS doesn't natively support RAR. You need a third-party app like The Unarchiver or Keka.

Why does double-clicking a ZIP file sometimes create a folder, sometimes not?

If the ZIP contains a single file, macOS may just extract that file. If it contains multiple files or folders, it creates a folder to hold them.

How do I extract a .tar.gz file?

Double-click it in Finder—macOS handles it natively. Or use Terminal: tar -xzf file.tar.gz.

Is it safe to use free extraction apps?

Yes, if you download from the Mac App Store or the official website. Avoid unknown sources that may bundle malware.

Can I extract files to a different location by default?

Yes, with third-party apps like Keka you can set a default extraction folder in preferences. For built-in Archive Utility, it always extracts to the same folder as the archive.

What if the archive is split into multiple parts (e.g., .zip.001, .zip.002)?

You'll need to combine them first. Some apps like Keka can handle split archives directly if all parts are in the same folder. Otherwise, use a tool like The Unarchiver, which can also handle them.