A Windows desktop app (Python + Tkinter) that automatically sorts files and folders into an alphabetised A-Z destination structure — with zip extraction, duplicate handling, per-letter limits, and a colour-coded activity log.
Version: 1.9
Point it at one or more source folders, pick a destination, and it sorts every top-level file and folder into a subfolder named after its first letter:
Source\Photos2023 -> Destination\P\Photos2023
Source\report.docx -> Destination\R\report.docx
Source\123_data.csv -> Destination\#\123_data.csv
Only items sitting directly inside a source folder are processed — nested subfolders are moved as a whole, not individually re-sorted.
- Multiple source folders — add one at a time with the native folder picker, or use the built-in multi-select browser (Ctrl/Shift-click) to add several at once. Remembers the last folder you browsed from.
- Automatic zip extraction — any
.zipsitting in a source folder is extracted into a folder of the same name and then deleted, before the normal sort runs. - Duplicate handling — when an item already exists at the destination, choose Skip, Overwrite, Auto-Rename, or Cancel, with an option to apply your choice to all further conflicts in the run. Auto-rename appends
- COPY (1),- COPY (2), etc. Default behaviour can also be preset in File Handling Behavior so you're never prompted. - Per-letter object limits — cap how many items go in each letter folder; once full, spillover folders are created automatically (
A,A-1,A-2...), correctly accounting for items already there from previous runs. - Keep Source — copy instead of move, leaving originals in place (zip files are always deleted once successfully extracted, regardless of this setting).
- Dry Run mode — simulate a full run and see exactly what would happen without touching any files.
- Don't create empty letter folders — only creates a letter folder at the moment something is actually placed in it.
- Non-ASCII folding — accented letters (e.g. Å, É) fold to their nearest A-Z letter instead of falling into
#. - Scan Subfolders — browse any folder and see an object count for each of its subfolders, with an optional threshold to highlight oversized ones in red.
- Pause / Resume / Cancel, with a warning if you try to close the app mid-run.
- Colour-coded activity log — failed (red), moved (green), skipped (orange), overwritten (purple), renamed (magenta), extracted (brown), info (blue).
- Optional log file written to
organiser.login your home folder. - Settings (sources, destination, and all options) are remembered between runs.
- Windows
- Python 3 (only needed if building from source — the packaged
.exeis standalone)
No third-party Python packages are required to run the script itself — it only uses the standard library.
- Make sure
FolderOrganiser.py,icon.ico,version_info.txt, andbuild.batare all in the same folder. - Double-click
build.bat. It will:- Check Python is installed
- Install PyInstaller if it isn't already present
- Clean up any previous build
- Build
dist\FolderOrganiser.exewith the icon and version info baked in
- Run
dist\FolderOrganiser.exe— it's a single standalone file, no installation needed.
See build.bat for the exact PyInstaller command if you'd rather run it manually.
python FolderOrganiser.py
Settings are stored in .folderorganiser.json in your home folder and are loaded automatically the next time you open the app.
FolderOrganiser.py Main application
icon.ico App icon
version_info.txt PyInstaller version resource
build.bat Build script
README.md This file
Concept by Mike Paull, August 2026 Code by Claude
Add your preferred license here (e.g. MIT, GPL-3.0).