Purplelink
← All guides

Best disk space analyzer and cleaner for Mac (2026)

What is using your Mac's disk, what is safe to remove, and which tool to trust with the deleting. Short version: Apple's own settings plus a free or $10 disk map cover most full disks, and the tools differ most in whether a delete goes to the Trash or is final.

Disclosure up front: Purplelink, which publishes this site, makes one app on this list, Legroom, a menu-bar app sold as a 7-day trial and a $9 one-time purchase. It is new and unproven, and where another tool is the better choice I say so. I did not install or test any of the other tools either. Everything below is read from vendor pages, Mac App Store listings, privacy labels, project repositories, Apple support pages and the built-in Terminal help on my own Mac, all on October 4, 2026. Prices and versions change. Where a page did not say something, I write "not stated" rather than guess.

Three jobs, and which tools do which

"Disk space tool" covers three different jobs.

  1. See what is big. Analyzers draw a map or list the biggest items: DaisyDisk, GrandPerspective, OmniDiskSweeper, the Terminal tools.
  2. Remove what regrows. Cleaners go after caches, logs, build output and app leftovers: CleanMyMac, Mole, DevCleaner, AppCleaner.
  3. Stop it filling again. Rules and alerts on a schedule or threshold: Hazel, Optimize Storage, a few free menu-bar apps.

One number trips people up. Apple's Disk Utility help says available space can include free space plus "purgeable space", space that macOS can free up when needed. Finder counts it as available and some tools do not, so two apps can show different free space for the same disk. Neither is wrong.

Deletion is where tools differ most, so each entry says how the tool deletes: to the Trash, for good, or "not stated" on the pages I read. Before deleting anything, read what is safe to delete, and what is not.

The shortlist

  1. macOS Storage settings: free, built in, start here.
  2. DaisyDisk: $9.99 once, the visual map, deletes for good.
  3. GrandPerspective: free, a maintained treemap.
  4. OmniDiskSweeper: free, a plain largest-first list, Trash.
  5. Hazel: $42, rules that delete by age.
  6. Mole: free command-line cleaner with a dry-run mode, and a $19 app.
  7. DevCleaner for Xcode: free, Xcode's caches only.
  8. du, ncdu or gdu: free, in Terminal.

Legroom is not on the shortlist because it is new; it has its own section below. Eight more entries follow the full reviews, then a decision matrix, how to choose and the section on what is safe to delete.

macOS Storage settings and Optimize Storage

Cost: Free, built in. Platform: macOS. In macOS Ventura 13 or later it is System Settings, General, Storage, per Apple's page on freeing up storage.

The bar shows categories, and a More Info button next to some of them (Applications, Documents, Messages, Trash and others) opens options for that category. System Data is, in Apple's words, a general category covering all Apple and third-party files that do not belong to a more specific one. It is not a single thing you can delete. Apple's Optimize Storage page lists three recommendations: Store in iCloud, Optimize Storage (removes Apple TV movies you have watched and keeps only recent mail attachments), and Empty Trash automatically, which erases items that have been in the Trash more than 30 days. The same page says that when space is needed, macOS also clears caches and logs that are safe to delete, including interrupted downloads, staged updates and Safari website data.

What it lacks: a map of your own folders, and any view inside System Data. Pick it if you want the free first step with no new software to trust. Turn on Empty Trash automatically only if you never keep things in the Trash on purpose.

iCloud Drive and Optimize Mac Storage

Cost: Uses your iCloud plan; Apple's page says storage starts at 50 GB for $0.99 a month in the US. Platform: macOS.

With Optimize Mac Storage on (Apple Account, iCloud, Drive), Apple says older documents are kept in iCloud when space is needed. Control-click an item and choose Remove Download to drop the local copy, or Keep Downloaded to pin one. Read this twice: Apple's iCloud Drive deletion page says deleting a file on one device removes it from every device on the same Apple Account, recoverable for 30 days. Remove Download keeps the file in iCloud. Delete removes it.

What it lacks: it moves space around and does not show what is big. Pick it if you already pay for iCloud and most of your disk is documents and photos.

DaisyDisk

Cost: $9.99, one-time, on the vendor site and the Mac App Store. The site says minor updates are included, covers up to 5 personal Macs, offers a 30-day money-back guarantee and a free trial. Platform: macOS 10.13 or newer, Apple silicon supported; version 4.34.

A ring-shaped disk map. The vendor says it scans in seconds. You tear items off the map into a Collector area at the bottom, where they wait until you delete. It shows hidden space, which includes purgeable space and local snapshots, and can scan as administrator to reach restricted folders. The deletion model is stated plainly in its guide: files stay put until you click Delete, you then get 5 seconds to cancel, and DaisyDisk "permanently removes files and folders instead of moving them to the system Trash". It will not accept /System, /Library or your home folder into the Collector, and the site says it "doesn't collect or transmit anything".

The Mac App Store edition is partly limited, according to the guide's snapshots page: no snapshot size estimates, and deleting snapshots means using Terminal. The guide does not describe the direct edition as limited.

What it's good at: the clearest picture of where space went, including the hidden part. What it lacks: any automation or rules, and a Trash step. Pick it if you want to look at a map and delete by hand, and you accept that deletes are final.

GrandPerspective

Cost: Free from the developer's site, or $2.99 on the Mac App Store, which the developer says is the same app. Platform: macOS 14 or later, Apple silicon and Intel; version 3.8.1; open source under the GNU GPL.

A treemap: every file is a rectangle sized by its size, grouped by folder, and you can color by type, folder, or creation, modification or access time. It has filters, saved and exported scans, Quick Look, and hard-link support for looking inside Time Machine backups. It can delete files and folders from the view. The page and help files I read do not say whether that goes to the Trash or is permanent, so check on a throwaway file first.

What it lacks: it is a map, not a cleaner. Nothing I read says it explains purgeable space or snapshots. Pick it if you want a treemap and would rather not pay, or you want the open-source one.

OmniDiskSweeper

Cost: Free, from the Omni Group. Platform: macOS. The current download is version 1.16, in a folder labeled macOS 11, but the page states no macOS requirement or release date.

The simplest tool here. The vendor describes it as showing "the files on your drive, largest to smallest", with a way to Trash or open them. That is the whole description, and sometimes it is all you want.

What it lacks: a map, rules, and any explanation of what you are looking at. Pick it if you want the least software that answers "which folder is huge".

Disk Inventory X

Cost: Free, GPL. Platform: The page lists version 1.3, copyright 2019, for macOS 10.13 to 10.15.

A treemap app. I found no newer build, and the page does not describe deletion. On a current Mac I would use GrandPerspective, which draws the same kind of map and is updated. Pick it if it is already on an older Mac you are not upgrading.

Nektony Disk Space Analyzer

Cost: Free to download. Pro Mode is an in-app purchase: $4.99 monthly, $9.99 annual or $19.99 lifetime. Platform: macOS 11 or later; version 6.0.2, updated June 2026. App Store listing, "Disk Space Analyzer: Inspector".

A sunburst diagram with real-time scan results, Quick Look, Show in Finder and a purgeable-space readout. Pro adds removing big files, a full sorted list, and moving or copying items to another drive. The listing's privacy label is "Data Not Collected", which is self-reported. The listing does not say how Pro removes files.

What it lacks: removal in the free tier, which lists only the 8 biggest items. Pick it if you want a sunburst map and will pay for Pro.

CleanMyMac

Cost: Free to download from the vendor or App Store, with a 7-day trial, after which the listing says you are charged automatically. The App Store in-app list shows a Basic yearly plan at $39.99, Plus yearly at $65.99 and a monthly plan at $9.99. The vendor page says "from $3.33/month" and mentions a one-time option; I give no lifetime figure because the sources disagree. Platform: macOS 11 or later; version 5.6.

An all-in-one cleaner; the listing claims over 29 million downloads. It describes junk and cache cleaning, a malware scan, an uninstaller, duplicates, large and old files, and performance tools. For disk space the relevant part is Space Lens, a storage map. MacPaw's help page describes a Review and Remove list where you can deselect items, then says CleanMyMac "deletes the items from your Mac". It does not say Trash or permanent. The app is notarized by Apple per the listing, and its label is "Data Not Linked to You", covering contact info, identifiers, usage data and diagnostics.

What it lacks: a clear statement of Trash versus permanent deletion on the page I read, and a price that is easy to state. Pick it if you want the extras, especially the uninstaller and malware scan, in one app. For disk space alone, in my reading, a map and Apple's own settings cover most of the same ground for less.

Hazel

Cost: Hazel 6 is $42, a family pack for up to 5 household members is $65, and an upgrade from an earlier version is $20, per the Noodlesoft store. There is a free trial. Platform: macOS; I did not find the requirement on the pages I read.

Hazel is not a disk tool. It watches the folders you name and applies rules: by name, date, type or source, move, rename, tag, or delete files that are too old. Its manual describes selectively deleting items from the Trash so the space is recovered, and App Sweep, which notices when you trash an app and offers to remove its support files. For keeping a disk from filling, a typical rule is deleting items in Downloads older than 30 days. What I did not find is a built-in free-space condition. The manual's scripting page lists "the amount of free space on my disk is less than 10 GB" as the kind of thing a script can check, so a threshold trigger means writing one.

The manual's Preview a Rule shows live match indicators for a selected item, plus a rule status view for a folder. That checks a rule; it is not a list of everything the rule would delete.

What it lacks: a free-space trigger, an analyzer, and a dry-run list. Pick it if you want general file rules on any folder. This is the right tool for that, today.

Mole

Cost: The command-line tool is free, GPL-3.0, and installs with brew install mole; it needs macOS 12 or newer. A separate app, Mole for Mac, is $19 once for 2 Macs, with a 14-day refund and macOS 14 or later, per mole.fit. The CLI is at version 1.58.

The README describes cleaning caches, logs and leftovers, uninstalling apps, cleaning project build artifacts (mo purge), and a disk explorer (mo analyze). Its safety section is specific: --dry-run previews clean, uninstall, optimize, purge and installer runs; mo analyze "moves selected items to Trash after confirmation"; clean commands can delete, so preview first; activity is logged to ~/Library/Logs/mole/operations.log; and protected caches can be whitelisted. The app page says scans and cleanup stay on your Mac and that moving anything to Trash asks for confirmation.

What it lacks: a Trash step in its clean commands, which can delete; the dry run is the safeguard. Pick it if you are comfortable in Terminal and want a cleaner that tells you what it will do before it does it.

AppCleaner and Pearcleaner

Cost: Both free. Platform: AppCleaner 3.7 needs macOS 15 or later, with 3.6.8 for 10.14 up to 15.6. Pearcleaner is a source-available app.

AppCleaner does one job: drop an app on its window and it finds related files, which you remove with the delete button. The page does not say Trash or permanent. Pearcleaner adds orphaned file search, but its README marks the project "On Hold", last release 5.4.3 in November 2025, and warns that pearcleaner.com is a fake site and itsalin.com the only real one. That applies to any cleaner: download from the vendor, the App Store or the project's own repository.

Pick AppCleaner if you only want leftovers removed with an app. Hazel's App Sweep, Mole and CleanMyMac do this inside bigger tools.

DevCleaner for Xcode, and Xcode's simulators

Cost: Free, with optional tips of $1.99, $3.99 and $9.99 in the app; GPL-3.0 source. Platform: macOS 14 or later; version 2.8.0, November 2025.

It inspects and cleans Xcode's generated files: device support, archives, DerivedData, documentation caches and old simulator and device logs, with a command-line tool for scripts. The README is honest about risk: it relies on "internal folder structures and undocumented features", may stop working with newer Xcode versions, and tells you to make a backup first. Its label is "Data Not Collected".

Simulators can be handled without a third-party app. On my Mac, the built-in help for xcrun simctl delete says unavailable deletes devices not supported by the current Xcode SDK, and xcrun simctl runtime delete takes a runtime identifier or --notUsedSinceDays with a --dry-run option. Use the dry run.

Pick it if Xcode is where your space went. Keep Archives you may need for crash symbolication.

du, ncdu, gdu and dua

Cost: Free. Platform: macOS, installed with Homebrew (brew install ncdu, gdu or dua-cli); du is already there.

The built-in answer is du -hxd 1 ~ | sort -h: the size of each folder one level below your home folder, smallest last, staying on one file system. The interactive versions are friendlier. ncdu (MIT) has a built-in delete that asks for confirmation by default and a -r flag that makes it read-only. gdu (MIT) uses d to delete and D to move to the Trash, with --no-delete to turn deleting off. dua (MIT) has an interactive mode with multi-stage deletion, a config option to disable permanent deletion, and a dua clean command that says nothing is deleted automatically.

Pick one if you work over SSH, on a server, or simply like Terminal. Use read-only mode until you trust your own typing.

Time Machine local snapshots and tmutil

Cost: Free, built in. Platform: macOS.

This is the usual reason deleting files does not free space. Apple says Time Machine saves a snapshot about every hour and keeps it for 24 hours, keeps an extra snapshot of your last successful backup until space is needed, and saves one before a macOS update. Your Mac counts the space as available, and Time Machine deletes snapshots as they age or as space is needed. Apple's documented way to remove them by hand is to set Time Machine backups to manual for a few minutes, then turn them back on. The tmutil man page on my Mac also lists listlocalsnapshots, deletelocalsnapshots and thinlocalsnapshots, and says several verbs need root and Full Disk Access. I ran only the listing (none on this Mac), not a deletion verb.

Pick this if you deleted a lot and the free number did not move. Most of the time, waiting or leaving it alone is right.

Legroom (Purplelink's)

Cost: A free 7-day trial, then $9 once, with no subscription; also part of the $49 Mac Suite. Platform: macOS 14 or later, Apple silicon and Intel, direct download from its page, no Mac App Store build. Status: version 1.0.0, signed and notarized, which makes it the newest and least proven tool in this guide. I make it, and I have not compared it with the others on a test Mac.

I designed it after my own disk emergency, which came from system-level items such as staged updates and swap that no folder sweeper can touch. It lives in the menu bar and shows free space on the startup disk, the space macOS says it can clear, and your other volumes, and it warns you when free space drops below a line you set. You make rules for folders and caches; each rule shows a preview of what it would remove, you approve it, and then it can run by hand, on a schedule, or when free space drops below your line. Each rule either moves items to the Trash or deletes them for good, and the preview says which. A daily "what grew" comparison over 1, 7 or 30 days names the folders that filled the disk, and Suggestions proposes rules without creating or running any. Space Map draws a folder or disk as rings, with folders it could not read shown hatched. Find Files looks for large, old and duplicate files and only moves the ones you select to the Trash, always leaving one copy of every duplicate.

What it lacks: it does not scan as an administrator, so space such as local Time Machine snapshots is listed as "size not reported" rather than measured, and where a fix needs Terminal it shows the command as text and does not run it. It does not clean inside system folders and it does not make your Mac faster. Its page lists no uninstaller, widget or command-line tool. After the trial ends, the menu-bar readout and low-space alerts keep working, while rules, What Grew, Suggestions, Space Map and Find Files need the paid build. Its page says there is no account and no analytics; the paid build checks for updates once a day, and the trial build does not. Full Disk Access is optional. Legroom's own page says it does not run commands or remove anything you have not previewed and approved, but that is the vendor describing itself, and this is the first release.

Where others are better today: DaisyDisk for a visual map, and for hidden space and snapshots, because it can scan as administrator, which Legroom does not. GrandPerspective if you want free. OmniDiskSweeper if you want simple. Hazel for general rules on any folder. For cleaning developer caches when space is low, free open-source apps such as Harbofly and Dustpan exist, listed below. The gap Legroom is aimed at is folder rules with a free-space trigger, a readout and a "what grew" explanation in one app. Pick Legroom if you want rules that clean on a free-space trigger with a preview you approve each time, and you accept a first release from a one-person studio. Pick another tool if you want a visual map of everything including system space.

Eight more worth knowing

Each is useful to someone. I searched for PrunePanda, SpaceSift and Funter and found no live product page or store listing for a disk tool by those names, so they are not covered.

Disk Diag

A scanner-style cleaner for macOS 12 or later, last updated October 2025. Free to download, but removing scan results is capped at 1 GB a month; Unlimited Cleaning is $16.99 yearly or $44.99 once. The listing does not say how removal works, and its label lists email address and product interaction, with developer advertising or marketing among the purposes.

Gemini 2

MacPaw's duplicate finder. Free to download, with Yearly Access and Smart Cleanup each listed at $19.99, for macOS 10.13 or later. It finds duplicate and similar files and photos. Check which copy it keeps before accepting an auto-selection.

Stats and iStat Menus

System monitors for the menu bar. Stats is free and MIT-licensed, for macOS 12 or later, and lists disk utilization among its modules. iStat Menus 7 is $11.99 on the App Store for macOS 14 or later. Both are monitors, not cleaners.

OnyX

A free utility from Titanium Software, supported by donations, for maintenance and settings that would otherwise need Terminal commands. There is a separate build for each macOS version, and the page says to use the right one. For disk space alone, I would start elsewhere.

Lemon Cleaner

Tencent's open-source Mac cleaner, with duplicate detection and disk space analysis. Its repository has about 6,300 stars, a last release in October 2025 and a Chinese-language description. I read only the repository.

Harbofly, Dustpan and ClearDisk

Free, open-source menu-bar apps for developer caches. Harbofly says it uses the Trash by default and offers opt-in auto-clean, including when the disk runs low, with opt-in anonymous analytics. Dustpan offers opt-in auto-clean daily, weekly or when space is low, and says it deletes project artifacts permanently after confirmation; it is at version 0.1.3. ClearDisk, for macOS 14 or later, says Trash first and no data collection. They overlap with what Legroom plans for caches.

Rulewright

A Hazel-style folder rules app on the App Store: $14.99, macOS 14 or later. Its listing describes previewing what each rule will do, a Trash action, and working only inside folders you grant, with no Full Disk Access needed.

Spacie, mac-cleaner-cli and cleanmymac-cli

Spacie is a native Apple-silicon disk analyzer with sunburst and treemap views and a duplicate finder (about 86 stars on its repository). mac-cleaner-cli is a free MIT command-line cleaner, not MacPaw's. MacPaw's own cleanmymac-cli, released July 2026, targets developer caches, and its README says analytics can be disabled.

Decision matrix

"Deletes" is how each tool removes things, as stated on the pages I read; "not stated" means they did not say. US prices, October 4, 2026.

ToolBest forPriceDeletes
macOS StorageFirst step, caches, TrashFreeApple's own flows
DaisyDiskVisual map, hidden space$9.99 oncePermanently, 5-second cancel
GrandPerspectiveFree treemapFree or $2.99Not stated
OmniDiskSweeperSimple sorted listFreeTrash, per vendor
Nektony AnalyzerSunburst mapFree; Pro $19.99Not stated
CleanMyMacAll-in-one extrasFrom $39.99 a yearNot stated (says "deletes")
HazelRules on any folder$42 oncePer rule action
MoleTerminal cleaning, dry runCLI free; app $19Trash for analyze; clean can delete
AppCleanerApp leftoversFreeNot stated
DevCleanerXcode cachesFreeNot stated
ncdu, gdu, duaTerminal, remoteFreeConfirmed delete; gdu and dua can Trash
LegroomRules, readout, what grew$9 once, 7-day trialTrash or permanent per rule, shown in the preview; Find Files and Space Map Trash only

How to choose

  1. Find out what is big before anything else. A map costs nothing or about $10, and DaisyDisk's FAQ says it is typically your own files that take the most space, not system files.
  2. Check how a tool deletes. Trash is undoable until you empty it. A permanent delete is not. If a tool does not say, assume it is permanent and test on a throwaway file.
  3. Prefer preview before action. Mole's dry run and a rule you can inspect beat a button that says Clean.
  4. Be wary of automation until you have seen it work. I would not leave any tool deleting by itself until I had read its first list, and I have audited none of these.
  5. Keep Time Machine running. DaisyDisk's own FAQ says to, so a mistake can be rolled back.
  6. Download from the source. Vendor site, App Store, or the project's own repository, not a search ad.

What is safe to delete, and what is not

No tool can tell you what is safe on your Mac, and I have not tested any of them. This is what Apple and the tools' own pages say, kept cautious on purpose.

Frequently asked

What is the best disk space analyzer for Mac?

For a visual map, DaisyDisk at $9.99 once. For free, GrandPerspective, or OmniDiskSweeper if you want a plain list. Start with macOS Storage settings either way. I tested none of them, so this is a reading of vendor pages and listings, not a ranking by use.

Is it safe to delete System Data on a Mac?

System Data is not one folder. Apple describes it as a general category for all Apple and third-party files that do not belong to a more specific category, and says macOS clears safe caches and logs itself when space is needed. Do not delete inside protected system folders. Use a map to find large items by location instead.

Why did deleting files not free up space?

Files in the Trash keep using space until you empty it. Time Machine local snapshots can hold copies for up to 24 hours or until space is needed, and macOS counts that space as available. Tools also count purgeable space differently, so the free number can differ.

Should I delete Time Machine local snapshots?

Usually not. Apple says Time Machine keeps one about every hour for 24 hours and removes snapshots as they age or as space is needed. If you need the space for a task now, Apple's documented route is to set backups to manual for a few minutes. The tmutil command can also list and delete them; I did not run its deletion commands.

Do I need a paid Mac cleaner app?

Often not for disk space. Apple's settings, a free map such as GrandPerspective and, for developers, Mole or DevCleaner cover most of it. Paid cleaners add one-click removal, uninstallers, scheduling or malware scans. Before paying, check how the tool deletes, whether it uses the Trash, and what its privacy label says.

Can anything clean my Mac automatically when space runs low?

For some things, yes. Hazel runs rules on folders, though a free-space trigger needs a script. Harbofly and Dustpan, both free and open source, offer opt-in auto-clean for developer caches, including when space is low. None of them is a reason to skip reading what a rule will remove first, and I have audited none of them.

Is Legroom available, and what does it cost?

Yes. Legroom is Purplelink's Mac menu-bar app: a free 7-day trial, then $9 once with no subscription, for macOS 14 or later on Apple silicon and Intel. I make it, it is a first release, and this guide describes it from its own product page rather than from a test against the other tools.

Related guides