Skip to content

windirstat/windirstat

Repository files navigation

WinDirStat - Windows Directory Statistics

Description

WinDirStat is a disk usage analyzer and cleanup assistant for Microsoft Windows. It scans local drives, selected drives, individual folders, and command-line targets, then shows where storage is being used through a sortable directory tree, an extension/type breakdown, and an interactive treemap where larger files and folders take up larger areas.

Alongside the visual overview, WinDirStat helps you investigate and act on disk usage. You can find large files, search and filter results, detect duplicates by hash, inspect logical versus physical size, watch file-system changes, save or reload scans, and launch cleanup or Windows maintenance actions directly from the interface.

For more information on the background of WinDirStat and alternative versions on other operating systems, please visit the WinDirStat website

Major features

  • Flexible scanning for local drives, selected drives, folders, and command-line targets, with refresh, suspend, resume, stop, fast NTFS scanning, multithreading, and elevated privilege support
  • Linked All Files, Largest Files, Duplicate Files, Search Results, File Watcher, Extension, and Treemap views
  • Interactive treemap navigation with zooming, parent/child reselection, extension labels, logical or physical sizing, and configurable KDirStat or SequoiaView styling
  • Sortable file details including logical/physical size, percentages, item counts, attributes, owner, modified time, free/unknown space, hardlinks, and hash prefixes
  • Search, duplicate detection, and filtering with regular expressions, configurable hash algorithms, cloud-file safeguards, hardlink deduplication, path/name filters, size filters, and reparse-point exclusions
  • File watching and reporting with created/deleted/modified/renamed events, CSV scan import/export, duplicate CSV export, and command-line CSV workflows
  • Built-in actions for opening items, copying paths, selecting in Explorer, invoking the Explorer context menu, opening Command Prompt or PowerShell, moving files, showing properties, deleting files, and emptying folders or the Recycle Bin
  • Windows cleanup and maintenance shortcuts for Disk Cleanup, Programs and Features, DISM, shadow copies, defrag, CHKDSK, VHDX optimization, hibernate files, user profiles, Mark-of-the-Web tags, sparse files, and NTFS compression
  • User-defined cleanup actions plus dark mode, portable settings, Explorer context-menu integration, localization, locale-aware formatting, configurable columns, larger toolbar icons, and high-DPI aware UI behavior

For changes in recent versions, please check out the change log.

Installation

The recommended way to install WinDirStat is with a package manager, which also makes future updates easier:

  • Install with winget install -e --id WinDirStat.WinDirStat (or use winget upgrade later)
  • Install with choco install windirstat (or use choco upgrade windirstat later)
  • Install with scoop install extras/windirstat (requires scoop bucket add extras)

If you prefer a manual installer, need a portable archive, or want to browse older versions and beta builds, use the GitHub releases page. If you are not sure which file to choose, download the 64-bit MSI installer.

Download Best for What is inside
WinDirStat-x64.msi Most users on modern Intel or AMD 64-bit Windows PCs Standard Windows installer for 64-bit systems. Adds WinDirStat to the Start menu and installs it like a normal app.
WinDirStat-arm64.msi Windows on ARM devices, including newer Surface devices and other Snapdragon-based laptops Standard Windows installer built for ARM64 Windows.
WinDirStat-x86.msi Older 32-bit Windows installations Standard Windows installer for 32-bit systems.
MSIX bundle Windows App Installer or Store-style deployment across different CPU types If the release includes an .msixbundle asset, it can contain packages for multiple CPU types and Windows chooses the right package for your device.
WinDirStat.zip Portable use, testing, or running without an installer Zip archive containing the WinDirStat executables. Extract it first, then run the executable for your CPU type.
WinDirStat.7z Portable use when you already have 7-Zip installed Same kind of portable executable archive as the zip file, usually with a smaller download size.

Copyright / Licenses

The application itself is distributed under the terms of the GPL v2, but parts of the source code are also available under more lenient license terms.

Note: you are not at liberty to upgrade the GPL version to anything later than v2 at this moment.

The logo and all derivatives are available under the terms of the Creative Commons license CC BY 3.0.

Compatibility

WinDirStat 2.x has been developed for and tested on the following operating systems. They may work on older or newer operating systems but are not supported.

  • Windows 8
  • Windows 8.1
  • Windows 10
  • Windows 11
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Resources

Find a more up-to-date list of resources on the website and the blog at any point in time.

Official Downloads and Malware Warning

WinDirStat's popularity has led to unofficial websites that copy the project's name, branding, or downloads. These sites are not operated by the WinDirStat team, may offer outdated or modified files, and may expose users to malware.

For your safety, install WinDirStat only through the package managers listed above, the official GitHub releases, or links from windirstat.net. The team reports impersonation sites when possible, but takedowns are not always successful.

Building

WinDirStat can be built with Visual Studio 2022 or later. A Visual Studio solution file can be loaded from windirstat\WinDirStat.sln.

Contributors

You can contribute by responding to issues, developing source code, or developing translations.

Thank you to everyone who has helped shape WinDirStat over the years.

WinDirStat contributor tiles

For additional historical contributors, testers, and translators, please check out the contributors page.

Logo

WinDirStat logo