โ† Apps
๐Ÿงน MacSweep
native macOS cleaner

MacSweep

A native macOS cleaner written from scratch in Swift and SwiftUI โ€” system junk, large & old files, uninstaller, privacy cleanup, optimisation, startup items and scheduled smart tasks. No third-party dependencies, no accounts, no telemetry.

โœ“ Free & open Apple Silicon + Intel macOS 12 Monterey+ 100% local Ad-hoc signed
MacSweep 1.0.0 โ€” universal disk image 2.5 MB ยท DMG ยท x86_64 & arm64 ยท SHA-256 verified Download SHA-256 2c8161dd4295fa8276c92c33c780c94c5e598e6b565711e88c7a441be20923c5

Install

Download the disk image above and open it.
Drag MacSweep.app into your Applications folder.
Eject the disk image and launch MacSweep from Applications.
Gatekeeper: the app is ad-hoc signed, so macOS may report that it "cannot be opened because the developer cannot be verified". Right-click the app in Applications โ†’ Open โ†’ Open once to allow it, or run xattr -dr com.apple.quarantine /Applications/MacSweep.app after copying it. Items that need administrator rights are collected into a single batched prompt.

What it does

System Junk

~30 catalogue rules: user caches, logs, Trash, Xcode/DerivedData, npm/yarn/pip caches, Homebrew, iOS backups, old installers.

Large & Old Files

Files above a threshold, older than N days, plus duplicates detected by SHA-256.

Uninstaller

Lists every .app, reads its bundle id, finds leftover containers and removes both.

Privacy

Clears cookies, cache and history for Safari, Chrome, Firefox, Edge, Brave and Arc; audits TCC grants.

Optimize

DNS flush, Spotlight re-index, Dock reset, memory purge, QuickLook rebuild, SMC reset on Intel.

Startup Items

Login items and background task management entries, read from sfltool dumpbtm.

Smart Tasks

Schedules a launchd agent that runs a safe auto-clean on an interval.

History

Every cleaning run is logged locally so you can see exactly what was removed.

Safety model

SafetyRules.isProtected is a hard guardrail applied before every delete. The system tree, other users' home folders and your own documents, desktop, pictures, movies, music and public folders are never touched โ€” nor are application bundles, preferences, mail or iOS backups. Anything needing admin rights is collected into a single batched prompt instead of one prompt per file.

Command line

The same binary runs head-less โ€” this is what the scheduler uses:

MacSweep --scan [--json] ยท --clean [--yes] ยท --auto-clean ยท --snapshot <png> <tab> ยท --version

Screenshots

MacSweep System Junk module listing caches with sizes
System Junk โ€” cached items with sizes
MacSweep Uninstaller module listing installed applications
Uninstaller โ€” apps and their leftovers
MacSweep Privacy module auditing browser data
Privacy โ€” browser data and TCC audit
MacSweep Optimize module with maintenance actions
Optimize โ€” system maintenance actions
MacSweep Large and Old Files module
Large & Old Files โ€” biggest space consumers
MacSweep Startup Items module
Startup Items โ€” login items and background tasks
โฌ‡ Download MacSweep 1.0.0 ๐Ÿš€ Browse the apps