Free disk space analyzer for macOS

Your Mac is full. Here's why.

DiskTree draws your whole disk to scale, so the forgotten backups and build folders eating your storage are impossible to miss. Then it helps you clear them out, safely.

Apple silicon + IntelOpen source · MITNothing leaves your Mac
Macintosh HD 457 of 494 GB
Freed 0 GB
Try it: click a block to clean it up.

↑ A pretend disk, not yours. Tags show what the real app would do with each block.

Every byte,
drawn to scale.

System Settings gives you one gray bar labeled "System Data." DiskTree gives you a map. Each block is a folder or file, sized by how much room it really takes. Click a folder to dive in.

DiskTree's Explore view: a treemap of a home folder with Documents, Movies, Library, Downloads and Pictures as nested colored blocks, above a sortable list of folders with sizes
01 / SCAN

Pick a place

Your home folder, the whole disk, Applications, or any folder or external drive.

02 / MAP

See it all

A zoomable treemap and a sorted list, color-coded by kind: video, photos, apps, archives, code.

03 / CLEAN

Clear it out

Select anything and press Delete, or take the cleanup suggestions.

04 / UNDO

Change your mind

Everything goes to the Trash first. Put it back with one click.

Cleanup with
judgment.

Most cleaners either do nothing useful or delete too much. DiskTree knows where Macs quietly fill up, tells you honestly what's safe, and refuses to touch what isn't.

Largest files

Find the giants

Every file over 50 MB in one sortable list, filtered by size and kind. Disk images, old VMs and 4K exports float straight to the top.

DiskTree's Largest Files list sorted by size: virtual machine disks, a language model, an Xcode installer and 4K videos
Suggestions

Honest labels

Every suggestion says how safe it is before you touch it.

  • SafeApp caches, logs, Xcode build data
  • SafeDevice support files, Simulator caches
  • Safenpm, pnpm, Gradle and Cargo caches
  • ReviewDownloads untouched for 90+ days
  • ReviewiPhone & iPad backups
  • ReviewXcode archives, node_modules
  • InfoSimulator devices, the Trash
Trash & History

Undo anything

DiskTree never deletes outright. Every item goes to the Trash and is logged, so you can put it back where it was. Empty the Trash right from the app when you're sure.

Guardrails

Hard to break your Mac

  • Refuses system locations and other users' files
  • Refuses Documents, Library and other standard folders themselves
  • Refuses pieces of apps, Photos and Music libraries
  • Refuses your keychains
  • Warns before iCloud files, app data and device backups
Privacy

Stays on your Mac

No network access, no analytics, no account. It reads file sizes, not file contents, and never downloads iCloud files just to measure them.

For developers

Knows where your builds hide

If you write code, your Mac is full of things that rebuild themselves. DiskTree finds them.

DerivedDataiOS DeviceSupportCoreSimulatornode_modules~/.npmpnpm store~/.gradle~/.cargoXcode Archives
Native

Fast & tiny

1.4 MB

SwiftUI, no dependencies. Scans run on several threads with bulk directory reads.

A closer look.

A native Mac app that follows your system's light or dark appearance and feels like it came with your Mac.

Get it in
a minute.

Three ways in. All free, all the same app. Requires macOS 14 Sonoma or later, on Apple silicon or Intel.

1

Download it

Unzip, drag DiskTree to Applications, then right-click it and choose Open the first time.

DiskTree.zip
2

One line

Paste into Terminal. It installs the latest release to ~/Applications and opens it, with no security prompt.

$ curl -fsSL https://alx-kap.github.io/DiskTree/install.sh | bash
3

Build it yourself

Needs Swift 5.9+ from Xcode or the Command Line Tools. No dependencies.

git clone https://github.com/alx-kap/DiskTree.git
cd DiskTree
./install.sh
Heads up

The first time you open the downloaded app, macOS says it can't verify the developer. That's because DiskTree isn't notarized, which requires a paid Apple developer account. Right-click the app and choose Open, or click Open Anyway in System Settings › Privacy & Security. The one-line install and building from source both skip this.

Questions.

Still wondering? Open an issue on GitHub.

Is it really free?

Yes. DiskTree is open source under the MIT license. No trial, no subscription, and no "upgrade to delete" button at the end of a scan.

Will it delete things on its own?

Never. It only moves what you pick to the Trash, and Trash & History can put items back until you empty the Trash.

What is "System Data," and can DiskTree shrink it?

Much of what macOS calls System Data lives in your home folder's Library: caches, logs, device backups, Xcode and Simulator files. Scan your home folder and DiskTree shows which of those are taking up room. Space macOS can free by itself, like local snapshots, is shown separately so you're not chasing it.

Does it need Full Disk Access?

No. Without it, macOS keeps a few protected folders (like Mail and Messages data) and the inside of the Trash private. Everything else scans normally, and DiskTree tells you when something couldn't be read.

How is it different from DaisyDisk or GrandPerspective?

DiskTree is a free, open-source alternative that pairs the visual map with guided cleanup and an undo history, and it knows about developer clutter like DerivedData, Simulator caches and node_modules.

Does it work on Intel Macs?

Yes. The download is a universal app that runs natively on Apple silicon and Intel Macs with macOS 14 Sonoma or later.

Get your
gigabytes
back.

Find out what's filling your Mac in the time it takes to make coffee. Free, open source, and 1.4 MB.

Download DiskTreemacOS 14+ · Apple silicon & Intel