58

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

4 Answers4

83

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.

Safari Settings, General tab

Ezekiel
  • 9,125
Kyle Cronin
  • 23,242
  • 21
  • 83
  • 143
  • 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 07 '19 at 12:06
  • This is a workaround with side effect: all opening of files after download becomes disabled. A full solution without side effects given by @redochka: hold ⌥ alt when clicking to download. See https://apple.stackexchange.com/a/115634/330523 – Cornelius Roemer Oct 23 '22 at 15:01
27

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

Tested on OS X Mavericks, Big Sur, Monterey. Still works in October 2022.

Cornelius Roemer
  • 260
  • 1
  • 11
redochka
  • 371
2

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

Henry
  • 884
  • 4
  • 9
1

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

segiddins
  • 1,359