Instructions in this article apply to Safari for Mac and the last supported version for Windows.

One option controls this behavior, and it’s easy to turn off from Safari’s prefs.

With the net internet ride open, click theSafarimenu and selectSettingsorPreferences.

Safari on a Mac with the Preferences menu item highlighted

TheCommand+commashortcut works, too.

Clear theOpen “safe” files after downloadingcheckbox.

kill the window to save.

Safari preferences on a Mac with the General tab highlighted

This option inserts an extra step to consider if you want a file on your setup.

Click theGearicon and choosePreferencesfrom the menu.

Clear theAlways prompt before downloadingcheckbox.

Safari General settings with the “Open ‘safe’ files automatically” box highlighted

Checking this box means that Safari will ask if you want to download a file.

Which Files Does Safari Consider Safe?

Safari contains a default feature that opens all files it considers safe when the download is finished.

The Safari menu on Windows

Although it is convenient while enabled, this feature may adversely affect your online security.

Settings for Safari in Windows with the General tab highlighted

General settings for Safari in Windows with the Always prompt before downloading box highlighted