Clean your Windows disk without second-guessing what is safe.
🧹 Fast, private and reversible disk cleanup for Windows. Built with Rust and Tauri.
Download for Windows · See how it works · فارسی · Report a bug · Contribute
When a Windows drive fills up, one tool shows a maze of folders and another asks you to delete blindly. Purify gives you a calmer path: understand the space, review the reason, then clean with a way back.
| 01 · Understand | 02 · Decide | 03 · Undo |
|---|---|---|
| Scan a drive and see the largest consumers at a glance. | Get explainable suggestions with a confidence level: Safe, Likely safe, or Review needed. | Approved items move to a local quarantine. Restore them whenever you want; permanent purge is explicit. |
🗺️ Disk Map · A fast treemap of the space that matters, using a direct NTFS/MFT reader when elevated and a portable parallel walker otherwise.
🛡️ Safe Cleanup · 30+ built-in signatures for caches, leftovers and developer clutter, each with a plain-language reason.
↩️ Quarantine · Cleanup is reversible by default. There is no silent delete and no “are you sure?” theatre after the fact.
🗂️ Organizer · Preview and sort loose files in Downloads with one-command undo.
🚦 Disk Guardian · See storage pressure before it becomes an emergency.
🔒 Private by design · Offline, no telemetry, no registry edits, and no network dependency in the core product.
| Traditional folder viewers | One-click cleaners | Purify | |
|---|---|---|---|
| Understand where space goes | Partial | Rarely | Disk map + largest consumers |
| Explain what can be removed | No | Sometimes | Reason + confidence on every suggestion |
| Recover after cleanup | Manual | Usually no | Local quarantine + restore |
| Work offline | Yes | Varies | Yes, by design |
| Built for developers | No | No | CLI, rules in TOML, Rust workspace |
- Download the latest Windows release.
- Open Purify and choose a drive or folder.
- Press Scan to understand the space, then Analyze for suggestions.
- Review the reason and confidence. Press Clean to move approved items to quarantine.
Nothing is deleted by default. You stay in control at every step.
The CLI is useful for read-only checks, automation and CI diagnostics:
purify scan C:\ --top 20
purify analyze C:\Users\me
purify clean C:\Users\me # preview only
purify clean C:\Users\me --apply # reversible quarantine
purify restore <id>With administrator rights, Purify reads the NTFS Master File Table directly instead of walking every file. Without admin it uses a parallel walker. Matching is compiled once, paths are normalized once, and directory sizes are computed only when needed.
On a representative 7,400-file profile, release builds measured roughly 20 ms for scan and 28 ms for analyze. Results depend on the drive and hardware; the benchmark method lives in ARCHITECTURE.md.
| Area | Responsibility |
|---|---|
purify-core |
Rules, suggestions, quarantine, organizer and guardian; safe Rust only |
purify-ntfs |
The only crate with raw volume/MFT access |
purify-cli |
Scriptable command-line interface |
purify-desktop |
Tauri 2 desktop experience |
knowledge-base/ |
Community-editable cleanup signatures |
git clone https://github.com/Mahdi-mortazavi/purify.git
cd purify
cargo test --workspace
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warningsCI runs formatting, Clippy, unit and integration tests, desktop builds on Windows and Ubuntu, and dependency-policy checks on every pull request.
You do not need to be a Rust expert to make Purify better. A cleanup signature in knowledge-base/ is a valuable contribution when it clearly states what it targets, why it is safe, and how it is tested.
- Read
CONTRIBUTING.mdandARCHITECTURE.md. - Pick an issue labelled
good first issueor propose a focused improvement. - Keep the safety boundary explicit and include a reproducible test when behaviour changes.
Bug reports and UX feedback are welcome in Issues. Please include your Windows version, whether the app was elevated, the command or screen involved, and a safe reproduction path.
🧠 More Windows-safe signatures with better explanations
📦 Signed MSIX / Winget distribution
♿ Accessibility and keyboard-first polish across the desktop UI
🧾 A lightweight review history for every cleanup run
🚀 Releases · Issues · Discussions
🧭 Architecture · Contributing · Security
🌐 فارسی: README.fa.md
MIT © Mahdi Mortazavi. See LICENSE.