Free, native, privacy-first cleaner and application uninstaller for macOS.
Built with Swift 6 and SwiftUI. Review everything before cleaning. Uninstalls and duplicates go to Trash.
Requirements: macOS 26.0 or later. Apple Silicon only (Intel Macs are not supported).
✨ Features • 🎬 Demo • 🛠️ Build from Source • 📖 Documentation
| Principle | Technical Implementation |
|---|---|
| No Telemetry | No background daemons, analytics, or remote logging. Only optional GitHub Releases update checks use the network (configurable in Settings). |
| Safe Deletion | Cleanup, Uninstaller, Disk Analyzer, Duplicates, and Startup Services move files to Trash (trashItem(at:)) by default. Permanent deletion is opt-in. |
| Protected Paths | Blocklists guard SIP paths, /System, /Library, /usr, ~/.ssh, user documents, .env / .npmrc / .yarnrc / .pypirc, IDE folders (.vscode, .idea, .zed), and Finder favorites (FavoriteItems.sfl3 / .sfl4). |
| Non-Destructive Scan | Scanning never quits apps or changes files. Cleaning waits up to 3 seconds on soft quit before force-quitting. |
| Open Core | Native Swift 6 with actors and structured concurrency. Core cleanup and scan rules live in readable source. |
| On-Device AI | File hashes and FoundationModels explanations run locally on your Mac with no cloud calls. |
| Native UI | Built with SwiftUI and macOS 26 Liquid Glass materials. No Electron or web wrappers. |
View high-resolution screenshots
- Direct Download: Grab the latest
.dmgfrom GitHub Releases. - Mount & Drag: Open the
.dmgand dragMacOSCleaner.appinto/Applications. - If macOS says it can't verify MacOSCleaner: On macOS 26, Gatekeeper can block the first launch (“Apple could not verify “MacOSCleaner” is free of malware”) because the app is ad-hoc signed. Only do this with the DMG from the official GitHub Releases page.
-
Move
MacOSCleaner.appto/Applications(step 2). -
Try to open it once. Then go to System Settings → Privacy & Security, scroll down, click Open Anyway, and confirm.
-
Or, in Terminal:
xattr -dr com.apple.quarantine /Applications/MacOSCleaner.app
This clears the quarantine flag macOS sets on that download. It does not change the app or system security.
-
- Scans 42 cleanup categories across system caches, user logs, browser caches, 305 applications, and 105 developer toolchains (Xcode, Docker,
uv,mise, Rust, Gomodcache, Python, Node, CocoaPods). - Detects old project build folders (checked by project markers), forgotten installers (
.dmg,.pkg,.iso,.zipinspected without mounting), local AI models (Claude Code, Ollama, MLX, Hugging Face, WhisperKit), and safe Time Machine snapshot thinning (thinlocalsnapshots). - Browser cleanup targets exact cache templates per bundle ID — profiles and extensions stay untouched. Review-only items are unchecked by default.
- Shows live APFS reclaimable space delta, adaptive debug logs, History (
⌘Y), guarded Font Cache reset with confirmation, and post-cleanup restart prompts (loginwindowdialog).
- Finds apps in
/Applications,~/Applications, and writable/Volumes/.../Applications(including symlinked.apptargets), even when Spotlight indexing is off. - Runs a fast indexed deep scan across 30 evidence signals and 2,427 known remnant paths using bounded concurrency and low memory.
- Uses a 3-stage removal pipeline (soft quit →
launchdbootout → Trash) with automatic Dock cleanup, inline TCC chips, Intel-only badges, and word-boundary matching to avoid false positives. - Standalone Leftovers scanner supports admin escalation, groups
LaunchAgents/LaunchDaemonsunderLaunch Agents, preserves versioned plist names (such aspython3.8.plist), and checks active Homebrew (homebrew.mxcl.*,homebrew.cask.*), MacPorts, and Nix services so CLI tools are not flagged. - Shows a restart banner when removing system daemons,
.kext/.systemextensionbundles, privileged helpers, or hardware plug-ins.
- Duplicate Finder: Master-Detail split view with a 3-stage check (size → 4 KB header SHA-256 → full SHA-256), Quick Look (
Space), high-res photo previews, middle-truncated paths, andSelect All Duplicates/Deselect All. - Disk Space Analyzer: On-demand folder drill-down with breadcrumbs, APFS allocated block sizing (
totalFileAllocatedSizeKey), hardlink deduplication, Quick Look (Space), and category filters (Videos, Audio, Photos, Apps, Documents, Archives). - Both tools skip offloaded iCloud files without downloading them and only scan external volumes you pick.
- Processes & Startup Services: Live CPU/RAM monitor (safeguarding
kernel_taskandlaunchd) plus Startup Services grouping LaunchAgents, LaunchDaemons, and Login Items (sfltool dumpbtm) with code-signature checks (Needs Attentionfilter), disable/bootout, and removal. - Privacy Inspector: Read-only TCC permission audit (
tccutil resetfor user grants), on-demand active socket snapshot for current-UID processes, and read-only browser extension audit with risk ratings across Safari, Chrome, Edge, Brave, Arc, and Firefox. - Live Dashboard: Progressive disk-usage rings animate category progress and live byte counts while scanning.
- On-device
FoundationModelsclassifies items as safe, caution, or danger with streaming explanations and an Apple Intelligence storage overview in Settings. - Siri and Shortcuts automation via 5 App Intents, with authentication required for destructive actions.
- Native Swift 6 / SwiftUI Liquid Glass interface with a
48ptnavigation rail, keyboard shortcuts (⌘1–⌘9,⌘Y,⌘,,⌘F), and 14 languages (including RTL Arabic).
Technical details
- Uninstaller & Sizing: single-pass
ResidualScanIndex(URLResourceValuesbulk snapshot), in-processSecStaticCodesignature verification, iterative POSIX directory sizing (fstatatwithSF_DATALESSand inode cycle guards). - System & Privacy APIs: read-only SQLite URI (
?mode=ro&immutable=1) forTCC.db,libproc(proc_pidfdinfo) socket snapshots, Chromium extension tab navigation via Apple Events (with clipboard fallback). - App Intents:
GetStorageStatusIntent(read-only), plus.requiresAuthentication-guardedCleanCategoryIntent,CleanDeveloperCachesIntent,EmptyTrashIntent, andRunScheduledCleanupIntent. - UI Containers:
GlassEffectContainer,HSplitView,LazyVStack. - Localizations (14): English, Russian, Ukrainian, German, French, Spanish, Italian, Japanese, Simplified & Traditional Chinese, Korean, Polish, Brazilian Portuguese, Arabic.
Complete feature breakdowns live in the MacOSCleaner Wiki.
Prerequisites: macOS 26.0+, Xcode 26+, XcodeGen.
git clone https://github.com/AlexTkDev/MacOSCleaner.git
cd MacOSCleaner/MacOSCleaner
xcodegen
open MacOSCleaner.xcodeprojBuild and run with ⌘R, or run tests with ⌘U.
Compare the downloaded .dmg checksum against the SHA-256 value published on GitHub Releases:
shasum -a 256 MacOSCleaner-*.dmg
codesign -dv --verbose=4 /Applications/MacOSCleaner.app- Not an antivirus: Startup checks inspect signatures, binaries, and launch paths — not malware databases.
- TCC access: User
TCC.dbreads require Full Disk Access; systemTCC.dbis SIP-protected.tccutil resetresets prior decisions rather than blocking future prompts. - Spotlight disabled: App listing still works when
mdutil -a -i offis set;mdfindlookups are skipped and Spotlight fields are thinner. - External volumes: Auto-cleanup never targets
/Volumesroots. Time Machine backups and OS folders (.Spotlight-V100,.Trashes) stay blocked, and read-only/ejected volume errors are reported directly. - Socket audit (
EPERM): Non-rootproc_pidfdinforeads only sockets owned by the current user; root daemons showEPERM. - Browser extensions: Inspection is read-only; clicking opens the browser's management page (or copies its URL if Automation is denied).
- On-demand only: Nothing runs in the background between launches.
If you find MacOS Cleaner useful, please consider giving it a ⭐️ on GitHub. It helps more users discover the project and directly supports ongoing development.
— Star the repository and watch releases for update notifications.
— Ask questions, propose features, and share feedback.
— Report bugs or suggest rule improvements.
— Architecture overview and developer guides.
— Explore repository online and open in Cursor.
Note: Contributions are subject to the project's Contributor License Agreement (CLA).
|
Aleksandr (AlexTkDev) |
Citation reference:
CITATION.cff
Dual-licensed:
- GNU GPLv3 + Commons Clause v1.0 (Non-Commercial) — free solely for personal non-commercial use, academic/educational projects, testing, and upstream contributions. Commercial resale, paid services, and commercial re-licensing are prohibited.
- Commercial License / Permission — required before any commercial use by a legal entity or an individual (including internal business use, enterprise deployment, client work, paid services, or proprietary distribution). Contact the author via GitHub (@AlexTkDev) or LinkedIn for licensing inquiries.
Trademark Notice: The license does not grant permission to use the project names ("MacOSCleaner", "MacOS Cleaner"), logos, icons, or branding in modified versions or third-party redistributions.




