QDirStat is a graphical app that shows where disk space went and helps clean it up. It combines a directory tree, colored treemap, and cleanup actions.
Overview
QDirStat visualizes disk usage so you can see which directories and files consume space and act on them. It shows sizes in a traditional tree view and in a treemap where larger files appear as larger rectangles. Colors reflect file types, and selections sync between the tree and treemap. Files can be sent to trash from the interface.
The program is a Qt-only successor to the older Qt3/KDE KDirStat, built on current Qt without KDE libraries. It targets Linux, BSD, and other Unix-like desktops, and can also run in a Docker container. Compared with KDirStat, it adds multi-selection in tree and treemap, user-defined cleanup actions, configurable MIME categories and treemap colors, and package-manager views that tie files to installed packages.
Additional views cover usage by file extension, file size histograms, file age, and per-mount free and used space similar to df. Installable binary packages exist for several Linux distributions, and pre-built macOS binaries are offered through community distributors.
The tool is related to other directory statistics utilities such as KDirStat and WinDirStat, but positions itself as a standalone Qt application focused on interactive cleanup.
Key features
- Tree and treemap disk views
- Multi-selection in tree and treemap
- User-defined cleanup actions
- MIME-based treemap colors
- Linux package ownership views
- File age and histogram views
- Docker container option
- Qt6-based interface
Use cases
- Finding large files and folders
- Cleaning personal or system directories
- Inspecting installed package disk usage