Safari unzips .zip and .gz files after downloading. How can I stop this behavior?


In the menu bar, go Safari -> Preferences. In the "General" tab, uncheck "Open 'safe' files after downloading". This will stop Safari from automatically unzipping the files.

alt text

| improve this answer | |
  • 1
    don't know since when it is the case, but for me and a fresh mojave installation the checkbox did not appear. i first had to activate developer options under Advanced > Show Develop menu in menu bar. Afterwards more options appeared on the general tab. – isaias-b Apr 7 '19 at 12:06

Just hold the ⌥ alt button while clicking on the download links.

Tested on OS X Mavericks.

| improve this answer | |
  • Still works fine in Yosemite, and is a useful "I only want to do this occasionally" option. – Matt Gibson Jan 18 '16 at 10:37

In Preferences, at the bottom of the General tab, uncheck the "Open "safe" files after downloading" check box.

| improve this answer | |

Check out this article if you want to keep the "Safe Downloads" behavior but tweak it a little.

| improve this answer | |

You must log in to answer this question.