
Quick Answer
You can create a macOS Shortcut that finds files in your Downloads folder and moves them into folders such as Images, Documents, PDFs, and Archives.
What the Shortcut Can Do
A Downloads organizer can:
- Find files in your Downloads folder
- Filter files by type, name, extension, or date
- Move images, documents, PDFs, videos, and archives into separate folders
- Create destination folders if they do not already exist
- Run manually from the Shortcuts app, the menu bar, Finder, or a keyboard shortcut
- Run automatically on a schedule
Shortcuts moves files rather than copying them. Once a file is moved, it will no longer appear in its original location. The shortcut does not automatically understand every file type, so you must decide which extensions or categories it should process.
Warning: Test the shortcut with copies or a small group of files first. A move action changes the location of files, and an incorrectly configured filter could move more files than intended.
Prepare Your Downloads Folder
Before creating the shortcut, decide how you want your files organized. A simple structure might include:
ImagesDocumentsPDFsVideosArchives
You can create these folders directly in Finder:
- Open Finder.
- Select Downloads in the sidebar.
- Press Shift-Command-N or choose File > New Folder.
- Enter a folder name, such as
Images. - Repeat for the other categories.
Creating the folders first makes the shortcut easier to build. It also lets you confirm that the destination names are correct.
Avoid moving folders themselves unless you specifically want to reorganize nested folders. The instructions below focus on files downloaded to the main Downloads folder.
Create a Shortcut for Downloaded Images
The most reliable approach is to create one shortcut for one category. You can then duplicate it and change the filter and destination for other file types.
Add the file search action
- Open the Shortcuts app. You can find it in the Applications folder or open it with Spotlight.
- Click the New Shortcut button in the upper-right corner.
- Click the shortcut name at the top and enter a name such as
Organize Downloaded Images. - Click Add Action.
- Search for
Find Files. - Select Find Files from the results.
The action searches for files using conditions that you specify.
Limit the search to Downloads
Configure the Find Files action so it searches only the main Downloads folder:
- Click Add Filter in the action.
- Click the first filter field and choose Folder.
- Click the next field and choose is.
- Click the folder field that appears, choose Other, and select your Downloads folder.
- If the action includes a sorting or limit option, leave it unchanged for now.
The exact layout of the action can vary slightly depending on the version of macOS. The important part is that the search location is set to Downloads rather than This Mac.
Filter by image file extensions
Add another filter to prevent unrelated files from being moved:
- Click the Add Filter button again.
- Set the new condition to File Extension.
- Choose is and enter
jpg. - Add additional conditions for other image extensions, such as:
–jpeg
–png
–gif
–heic
–webp - If Shortcuts asks whether all or any conditions should match, choose the option equivalent to any for the extension conditions.
You want the file to be inside Downloads and to have one of the listed image extensions. If your version of Shortcuts does not make multiple extension conditions easy to combine, create one shortcut per extension or use a Repeat with Each workflow with separate searches.
File extensions are the letters after the final period in a filename. For example, vacation.png has the extension png.
Add the move action
- Search for the Move File action.
- Add it below Find Files.
- In the Move File action, choose the
Imagesfolder inside Downloads as the destination. - If the action offers an option to replace an existing file, do not enable it unless you intentionally want files with matching names to be overwritten.
The shortcut now finds matching image files and moves them into Downloads/Images.
Test the shortcut
Before using it on a large collection:
- Place two or three test images in Downloads.
- Click the Run button in the shortcut editor.
- Open Downloads and confirm that only the intended images moved.
- Open the Images folder and verify that the files are present.
- Check that unrelated files stayed in Downloads.
If the shortcut moves the wrong files, stop testing and review the filters before running it again.
Create Categories for Documents, PDFs, and Other Files
After the image shortcut works, you can create additional organizers.
Duplicate the existing shortcut
Duplicating the working shortcut is faster than rebuilding it:
- In the Shortcuts app, Control-click the image shortcut.
- Choose Duplicate Shortcut.
- Rename the duplicate, such as
Organize Downloaded PDFs. - Edit the file extension filter.
- Change the destination in Move File.
Use these common extensions as starting points:
| Category | Example extensions | Destination |
|---|---|---|
| PDFs | pdf |
PDFs |
| Documents | doc, docx, rtf, txt, pages |
Documents |
| Spreadsheets | xls, xlsx, csv, numbers |
Spreadsheets |
| Presentations | ppt, pptx, key |
Presentations |
| Videos | mov, mp4, m4v, avi |
Videos |
| Archives | zip, rar, 7z, tar, gz |
Archives |
Use lowercase extensions in your filters, but test files with uppercase extensions as well. Some file systems or downloaded filenames may use capitalization. If a filter does not catch those files, add matching uppercase extensions or use a file-type filter instead.
Use broader file types when appropriate
In some versions of Shortcuts, Find Files lets you filter by a general type, such as images, PDFs, or documents. A general type filter can be easier than listing extensions, but it may classify files differently from what you expect.
For predictable results, extensions are usually better when you know the exact file formats you want to process.
Prevent Files from Being Moved Twice
A simple organizer searches Downloads and moves matching files into subfolders within Downloads. Because the search is limited to the main Downloads folder, files already inside Downloads/Images or Downloads/PDFs should not be selected.
To make this behavior clearer:
- Ensure the search location is the Downloads folder itself.
- Do not choose an option that searches subfolders recursively, if one is available.
- Test the shortcut after moving a file.
- Run it again and confirm the already-organized file does not move again.
If your setup searches all folders inside Downloads, add a condition that excludes the destination folders or change the search scope to the top-level Downloads folder.
Add a Confirmation Before Moving Files
A confirmation step is useful if you download many different kinds of files or share the Mac with other users.
- Add an action such as Quick Look or Show Result between Find Files and Move File.
- Review the files returned by the search.
- Add an Ask for Confirmation action if it is available in your version of Shortcuts.
- Place the confirmation before Move File.
- Configure the shortcut to continue only when you approve the prompt.
This adds an extra step, but it gives you a chance to cancel when the search finds an unexpected file.
Another safe option is to create a shortcut that only finds and displays matching files. Once you are satisfied with its results, add the move action.
Run the Downloads Organizer
You can run a shortcut in several ways.
Run it from Shortcuts
Open Shortcuts, select the shortcut, and click the Play button. This is the easiest method while you are testing.
Add it to the menu bar
- Open the shortcut in Shortcuts.
- Click the Details button.
- Enable Pin in Menu Bar, if available.
- Use the Shortcuts icon in the menu bar to run it later.
Assign a keyboard shortcut
- Open the shortcut’s Details.
- Look for the keyboard shortcut option.
- Assign a key combination that you will remember.
- Avoid a combination already used by macOS or another app.
You can also place the shortcut in the Dock by dragging it from Finder after using File > Add to Dock, when that option is available.
Schedule it to run automatically
You can use a personal automation in Shortcuts to run an organizer on a schedule. For example, you might run it once each evening rather than every time a file downloads.
Open Shortcuts, choose Automation, create a new automation, select a time-based trigger, and choose the organizer shortcut as the action. Automatic runs may still require permission or confirmation depending on the actions used and your macOS settings.
If you want a more detailed scheduled setup, see How to Schedule a Shortcut to Run Automatically on a Mac.
Handle Duplicate Filenames Carefully
Two downloaded files can have the same name. Browsers often avoid conflicts by adding a number, but other apps may use a replacement or conflict prompt.
Before enabling any option that replaces existing files:
- Create a test folder with duplicate filenames.
- Run the shortcut.
- Confirm whether Shortcuts keeps both files, asks what to do, or replaces one.
- Leave replacement disabled unless you have a backup and deliberately want that behavior.
A safer organization system uses unique destination folders or keeps files separated by date. Avoid adding deletion actions to this shortcut. Moving and deleting are different operations, and deleting files can make recovery more difficult.
Troubleshooting
The shortcut does not find any files
Check the search location first. In Find Files, make sure the folder is your actual Downloads folder, not a similarly named folder.
Then check the filter:
- Confirm the extension is spelled correctly.
- Remove extra filters temporarily.
- Test with one known file.
- Check whether the filename uses an uppercase extension.
- Make sure the search is not limited to a date range or file size.
The shortcut moves the wrong files
The filters may be joined with the wrong logic. If you list several extensions, the shortcut should match any one of those extensions while still requiring the file to be in Downloads.
Remove the file extension conditions and test the folder condition alone. Then add the extension conditions back one at a time.
Files are moved into the wrong folder
Open the Move File action and verify its destination. If you duplicated a shortcut, the copied action may still point to the original category.
Select the destination folder again rather than relying on a folder name that may have changed.
The shortcut stops at Move File
Shortcuts may need permission to access files and folders. Run the shortcut manually and approve any prompt that appears. If it still stops, check that the destination folder exists and that you can move a file into it manually in Finder.
For more targeted steps, see How to Fix a Mac Shortcut That Stops at a Specific Action.
The shortcut asks for permission every time
macOS may request access when a shortcut reads or moves files. Approve the prompt when you trust the shortcut and its actions. If you imported the shortcut from elsewhere, review every action before allowing it to run.
Do not approve a shortcut that contains unfamiliar actions, especially actions that delete files, run shell commands, or send data.
An imported shortcut will not run
Shortcuts obtained outside the Shortcuts app may be treated as untrusted. Review the shortcut carefully before changing security settings or allowing it to run. You can find relevant steps in How to Allow an Untrusted Shortcut to Run on a Mac.
Frequently Asked Questions
Can a Mac automatically organize every download?
Yes. You can schedule a shortcut to run at a chosen time, but Shortcuts does not necessarily process a file at the exact moment it finishes downloading. A scheduled shortcut is often more reliable than trying to trigger an action for every individual download.
Will this shortcut organize files in subfolders?
Not necessarily. Configure the search to target the top-level Downloads folder if you do not want it to process files already inside category folders. Searching recursively can include files in subfolders.
Can I organize files by date instead of type?
Yes. Add a date condition to Find Files, such as files created or modified within a particular period, and move them to a folder that represents a month or project. Test date filters carefully because downloaded files may retain dates from their source or use the download date differently than expected.
Can the shortcut delete files after organizing them?
It can, but adding deletion is risky and usually unnecessary. Move files into review or archive folders instead. If you do add a deletion action, place a confirmation before it and test with disposable files.
Can I use one shortcut for every file type?
Yes, but a single complex shortcut is harder to test. Separate shortcuts for images, PDFs, documents, and archives are easier to understand and troubleshoot.
Final Thoughts
The safest Downloads organizer is simple: search only the main Downloads folder, filter for a specific category, and move matching files into a prepared subfolder.