Windows-focused file automation that organizes Desktop, Downloads, and any folder into 11 clean categories. Built to clean up my own cluttered Downloads folder — and I still use it daily.
Current Version: v3.2 - PySide6 GUI
One file, zero setup. Download and double-click.
pip install PySide6
python Organize-PySide6.pypython Organize-PySide6.py --watch
python Organize-PySide6.py --auto 60
python Organize-PySide6.py --downloads
python Organize-PySide6.py --desktop
python Organize-PySide6.py --both- Dark GUI + Drag & Drop - Drop any folder to organize it
- Live Watch - Organizes new files automatically
- Auto Organize - Every X minutes, works together with Watch
- History + Undo - Every operation is logged in SQLite and can be undone
- Dry-run Preview - See what will happen before moving anything
- System Tray + Start with Windows
- Right-Click Integration - Right-click any folder -> Organize
- Safe - No overwrite, skips protected and hidden files
- Smart Paths - Works correctly with OneDrive and moved folders
- English / Arabic
| Folder | Extensions |
|---|---|
01_PDFs |
.pdf |
02_Documents |
.doc, .docx, .odt, .rtf, .txt |
03_Sheets |
.xls, .xlsx, .csv, .ods |
04_Presentations |
.ppt, .pptx, .odp |
05_Images |
.jpg, .jpeg, .png, .gif, .bmp, .svg, .webp, .ico |
06_Archives |
.zip, .rar, .7z, .tar, .gz |
07_Programs |
.exe, .msi, .dmg, .apk |
08_Videos |
.mp4, .mkv, .mov, .avi, .wmv |
09_Code |
.py, .js, .ts, .java, .cpp, .html, .css, .json, .yml, .sql, .sh, .ipynb + 20 more |
10_Shortcuts |
.lnk, .url |
11_Others |
everything else |
get_unique_path()->file.txt->file (1).txt- No overwrite- Skips itself, skips already-organized folders (
00_*,01_*...) - Protected paths blocked:
C:\, Home,Windows,Program Files - Skips
desktop.ini,Thumbs.db, hidden + system files
This project was built in stages. Every stage is preserved in legacy/:
legacy/v1-downloads/Organize-Downloads.py- Organizes Downloads onlylegacy/v1-desktop/Organize-Desktop.py- Organizes Desktop only
legacy/v2-all/Organize-All.py- Interactive menu, choose the folder, Preview, Right-Click for the first time
Organize-PySide6.py- Full GUI, Watch, Auto, History, Undo
See CHANGELOG.md for full details.
file-organizer-with-python/
├── Organize-PySide6.py # v3.2 - Current - GUI
├── README.md
├── CHANGELOG.md
├── LICENSE
└── legacy/
├── v1-downloads/
│ └── Organize-Downloads.py # v1 - Downloads only
├── v1-desktop/
│ └── Organize-Desktop.py # v1 - Desktop only
└── v2-all/
└── Organize-All.py # v2 - Interactive menu
MIT License - see LICENSE Copyright (c) 2026 Omar Khatab
Omar Khatab
- GitHub: @omar-khatab
Built for myself, shared for everyone. If it saved you 5 minutes, give it a star!