Qdirstat / Guides / Comparison

Qdirstat vs WinDirStat, Baobab, ncdu and Filelight

By the Qdirstat Guides TeamUpdated 3 December 20267 min read
Hard drive platter, NVMe board and portable solid-state drive side by side

Qdirstat combines a directory tree, treemap, cleanup actions and information about installed packages. The best comparison starts with the task you need to complete, such as locating a large file, attributing space to packages or inspecting a remote machine. WinDirStat, Baobab, ncdu and Filelight offer different interfaces and platform support. Use these practical examples to decide when Qdirstat suits your workflow.

The Tools at a Glance

ToolPlatformInterfaceVisualisation
QdirstatLinux, BSD, Unix-like, macOS (build)Qt GUISorted tree plus cushion treemap
WinDirStatWindowsWindows GUISorted tree plus treemap
BaobabLinux (GNOME)GTK GUITree plus rings or treemap-style chart
ncduLinux, BSD, macOSTerminalSorted text list
FilelightLinux (KDE), othersQt / KDE GUIConcentric radial rings

Qdirstat: The Feature-Rich Linux Analyser

Qdirstat combines a detailed, sortable directory tree with a cushion-shaded treemap that stays synchronised with it. Beyond those two views, it offers features rarely found elsewhere: a package view grouping usage by installed dpkg, rpm or pacman package, an unpackaged files view, file type and file age statistics, a Discover menu for largest, newest and oldest files, a mounted filesystems overview, exclude rules, cache files for remote servers and fully configurable cleanup actions.

Best for: Linux users and administrators who want both a visual overview and powerful follow-up tools in one application.

Qdirstat vs WinDirStat

WinDirStat and Qdirstat are close relatives. WinDirStat was inspired by KDirStat, the predecessor of Qdirstat, so both share the same core design: a directory list above a coloured treemap, with colours for file types and cleanup actions for selected items. Anyone who knows one will understand the other immediately.

The key difference is platform. WinDirStat is built for Windows and understands Windows drives natively, while Qdirstat is built for Linux and Unix and understands Unix permissions, hard links, sparse files, mount points and Linux package managers. WinDirStat has been modernised in recent releases and remains actively maintained.

  • Choose WinDirStat when analysing a Windows computer directly.
  • Choose Qdirstat on Linux, inside WSL for Linux data, or when you need the package view and Unix-specific details.

Qdirstat vs Baobab (Disk Usage Analyzer)

Baobab is the disk analyser bundled with GNOME, often installed by default on Ubuntu and Fedora Workstation. It presents a clean, friendly interface with a list of folders and a chart that can show concentric rings or a treemap-like view. It is excellent for a quick look and fits GNOME’s design perfectly.

Qdirstat offers far more depth. Its tree has more columns, its treemap shows individual files with type colours, and its cleanup actions, package view, statistics windows and Discover menu go well beyond Baobab’s scope.

  • Choose Baobab for a simple, built-in check on a GNOME desktop.
  • Choose Qdirstat when you need to investigate thoroughly and act on what you find.

Qdirstat vs ncdu

ncdu, short for NCurses Disk Usage, is a fast terminal tool that scans a directory and presents a navigable list sorted by size. It runs over SSH, needs no graphical environment and lets you delete files with a keystroke. It is a favourite of system administrators for good reason.

Qdirstat and ncdu complement each other. ncdu is ideal for a quick look on a remote server. Qdirstat offers the treemap, which reveals the overall distribution of space and patterns such as many small files that a list cannot convey as clearly. Qdirstat can also analyse remote servers through cache files produced by its qdirstat-cache-writer script or through Docker.

  • Choose ncdu for fast terminal checks over SSH.
  • Choose Qdirstat for visual analysis, reports to colleagues and richer statistics.

Qdirstat vs Filelight

Filelight, part of the KDE application family, displays disk usage as concentric rings. The centre represents the scanned folder, and each ring outward represents a deeper level, with segment angles proportional to size. It is visually striking and intuitive for exploring the hierarchy.

Radial charts make it harder to compare items at different depths because outer segments look larger than inner segments of the same angle, and small files become very thin slices. Qdirstat’s treemap avoids this problem because area maps directly to size regardless of depth. Qdirstat also provides more columns, statistics and cleanup options.

  • Choose Filelight if you prefer radial visualisation within KDE.
  • Choose Qdirstat for precise size comparisons and broader tooling.

Feature Comparison

FeatureQdirstatWinDirStatBaobabncduFilelight
Treemap of individual filesYesYesPartialNoNo
File type coloursYesYesNoNoNo
Package viewYesNoNoNoNo
Custom cleanup actionsYesYesNoDelete onlyNo
File age statisticsYesNoNoNoNo
Works over SSH without GUIVia cache files or DockerNoNoYesNo
Native WindowsNoYesNoNoLimited
Open sourceYesYesYesYesYes

Performance and Scale

Speed matters when you analyse large filesystems. All of these tools must read directory metadata for every file, so the storage device and the number of files dominate scan time. On a fast SSD, Qdirstat, Baobab and ncdu all scan a typical home directory within seconds. Qdirstat reads directories in parallel, which helps considerably on modern multi-core systems.

Memory use is the other factor. A graphical analyser that keeps a complete tree in memory to draw a treemap needs more RAM than a terminal tool that only lists totals. For tens of millions of files, Qdirstat benefits from a few gigabytes of free memory, while ncdu remains lean. In practice, scanning a specific directory rather than an entire multi-terabyte array keeps any of these tools responsive.

Network storage is a special case. Reading metadata over NFS or SMB is slow for every tool. Qdirstat’s answer is the cache file approach: run qdirstat-cache-writer on the server, where disk access is local and fast, then open the resulting file on your desktop. This combines the speed of a local scan with the full Qdirstat interface.

Real-World Scenarios

A Developer’s Laptop Running Out of Space

Qdirstat quickly reveals dependency folders, virtual environments, container layers and build directories spread across many projects. Its custom cleanup actions can remove node_modules or run git gc with one selection, which no other tool here matches as conveniently.

A Production Server with a Full /var Partition

Over SSH, ncdu gives the fastest first answer. If the cause is not obvious, a Qdirstat cache file provides a visual follow-up and helps explain the situation to the rest of the team.

A Family Windows PC

WinDirStat or WizTree is the right choice here. Installing WSL only to run Qdirstat would be unnecessary effort for a simple cleanup.

A GNOME Desktop User Who Wants a Quick Look

Baobab is already installed and perfectly adequate. If the user later needs to understand which packages consume space or wants a file-level treemap, Qdirstat is the natural next step.

Other Tools Worth Knowing

A few other utilities deserve a mention. dust and gdu are modern terminal analysers written in Rust and Go, offering very fast scans and colourful text output. WizTree on Windows reads the NTFS master file table for remarkably quick results. K4DirStat is a KDE port of the original KDirStat, though Qdirstat is generally recommended as the actively developed successor by the original author. And of course the classic du command remains indispensable for scripts and automation.

How to Decide

Think about three questions. First, which operating system holds the data? On Windows, WinDirStat or WizTree are the natural choices; on Linux, Qdirstat leads the graphical options. Second, do you have a graphical session? If not, ncdu or a Qdirstat cache file or container will serve you. Third, what do you need after finding the problem? If you want to explore deeply, understand package usage, review file ages and act through configurable commands, Qdirstat offers the most complete toolkit.

Many experienced users keep two tools: Qdirstat for thorough visual analysis on desktops and ncdu for quick checks over SSH. The combination covers almost every situation.

Frequently Asked Questions

Is Qdirstat better than WinDirStat?

They target different systems. Qdirstat is the better choice on Linux and Unix, while WinDirStat is designed for Windows. Their core design is very similar.

Should I use Qdirstat or ncdu on a server?

ncdu is quicker for a terminal check over SSH. Qdirstat gives richer visual analysis through cache files or a Docker container.

Is Qdirstat better than Baobab on Ubuntu?

Baobab is simpler and pre-installed, while Qdirstat provides more detail, a file-level treemap, the package view and cleanup actions.

What is the difference between Qdirstat and K4DirStat?

K4DirStat ports the original KDirStat to newer KDE libraries. Qdirstat is a Qt-only rewrite by the original KDirStat author with many additional features.

Conclusion

Every disk analyser in this comparison is worthwhile, but they excel in different situations. WinDirStat suits Windows, Baobab offers a simple GNOME experience, ncdu rules the terminal and Filelight provides radial charts for KDE. For Linux users who want the deepest insight and the strongest follow-up tools in one application, Qdirstat stands out, combining a precise treemap with the package view, rich statistics and configurable cleanup actions.