The Mac Downloads folder is where files go to accumulate. Installers, PDFs, screenshots, ZIPs, image downloads, spreadsheets — they all land in the same flat list. Most people let it grow until it becomes unusable, then spend a Sunday afternoon sorting it manually.
There is a better approach: automatically sort new downloads into organised subfolders by file type. Set it up once and your Downloads folder stays organised on its own.
Why Organise Downloads Automatically?
The key advantage is that the organisation happens at download time — before the files pile up. You do not have to remember to sort anything; the folder rules do it for you. When you need a PDF you downloaded three weeks ago, you look in the PDFs subfolder rather than scrolling through hundreds of mixed files.
Option 1: DownZero — Rule-Based Download Sorting
DownZero is a Mac app that watches your Downloads folder in real time and sorts files the instant they arrive, based on rules you define.
Setting up automatic file-type sorting:
- Open DownZero. It lives in your menu bar.
- Click the DownZero menu bar icon and choose Manage Rules (or open the main window).
- Create a rule for each file type you want to sort. For example:
Rule: PDFs → Documents/PDFs
- Match: File Extension equals pdf
- Action: Move to
~/Documents/PDFs
Rule: Images → Pictures/Downloads
- Match: File Extension is one of jpg, jpeg, png, gif, heic, webp, avif
- Action: Move to
~/Pictures/Downloads
Rule: Installers → Desktop/Apps
- Match: File Extension is one of dmg, pkg
- Action: Move to
~/Desktop/Apps
Rule: Archives → Documents/Archives
- Match: File Extension is one of zip, rar, 7z, tar, gz
- Action: Move to
~/Documents/Archives
- DownZero creates the destination folders automatically if they do not exist.
Once your rules are active, every new download is sorted automatically — no manual action required. DownZero uses FSEvents, the macOS file system notification system, so sorting happens within seconds of a file landing in Downloads.
The Undo button: If a rule moves a file somewhere unexpected, DownZero logs every action. Click Undo in the activity log to move the file back to its original location.
The free tier includes basic rules. A license unlocks all rule conditions (MIME type, source URL, filename patterns), unlimited rules, and undo history.
Option 2: macOS Folder Actions (Built In, Free)
Folder Actions is macOS's built-in automation system that runs scripts when files are added to a folder. It requires more setup than DownZero but is entirely free.
Setting up a Folder Action
- Right-click the Downloads folder in Finder.
- Choose Folder Actions Setup…
- Enable Folder Actions if not already on.
- Attach an AppleScript or Automator workflow to the Downloads folder.
You'll need to write or find an AppleScript that moves files by extension. Here is a basic example:
on adding folder items to theFolder after receiving addedItems
repeat with anItem in addedItems
set fileExt to name extension of (info for anItem)
if fileExt is "pdf" then
move anItem to folder "Documents:PDFs" of home
else if fileExt is in {"jpg", "png", "heic"} then
move anItem to folder "Pictures:Downloads" of home
end if
end repeat
end adding folder items to
Folder Actions is reliable for basic sorting but requires writing and maintaining the script yourself. Adding new file types or changing destinations means editing the script.
Option 3: Hazel (Third-Party Automation)
Hazel is a well-established Mac automation app ($42) that provides rule-based file organisation with a graphical rule builder — more powerful than Folder Actions, more complex than DownZero. It is a good option if you want to organise multiple folders beyond Downloads, or build complex multi-step rules.
Suggested File Type Organisation
A straightforward organisational scheme for a Downloads auto-sort:
| File Types | Destination |
|---|---|
| ~/Documents/PDFs | |
| jpg, jpeg, png, gif, heic, webp | ~/Pictures/Downloaded |
| dmg, pkg | ~/Desktop/Installers |
| zip, rar, 7z, tar, gz, bz2 | ~/Documents/Archives |
| mp4, mov, mkv, avi | ~/Movies/Downloaded |
| mp3, m4a, wav, flac | ~/Music/Downloaded |
| docx, xlsx, pptx, doc, xls | ~/Documents/Office |
| csv, json, xml | ~/Documents/Data |
Start with the file types you download most. You do not need to cover every extension — leaving uncommon types in Downloads is fine.
What Happens to Files Already in Downloads?
Automatic rules only process new downloads. To organise files already in your Downloads folder, you can either:
- Sort them manually (drag into subfolders)
- Use DuplicateZero to remove duplicates first, then sort the remainder
- Run a one-time Automator workflow over the existing folder
FAQ
Will sorting files break anything? Moving files does not change their contents. If another app is expecting to find a file in Downloads (for example, a browser's download manager), it may not find it after the move. For most files, this has no practical effect.
What if a download is incomplete when DownZero sees it?
DownZero and macOS Folder Actions both react to files appearing in the folder. Most browsers write to a temporary file (ending in .crdownload, .download, or similar) until the download completes, then rename it to the final name. DownZero watches for the rename event, so it processes completed files rather than partial ones.
Can I sort by source website, not just file type? DownZero supports matching by source URL as a rule condition — so you can send files downloaded from specific domains to specific folders.
Does this work with Safari's Downloads, not just the Downloads folder?
Safari (and other browsers) save to your designated Downloads folder. If that is ~/Downloads, rules applying to that folder will capture browser downloads.
Summary
Automatically sorting your Downloads folder by file type is one of the highest-leverage Mac organisation habits you can set up. DownZero makes it easy with a graphical rule builder, real-time sorting, and undo. macOS Folder Actions is a free alternative for those comfortable with scripting.
Browse more productivity guides in the Productivity category.