Updated
How to Flatten a Folder on Mac
By Sindre Sorhus, who makes the Supercharge app
With Supercharge
- Open the settings of Supercharge, click “Tweaks”, and click “Configure…” next to “Context menu items”.
- In the “Main Menu” tab, turn on “Flatten Folder”.
- Right-click the folder in Finder, and choose “Flatten Folder”. You can also right-click an empty area in the window of the folder.
- Click “Flatten”.
All the files from all levels of subfolders go into the folder. When two files have the same name, Supercharge adds a number to one of them, so no file is replaced. Apps and other packages move as one item. The empty subfolders are deleted, and you cannot undo it, so make a copy of the folder first if you are not sure.
The item shows only when you select one folder that has files in its subfolders. Supercharge also moves hidden files. The right-click items cannot show in synced folders, like iCloud Drive and Dropbox. There, right-click the folder, and choose
Get Supercharge
Elevate your Mac experience
$20, one-time purchase, plus tax where applicable
- Requires
- macOS 27 or later
- Privacy
- No personal data collected
- License
- All your Macs
- Updated
- November 2026
- Gumroad rating
- 5.0/5 (288 ratings)
Without an app
A search in Finder can find all the files in a folder and its subfolders (Apple’s instructions):
- Open the folder in Finder, and press CommandF.
- Next to “Search:”, click the name of the folder, not “This Mac”, so the search is only in that folder.
- Click the Add button (+) at the right, below the search field. Choose “Kind”, and then a kind of file, like “Document” or “Image”, so the results do not have the subfolders.
- Select all the results with CommandA, and drag them onto the folder in another Finder window.
When a file with the same name is already in the folder, Finder asks what to do. Then delete the empty subfolders yourself. This takes more steps, and it is easy to miss files of another kind.
