Skip to content
FossShelf
Home / Categories / For Security Teams

BleachBit

Open source disk cleaner and privacy tool for Windows and Linux.

Replaces Ccleaner, Glary Utilities, Cleanmypc

7.51K starsGPL-3.0reviewed 22 Oct 2026last commit 15 Nov 2026
Screenshot of BleachBit

Who it's for

Privacy-conscious individuals clearing tracking data

BleachBit cleans cookies, saved passwords, browsing history, and application traces across multiple browsers and applications in one pass. The preview step shows the full list of files before any deletion, so you confirm exactly what is removed.

You only need to clear one browser's history occasionally. The browser's own settings handle that without a separate tool.

System administrators automating fleet cleanup via CLI

BleachBit's CLI accepts named cleaners as arguments and returns an exit code, making it scriptable from cron jobs or configuration management workflows. Administrators can target specific applications across multiple machines without building custom file-deletion scripts.

Your environment uses OS-level provisioning that wipes user profiles on logout or reimages machines regularly. BleachBit adds value where fine-grained per-application targeting is needed on persistent installs.

Power users targeting unlisted applications with custom rules

The CleanerML format is an XML dialect for defining which files, folders, and registry keys to clean for any application. Users maintain their own CleanerML libraries for tools BleachBit does not ship definitions for, and the changes take effect without rebuilding the application.

You only clean well-supported applications such as major browsers and system temp folders. The built-in definitions cover those without custom configuration.

IT professionals sanitizing drives before reuse or disposal

Secure deletion and free-space wiping prepare drives for repurposing or disposal by overwriting file contents before removal. BleachBit handles the file-level overwriting step that standard OS deletion skips.

Your use case requires certified data destruction meeting NIST 800-88 or DoD 5220.22-M standards. BleachBit's overwriting is not certified; dedicated drive-wiping tools are the standard for compliance scenarios.

The problem

Disk clutter is invisible until it becomes a problem. Temporary files, browser caches, application logs, and installer leftovers accumulate over time, occupying gigabytes across paths most users never open. Cleaning the wrong file can break an application; leaving everything risks performance and privacy. The privacy side is harder to address. Deleting a file in the standard way leaves its contents on disk, readable by forensic tools or anyone with physical access. Browser cookies, saved passwords, and application traces persist beyond session end. Free-space sectors hold remnants of files the OS reports as gone.

How it works

Preview mode before any deletion

Every clean operation shows the complete list of files scheduled for removal, with file sizes, before any deletion runs. You review the list, toggle individual cleaners on or off, and confirm. Nothing is deleted without your approval, which reduces the risk of removing files you need.

CleanerML custom rules for any application

BleachBit ships with cleaner definitions for hundreds of applications, and you can write custom CleanerML XML rules to target any application or file pattern. CleanerML files define which files, folders, and registry keys to remove. You can maintain a personal library of rules for applications not covered by the default set.

Secure file shredding with overwrite modes

Files can be overwritten before deletion to make their contents unrecoverable by standard forensic tools. A fast mode skips overwriting for speed when privacy is not the concern. Secure mode is appropriate for sensitive documents on drives being repurposed, shared, or discarded.

CLI and scripting support for automation

The command-line interface accepts named cleaners as arguments and exits with a status code, making it scriptable from cron jobs or system administration tools. Administrators can automate BleachBit runs across multiple machines by wrapping it in shell scripts or configuration management workflows.

Free-space wiping to prevent file recovery

Beyond individual files, BleachBit overwrites all free disk space to prevent recovery of previously deleted data. This step addresses sectors the OS marks as available but has not yet rewritten, which standard file deletion leaves intact.

Multi-browser and application coverage in one pass

BleachBit cleans cache, cookies, history, download lists, and saved form data across major browsers including Firefox, Chrome, and Edge, as well as dozens of other applications. All configured targets run in a single operation.

Features

  • Preview mode before any deletion
  • CleanerML custom rules for any application
  • Secure file shredding with overwrite modes
  • CLI and scripting support for automation
  • Free-space wiping to prevent file recovery
  • Multi-browser and application coverage in one pass

How to install

Install BleachBit from source on Linux after fetching the system dependencies.

make install-deps
make -C po local
python3 bleachbit.py

Recommended for this setup

Strengths

  • GPL-3.0 with no paid tier or feature gating: BleachBit is licensed under GPL-3.0 and costs nothing to download, install, or use at any scale. All features are available from the first install, offline, with no account or subscription required.
  • 18+ years of active maintenance: The repository has been maintained for over 18 years, with the last code push on 2026-10-22. That longevity means the cleaner definitions cover a long history of application versions and the codebase has stayed compatible across multiple Windows generations.
  • Endorsed by Bruce Schneier and reviewed by PCWorld: Security researcher Bruce Schneier recommended BleachBit in Wired in 2013. PCWorld reviewer Erez Zukerman called it 'a solid, no-nonsense utility.' These endorsements come from sources that evaluate tools on evidence rather than marketing.
  • Installs cleanly without background processes: BleachBit installs only itself and runs only when you launch it. The installer adds no background services or system hooks, and the tool makes no network calls during operation.

Trade-offs

  • No built-in scheduler or daemon mode: BleachBit runs on demand; there is no built-in scheduler or background service. Automated periodic cleanup requires a wrapper: a cron job on Linux or a Task Scheduler entry on Windows. For users who want set-and-forget maintenance, this adds a configuration step.
  • 331 open issues, including some outdated application definitions: The repository carries 331 open GitHub issues as of October 2026. Edge cases with specific application versions or unusual file paths may not be covered by the built-in definitions, and some cleaner entries accumulate without timely fixes.
  • Windows and Linux only; no macOS support: BleachBit does not run on macOS. Users on Apple hardware who need disk-cleaning and privacy management must look elsewhere; the project has no macOS port.

Tech stack

Languages
Python, NSIS, CSS, Shell, Rich Text Format, Makefile, PowerShell, Batchfile
Frameworks
—
Databases
—
Tooling
—

FAQ

Is BleachBit free to use?

Yes. BleachBit is licensed under GPL-3.0 and free to download, install, and use with no paid tiers, no subscription fees, and no feature restrictions. All capabilities are available from the first install, with no account required.

Does BleachBit work on macOS?

No. BleachBit supports Windows and Linux only. macOS users need a different tool for disk cleanup and privacy management; the BleachBit project has no macOS port.

How does BleachBit's secure deletion work?

Secure deletion overwrites a file's contents on disk before removing it, making recovery with standard forensic tools difficult. The fast mode skips overwriting for speed. Secure mode is appropriate when you are disposing of a drive or cleaning up sensitive documents before handing off hardware.

Is it safe to delete files with BleachBit?

BleachBit shows every file it will remove in a preview step before any deletion runs. Reviewing that list before confirming reduces the risk of removing needed files. The tool targets documented temp file locations and application caches, not arbitrary system files.

What is the difference between BleachBit and CCleaner?

BleachBit is open source under GPL-3.0 and free with no paid tier; CCleaner is a proprietary tool with a free version and paid subscription plans. BleachBit also runs on Linux while CCleaner is Windows-focused. BleachBit supports custom CleanerML rules and a full CLI scripting path; CCleaner's scripting support is limited.

Similar tools

More in Security Teams