The best open source alternative to CCleaner is Mole. If that doesn't suit you, we've compiled a ranked list of other open source CCleaner alternatives to help you find a suitable replacement. Other interesting open source alternatives to CCleaner are: Pearcleaner and BleachBit.
CCleaner alternatives are mainly System Cleanup & Optimization. Browse these if you want a narrower list of alternatives or looking for a specific functionality of CCleaner.
Native macOS app that cleans caches, uninstalls apps with leftovers, maps disk usage, and shows live system metrics. One-time purchase, lifetime updates.

Mole is a native Mac app that replaces a stack of separate utilities. It handles cache cleanup, app uninstallation, disk analysis, system optimization, and live status monitoring, all without a subscription. One $19 purchase covers two Macs and includes free updates for life.
The app is organized around five distinct tools, each focused on a single job:
Mole also includes fan control, a Keep Screen On toggle, Battery Care, and privacy alerts. It's a practical alternative to running CleanMyMac, DaisyDisk, and iStat Menus separately. A free, open-source CLI exists for terminal workflows. The Mac app requires macOS 14 or later and Full Disk Access to reach protected Library folders, though it still functions with reduced scope without those permissions.
Mac app uninstaller that finds and removes associated files, orphaned leftovers, and development artifacts across macOS 13 and later.

Pearcleaner is a Mac desktop app that handles what the default drag-to-Trash uninstall misses. When you delete an app on macOS, support files, caches, preferences, and other associated data often stay behind scattered across your system. Pearcleaner finds and removes all of it.
It supports drag-and-drop uninstalling, a Finder extension for right-click removal, CLI support, and deep link automation. You can view installed apps in list or grid mode, with badges identifying web and iOS apps.
Key capabilities:
Customization covers theme colors, adjustable search sensitivity, and include/exclude rules for which directories get scanned. Full Disk Access permission is required to search system locations, and a privileged helper handles actions on protected folders.
Pearcleaner runs on macOS Ventura (13.x) through Sequoia (15.x) and is licensed under Apache 2.0 with a fair-code restriction that prohibits monetization of the app or any modified version.
BleachBit frees disk space & protects privacy by deleting cache, cookies, history & temp files from Firefox, Chrome & more. Open source for Linux/Windows.

BleachBit is a powerful system cleaner designed for both Linux and Windows platforms. It helps you free up disk space quickly and efficiently while ensuring your privacy is safeguarded. With BleachBit, you can clear cache, delete cookies, erase Internet history, shred temporary files, delete logs, and eliminate other junk files you weren't even aware of.
BleachBit supports thousands of applications, including popular ones like: Firefox, Adobe Flash, Google Chrome, Opera and more. Beyond simple file deletion, BleachBit offers advanced features to ensure thorough cleaning and data protection.
Key Features:
BleachBit is not just free but also open-source, allowing users to contribute and improve it continually. Its comprehensive features make it a valuable tool for anyone looking to maintain a clean and efficient system while protecting their privacy.
Managed Open Source software hosting in the EU: secure, compliant, fast.
Start using Open Source today