Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Q

qdirstat

> 编程语言
Open source

QDirStat - Qt-based directory statistics (KDirStat without any KDE - from the original KDirStat author)

2.5K stars0 likes0 views
WebsiteGitHub

About

QDirStat - Qt-based directory statistics (KDirStat without any KDE - from the original KDirStat author)

QDirStat

Qt-based directory statistics: KDirStat without any KDE -- from the author of the original KDirStat.

(c) 2015-2025 Stefan Hundhammer [email protected]

Target Platforms: Linux, BSD, Unix-like systems; macOS

License: GPL V2

Updated: 2026-01-18

Screenshot

Main window screenshot: Tree view (upper half), treemap (below), details panel (right).

Notice the multi-selection in the tree and the treemap.

Overview

QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up.

It shows the total size of directories and of their files both in a traditional tree view and in a colored treemap graphics where a large file is shown as a large rectangle, and small files are shown as small rectangles. Click on it, and you will see where in the tree the file is, and you can instantly move it to the trash if you like. The color corresponds to the file type: Images, videos or whatever.

This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the latest Qt6. It does not need any KDE libs or infrastructure. It runs on every X11-based desktop on Linux, BSD and other Unix-like systems, and in a Docker container.

QDirStat has a number of new features compared to KDirStat. To name a few:

  • Multi-selection in both the tree and the treemap.

  • Unlimited number of user-defined cleanup actions.

  • Properly show errors of cleanup actions (and their output, if desired).

  • Configurable file categories (MIME types), treemap colors, exclude rules, tree columns.

  • Package manager support:

    • Show what software package a system file belongs to.
    • Packages view showing disk usage of installed software packages and their individual files.
    • Unpackaged files view showing what files in system directories do not belong to any installed software package.
  • New views:

    • Disk usage per file type (by filename extension).
    • File size histogram view.
    • File Age View
    • Free, used and reserved disk size for each mounted filesystem (like df)

See section New Features for more details.

Table of Contents

  1. Screenshot
  2. Latest Stable Release
  3. Latest News
  4. History
  5. Related Software: KDirStat, WinDirStat, K4DirStat and more
  6. Motivation / Rant: Why?
  7. Features
  8. macOS Compatibility
  9. Windows Compatibility
  10. Ready-made Packages
  11. QDirStat Docker Containers
  12. Building
  13. Contributing
  14. Troubleshooting
  15. Further Reading
  16. Packaging Status
  17. Donate

More Screenshots

Full-size images and descriptions on the Screenshots Page


Donate

QDirStat is Free Open Source Software.

If you find it useful, please consider donating. You can donate any amount of your choice via PayPal:

Latest Stable Release

QDirStat V2.0

See the release announcement.

Download installable binary packages for various Linux distributions here: Ready-made packages

Latest News

  • 2026-01-18 New stable release: 2.0

    Summary:

    • Migration to Qt6

    • Added infrastructure for program translations in case somebody volunteers to create a (separate!) GitHub project and package "qdirstat-lang" for translations.

    • You can now select the ISO date and time format: "2024-12-28 17:38" instead of the current locale settings. There is now a checkbox in the "General" tab for that.

      There is now no more need to endure insane date / time formats like "Dec 28, 2025 5:38 PM" just because you set your locale environment to English.

  • 2025-12-26

    • Port to Qt6

      Yes, this took quite a while. But now QDirStat is ported to Qt6. There was quite some discussion here in issue #280 about it.

      While the overall end user benefit may really be underwhelming, it makes QDirStat future proof; Qt5 is being phased out in many Linux distributions, and Qt6 has already advanced to version 6.10.

    • Translations

      Added infrastructure for program translations: A translator class based on QTranslator and using GNU gettext, imported from the Myrlyn project, and a makepot script to generate .pot files as a base for translations.

      Notice that translations will not be hosted in the QDirStat source repository, so source code and translations will be kept separate.

      The intention is that a translations maintainer will create a separate translations project and repo qdirstat-lang and manage the contributions of community translators for different languages with GNU gettext tools and a web translations tool like weblate.

    • Upcoming QDirStat 2.0 release:

      Those who can and who are willing please build QDirStat from Git master and test it thoroughly. Right now it shows a version 1.95+, but there is no Git tag to avoid misleading users into believing that it's a stable version. That would be premature; it still needs some testing.

  • 2025-04-16

    • Article about QDirStat on openSUSE News about package manager integration and system introspection.
  • 2025-03-17

    • Somebody got creative to use QDirStat for a whole different thing: Visualizing ELF binaries via QDirStat cache files with elf_mem_map.
  • 2024-09-28

    • You can now select the ISO date and time format: "2024-12-28 17:38" instead of the current locale settings. There is now a checkbox in the "General" tab for that.

      Every time I have to endure that insane US date and time format, I tend to scream at my screen: "Dec 28, 2024 5:38 PM"? Really? And that's the default (especially for the root account) unless you configured all those locale settings manually; for both your own user account and for root, because you need to run QDirStat as root to get access to system directories with restrictive permissions.

      From now on, simply use "Edit" -> "Configure QDirStat" -> tab "General" and check "Use ISO date and time".

      And yes, I know that the original ISO date and time format is "2024-12-28T17:38" which also does not pass the sanity test. A capital "T" as the delimiter? Really? What were they thinking? Easy to parse, but really hard to read. Whoever designed this did it for lazy scripting, not for humans.

  • 2024-04-25

    • Added a new article on QDirStat Font Size.
  • 2024-03-01

    • Extended the cache file format to also include UID, GID and permissions, and also improved the formatting to make it better human readable.

      See also GitHub issue #265.

      This new cache file format 2.0 is now the default, but the Perl qdirstat-cache-writer still supports writing the old format without those new fields to make the cache files a bit smaller: Use the -1 command line option.

      Cache files in the old format 1.0 can still be read, of course.

  • 2024-02-13

    • New: macOS binaries for QDirStat

      Jesus Herrera Arroyo [email protected] contacted me to ask for my approval to provide binaries of QDirStat for macOS. I answered:

      Sure, go ahead! But since I have no clue about macOS X, I'll have to redirect any users having macOS-specific problems to your repo's issue tracker.

      So here is his new GitHub repo for those binaries:

      https://github.com/jesusha123/qdirstat-macos

      Go to Releases at the right side panel.

      Also expect them on Homebrew (work in progress).

      I welcome this very much; there have been some tech-savvy users who built their own QDirStat for macOS since the project started in late 2015, but they were always very few, and it's not something for a casual user to do that. The situation should greatly improve with pre-built platform binaries for macOS, making QDirStat much more approachable on that platform.

      As usual with all binary distributions, caveats apply: You need to have trust in the distributor; no matter if it's a Linux distribution like SUSE, Ubuntu, Fedora / Red Hat or all the others out there, or an enthusiastic individual like Jesus Herrera. I am optimistic that he deserves that trust.

      If you don't have that trust, by all means go ahead and build it yourself from the sources, even if that is considerably more work, and it needs some technical expertise about how to build software in general, and about the target platform (macOS in this case) in particular.

  • 2024-01-15

    • Just one day after the stable release, pull requests for missing include files keep trickling in.

      Some time ago, I cleaned up includes, throwing out the ones that I was sure were unneeded; of course recompiling after every step. They were all unneeded on Linux with GCC, but it turns out that at least some of them were indeed needed on other platforms. Probably recursive includes are different on those platforms.

      I am collecting all those pull requests and merging (cherry-picking) them to the stable-1.9 branch. So if V1.9 does not build on your platform with the official release tagged 1.9, please use that stable-1.9 branch. If that still doesn't help - more pull requests are welcome.

      Sorry for the inconvenience.

  • 2024-01-14 New stable release: 1.9

    Summary:

    • Greatly improved the visual appearance of the treemap thanks to @Lithopsian

    • Dominant (very large) items are now highlighted in bold font in the tree view

    • New "Find" function in the scanned directory tree

    • Added support for bookmarks

    • New documentation to explain the treemap

    • Some small improvements

    • Bug fixes

    See also the release announcement.


  • 2021-06-21 QDirStat AppImage and why I don't like it

    TL;DR:

    • It's big and fat (113 MB)
    • It's a very outdated version: QDirS

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++cleanupdisk-space-analyzerguilinux

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言