How to Automatically Organize Files on Mac (4 Ways)
Automatically organize files on Mac with Stacks, Folder Actions, a macOS 26 Shortcuts automation or a rule-based app. See what each does and how to set it up.
To automatically organize files on a Mac, you need something that watches a folder and moves new files by rules: a Folder Action, a Shortcuts folder automation (macOS 26), or an app such as Hazel or File Arbor. Stacks and Smart Folders only group files. They never move them.
This guide covers all four ways: what each really does, where it breaks, and how to set it up. macOS 26 Tahoe added folder automations to the Shortcuts app, which many older guides do not mention, so it gets its own section.
Can a Mac Organize Files Automatically on Its Own?
Not on its own. macOS has three built-in features that look like organizers, and none of them moves a file.
Stacks group the files on your Desktop into piles by kind, date or tag. New files join the right pile, but they stay on the Desktop. Apple describes them in its guide to organizing files on your desktop. Use Groups does a similar job inside a Finder window: it changes how a folder's contents are arranged on screen, not where anything is stored. Smart Folders are saved searches. They list every file that matches a condition, wherever it lives, and the files stay where they are.
All three are good for finding and viewing. None of them empties Downloads. For a Desktop buried in files, cleaning up Desktop files permanently goes further than Stacks.
4 Ways to Automatically Organize Files on Mac, Compared
Four approaches cover everything from a tidier-looking Desktop to a folder that sorts itself. The sections after the table show how to set each one up.
| Method | Moves files? | Watches a folder | Safe with browser downloads | History / undo | Cost | Setup effort |
|---|---|---|---|---|---|---|
| Stacks and Smart Folders | No | Stacks group new Desktop files; Smart Folders are saved searches | Not applicable, nothing moves | Not applicable | Included with macOS | A minute |
| Folder Actions (Automator) | Yes, once you build the workflow | Yes, when items are added | No, finished downloads are missed | No | Included with macOS | Medium, one workflow per folder |
| Shortcuts folder automation | Yes, once you build the shortcut | Yes, on items added, modified or removed (macOS 26 only) | Not documented | No history or undo | Included with macOS 26 | Medium, one shortcut per rule |
| Rule-based app (File Arbor) | Yes | Yes, with Auto Mode (Pro) | Yes, waits until a file has finished writing | Preview, History and undo | Free plan; Pro $24.99 one-time (Hazel $42 one-time) | Low, rules are set in a form |
Start with the folder that fills fastest. For most people that is ~/Downloads, followed by the Desktop. Decide what should happen to each kind of file there: images to one folder, PDFs to another, installers out. The five starter rules near the end of this guide are a good first list.
Method 1: Stacks and Smart Folders (Built In)
Stacks take a minute to turn on. Click the Desktop, open the View menu in the menu bar and choose Use Stacks. Then choose how to group them: by Kind, Date or Tags. PDFs, images and documents each collapse into a pile, and new files slot into the right one.
For a Smart Folder, choose File → New Smart Folder in Finder, set a condition such as Kind is PDF, and click Save. The Smart Folder shows the matching files whenever you open it.
This is right for how a Desktop looks and wrong for Downloads: the files stay exactly where they are, so the folder is as full tomorrow as today. To move files, you need Method 2, 3 or 4.
Method 2: Folder Actions in Automator
A Folder Action is an Automator workflow that macOS attaches to one folder and runs when items are added to it. Setting one up takes five steps:
- Open Automator, choose New, and pick Folder Action as the document type.
- At the top of the workflow, choose the folder it should watch.
- Add the Filter Finder Items action and set a condition, such as Extension is pdf.
- Add Move Finder Items and choose the destination folder.
- Save the workflow. It now runs whenever something lands in that folder.
That works until the folder is Downloads. Browsers download under a temporary name: Chrome uses .crdownload, Firefox uses .part, and Safari builds a .download package. The Folder Action fires on that unfinished file. When the browser renames it at the end, the rename does not trigger the action again, so the finished download is never moved.
Three more limits:
- Filtering is unreliable. Threads on Apple's support forums report that Filter Finder Items does not always filter the way you set it.
- No history and no undo. Nothing tells you which files the workflow moved or skipped.
- One workflow per folder. Five folders means five workflows to maintain.
Folder Actions are a reasonable fit for a scanner or export folder and a poor one for Downloads. The download problem and its workarounds are covered in moving files from one folder to another automatically.
Method 3: A Shortcuts Folder Automation (macOS 26 Tahoe)
macOS 26 Tahoe added folder automations to the Shortcuts app. It is the built-in route many guides have not caught up with yet:
- Open the Shortcuts app and choose Automation in the sidebar.
- Click New Automation and choose the folder trigger.
- Pick the folder to watch.
- Choose when it runs: when items are Added, Modified or Removed. For sorting, you want Added.
- Choose Run Immediately, or have it ask you first.
- Build the shortcut: repeat with each added file, add an If action that checks whether the file extension is pdf, and inside it add a Move File action that points to the destination folder.
A later Tahoe update added an Ignore subfolders option for the folder trigger, so check for it if the watched folder contains subfolders.
It needs macOS 26. You build and maintain each rule yourself, with one If block per file type. A run gives no preview of what it will do, and there is no history to undo from. Whether it copes with in-progress browser downloads is not documented, so test it with a real download before relying on it. For one folder and a few file types it is a fair built-in option; past that, the upkeep grows.
Method 4: A Rule-Based App to Automatically Organize Files on Mac
A rule-based file organizer is the only way on this list with a preview, a history and rules for many folders. You write a rule once, such as "PDFs go to Documents", and the app applies it to every matching file.
Hazel is the mature Mac-only option. It watches folders, has rich conditions, renames and sorts files by their content, and Hazel 6 reads scanned documents with OCR. It can also match and set Finder tags, which File Arbor cannot. Regex matching needs a shell script. It requires macOS 13 or later and costs $42 one-time ($65 for the Family license), with a 14-day trial.
File Arbor runs on macOS 10.15 and later and on Windows 10 and 11, with the same app and the same rules on both. It is rule-based, with no AI, and processing is fully local: your files and anything about them never leave your Mac. Every run shows a preview first, and History with undo is part of the free plan. For the head-to-head, read File Arbor vs Hazel.
Here is the setup in File Arbor on a Mac, using Downloads:
- Install and add the folder. Get the Mac version from the download page, open it and click Add Your First Folder. Choose
~/Downloads. - Switch on Quick Rules. Click Add Rule on the folder card. The Assign Rules panel lists the built-in Quick Rules. Tick Images and Documents, then click Save. The panel's counter tells you roughly how many files these rules would affect. The free plan allows two rules, so this pair fits exactly.
- Check the preview. What a run does, the preview in the rule editor, lists what will happen to each file before anything moves, and says which files will be left alone and why.
- Click Run. Click Run on the folder card. File Arbor shows what will happen and asks you to confirm. Images then slide into an Images folder and documents into Documents, inside Downloads.
- Open History. Every move is listed with the rule that made it. If a file went somewhere you did not want, undo it from here.
- Switch on Auto Mode (Pro). Click Auto on the folder card. A green dot reads Watching for new files, and each download is sorted as it arrives. Auto Mode waits until a file has finished writing, so half-downloaded files are left alone.
The free plan is one watched folder, two rules, up to 20 files a day, manual runs. It never sorts in the background: you click Run when you want the folder sorted. Auto Mode is part of Pro, which also adds unlimited folders and rules, all conditions (name, regex, size, age and content), values read from documents, and scanned documents read with OCR on your Mac. For a Downloads-only walkthrough, see how to organize your Downloads folder automatically.
What About AI File Organizers for Mac?
AI organizers such as Sparkle let a model choose folders and file names for you. Sparkle is Mac only, needs an account, and processes file names in the cloud. It is sold as a subscription or a lifetime license.
That suits people who do not want to write rules. The trade-off is predictability. A rule does the same thing every time, you can read it back, and the files never leave your Mac. AI file organizers versus rule-based ones compares the two in detail.
Which Automatic File Organizer for Mac Should You Use?
"I only want a tidy-looking Desktop." Use Stacks. It takes a minute and changes nothing on disk.
"One simple folder, no downloads, and I like tinkering." Use a Folder Action in Automator, and accept that there is no history.
"I am on macOS 26 and want a built-in option for one folder." Use a Shortcuts folder automation. Test it with a real download first.
"Downloads, Desktop and more, with a preview and undo." Use a rule-based app. Hazel fits if you are Mac only and want Finder tags or the most mature rule set on the Mac. File Arbor fits if you want a free plan to start with and a one-time $24.99 Pro.
"I also use Windows." Use File Arbor. The same app and the same rules run on both systems.
We compare Mac file organizers app by app in our roundup of the best file organizer software for Mac.
Five Rules Worth Setting Up First on a Mac
- Downloads by type. Send images, documents and archives to their own folders. The Images and Documents Quick Rules cover the first two on the free plan.
- Disk images and installers out of Downloads. Once an app is installed, its
.dmgis dead weight. The Installers Quick Rule catches.dmgfiles so you can empty that folder now and then. - Screenshots off the Desktop. A name rule (Pro) can move them into a Screenshots folder. The screenshots guide shows the full setup.
- PDFs into Documents. One extension rule for
pdf, optionally split by year, keeps statements, tickets and manuals out of Downloads. - Old downloads to the Trash after 30 days. An age condition (Pro) finds files older than 30 days and moves them to the Trash. Moving to Trash is a free action, and anything caught by mistake stays recoverable until you empty the Trash.
FAQ
Can a Mac organize files automatically?
Not on its own. Stacks, Use Groups and Smart Folders only change how files are displayed, and none of them moves a file. To move files automatically you need a Folder Action in Automator, a Shortcuts folder automation on macOS 26, or a rule-based app such as Hazel or File Arbor that watches a folder and moves new files by your rules.
How do I automatically move downloads to folders on a Mac?
Use an app that watches the folder and moves files by rule. In File Arbor, add Downloads as a watched folder, switch on Quick Rules such as Images and Documents, check the preview and click Run. With Pro, Auto Mode sorts each file as it arrives and waits until it has finished writing. Built-in Folder Actions often miss browser downloads.
Why does my Folder Action not work on the Downloads folder?
Because browsers download under a temporary name. Chrome writes a .crdownload file, Firefox a .part file and Safari a .download package, and the Folder Action fires on that unfinished file. When the browser renames it at the end, the action does not run again, so the finished download is missed. Folder Actions suit folders where files arrive complete, such as scanner folders.
What is the best automatic file organizer for Mac?
It depends on what you need. Hazel is the mature Mac-only choice at $42 one-time, with Finder tags and rich conditions. File Arbor runs on Mac and Windows with the same rules, previews every run and has a free plan; Pro is $24.99 one-time. For a single folder on macOS 26, a built-in Shortcuts folder automation works but has no preview or undo.
Does File Arbor work on Mac?
Yes. File Arbor runs on macOS 10.15 and later as well as Windows 10 and 11, with the same app and the same rules on both. It is rule-based, with no AI, and processing is fully local: your files and anything about them never leave your Mac. The free plan covers one watched folder, two rules, up to 20 files a day, manual runs.
The Bottom Line
Stacks tidy a Desktop. Folder Actions suit one simple folder where files arrive complete, and a Shortcuts automation is worth testing on macOS 26. For Downloads and more, with a preview before every run and a History to undo from, use a rule-based app.
Download File Arbor for Mac, add ~/Downloads, switch on the Images and Documents Quick Rules and click Run. The free plan covers one watched folder, two rules, up to 20 files a day, manual runs. When you want files sorted as they arrive, Pro is $24.99 one-time with lifetime updates and a 30-day refund; the pricing page lists the full split.
