Clear browser traces and system history on Mac and Ubuntu
CleanMate removes browsing history, cookies, download lists and recent system traces per browser. Nothing is ticked until you choose it, and passwords and bookmarks stay untouched.
Why privacy traces accumulate
Every web browser records where you go, what you search, which files you download, and keeps cookies and form autofill data. Over time, your system also builds lists of recently opened documents, shell command history, Terminal saved state, and Quick Look thumbnails.
Clearing these traces manually requires opening settings in every browser and hunting for hidden history files in your home folder. Furthermore, a browser’s own clear dialog puts saved passwords and site settings next to history, so it is easy to tick too much. A dedicated privacy tool must separate traces from data you want to keep.
How Privacy cleaning works
- Select your browsers. CleanMate lists each browser on your system: Safari, Chrome, Edge, Brave, Firefox, Arc, Opera, Vivaldi, Chromium, Zen and more. Each browser is grouped separately with its own details.
- Choose what to clear. Pick browsing history, download history, cookies or, on a Mac, autofill data. Passwords and bookmarks are kept. You control exactly what is cleared.
- System and shell history. CleanMate can also clear recent document lists, Terminal and iTerm2 saved states, shell history (bash, zsh, fish), Vim history, and Quick Look thumbnail caches.
- Erase safely. Cleaning skips any browser that is currently running, preventing database corruption. Traces are erased locally on your computer, with no telemetry and no data sent anywhere.



Where Mac and Ubuntu differ
macOS
On macOS, Privacy covers Safari, Chrome, Edge, Brave, Arc, Opera, Opera GX, Vivaldi, Chromium, Dia, Comet, Zen and Firefox, plus the cookies of Orion. System traces include each app’s Open Recent list, Quick Look thumbnails, Gatekeeper download history, Terminal and iTerm2 saved states, and shell, REPL, less and Vim history.
Ubuntu
On Ubuntu, Privacy covers Firefox, Chrome, Chromium, Brave, Edge, Vivaldi and Opera across deb, Snap and Flatpak packages and every profile. System history covers bash, zsh, fish, Recent files, Python, Node and database shell history, Vim history, and the Alt+F2 run dialog and emoji history.
What keeps it safe
- Passwords and bookmarks are kept; on Ubuntu, browser extensions too.
- Nothing in Privacy is ticked by default; you must explicitly choose each browser and trace category.
- Any browser currently running is skipped to protect active browsing sessions and database files.
- Scans stay on your computer: no account, no analytics, no telemetry. The only network connection is the update check.
- Privacy traces that are erased cannot be put back, so CleanMate asks for your confirmation before erasing.
The same from the terminal
Inspect privacy items and erase traces from the command line, skipping open browsers.
| System | Command | What it does |
|---|---|---|
| macOS | cleanmate privacy [--json] | Privacy items per browser (history, cookies, form data), recent items and shell history, with their size. |
| macOS | cleanmate privacy --erase [ID…] [--dry-run] [--yes] [--json] | Erases the items named, skipping a running browser. Erased traces can’t be put back. |
| Ubuntu | cm --scan [--only LIST] | Prints what a Smart Scan finds. LIST: system, logs, user, browser, apps, ai, models, dev, privacy (privacy only when named). |
| Ubuntu | cm --clean [--yes] [--only LIST] | Smart Scan, then cleans the selected items; asks once unless you pass --yes. |
| Ubuntu | cm --dry-run | With any command: shows what would happen and deletes nothing. |
Questions
Will clearing privacy traces delete my saved passwords or bookmarks?
No. Passwords and bookmarks are kept. Only browsing history, download history, cookies and, on a Mac, autofill data are removed.
Can I clean privacy traces while my browser is open?
No. CleanMate automatically skips any browser that is currently running to avoid interfering with open tabs or corrupting SQLite databases.
Is Privacy part of the default Smart Scan?
No. Privacy items are never included in the default Smart Scan, and nothing is ticked for you. You open Privacy separately and select what you want to clear.
Can erased privacy traces be restored with Undo?
No. Unlike files moved to the Trash, privacy traces and database entries are erased permanently. CleanMate requires your explicit confirmation before erasing.
Does CleanMate collect or send any browsing data?
No. There is no account, no analytics and no telemetry; scans stay on your computer. The only network connection is the update check.
Get CleanMate
Free and open source. Review every item before it is removed.
Open source — star it on GitHub: CleanMate for macOS · CleanMate for Ubuntu