When downloading files using Safari on macOS, you may notice that compressed ZIP archives immediately unarchive into folders, PDFs launch automatically in Preview, and audio files begin playback immediately. While Apple designed this “Open ‘safe’ files after downloading” behaviour as a convenience, it can quickly clutter your Downloads directory with unexpected unzipped folders and present minor security risks if untrusted web archives launch automatically. Disabling this setting gives you complete control over when downloaded files are opened.
What Apple Considers “Safe” Files
Under Safari’s default configuration, macOS automatically opens the following file categories upon completed transfer:
- Compressed Archives: ZIP files, tar archives, and gzip files (which automatically expand into extracted folders).
- Document Formats: Plain text files (.txt), PDF documents, and basic HTML pages.
- Multimedia: Audio files, images, and movie clips.
While executable applications (.app) and disk images (.dmg) are never opened automatically, automatically expanding archives can allow malicious scripts packaged inside to establish presence on your Mac before you have inspected the downloaded contents.
Step-by-Step: Disabling Automatic File Opening
Disabling this feature takes only a few seconds through Safari’s general preferences:
1. Open Safari Settings
Launch Safari on your Mac. In the macOS menu bar at the top of the display, click on Safari and select Settings… (or press Cmd + ,).
2. Access the General Tab
In the settings dialogue window, ensure the General tab is selected (represented by a light switch icon in the top-left corner).
3. Untick Safe Files Option
Look at the very bottom of the General settings panel. Locate the checkbox titled Open “safe” files after downloading.
Click the checkbox to untick it (leave it empty).
4. Close Settings
Close the Settings window. The change takes effect immediately.
How Downloads Behave Once Disabled
Future downloads will now land quietly inside your designated Downloads folder in their original compressed or document state. ZIP files remain neat single archives, and media files will not interrupt your current desktop work with unexpected application pop-ups.
Disabling automatic file launching enhances your Mac’s security posture and ensures your local file system remains clean and organised.