MacDirStat

A free, open-source treemap that shows what's eating your disk on macOS — and trashes the regenerable junk in two clicks.

Download for macOS View source on GitHub
Free · MIT · signed & notarized by Apple · no account, no ads
MacDirStat showing a treemap of an entire macOS disk, with a directory tree on the left and a file-type breakdown on the right

What it does

Treemap of your disk

Every rectangle is a file, its area is its size — the big stuff is literally the big stuff on screen.

Sortable folder list

Size, name, items, or most-recent. Each folder shows its size, a percent bar, and item count.

File-type breakdown

Bytes, percentage, and file count per extension. Click a row to dim everything else.

Two-click cleanup

Finds regenerable junk — DerivedData, node_modules, target/, caches — and trashes it in one pass.

Whole-volume accounting

Scan a volume root and it adds free space and hidden/skipped blocks, so the map covers the whole disk.

Stays out of your way

Scans on launch, no welcome screen. Protected paths are filtered up front, so no wall of permission prompts.

Install

Homebrew (recommended):

brew install --cask chartres/mac-dir-stat/mac-dir-stat

Or grab the latest .dmg from Releases, open it, and drag MacDirStat into Applications. It's signed and notarized, so it opens normally on first launch — no Gatekeeper workaround.

How it compares

MacDirStatDaisyDiskGrandPerspectiveWinDirStat
PlatformmacOSmacOSmacOSWindows
PriceFreePaidFreeFree
Open sourceYes (MIT)NoYes (GPL)Yes
VisualizationTreemapSunburstTreemapTreemap
Folder + file-type listsYesNoNoYes
One-click junk cleanupYesNoNoNo

If you loved WinDirStat on Windows and want the same thing on a Mac — free and open-source — that's what this is.