Open Source Privacy Tool

Surgically Clean
Chrome History

A blazing-fast CLI tool to inspect, preview, and remove browsing history, visit records, search keywords, and autofill entries for specific domains. Cross-platform. Profile-aware. Safe by default.

5 Data Types Cleaned
3 Platforms Supported
0 Dependencies
chrome-cleaner — bash
$
Scroll to explore

Everything You Need for
Precise History Cleanup

Built with safety and precision in mind. Preview before you delete, target specific profiles, and clean across all data types.

Domain Targeting

Surgically remove history for specific domains. Only matching records are affected — everything else stays untouched.

Dry Run Mode

Preview exactly what will be removed before committing. See a detailed impact report with zero risk to your data.

Multi-Profile Support

Detect and list all Chrome profiles. Target a specific profile by name — perfect for shared machines or work/personal setups.

Deep Clean

Cleans across five data types: history URLs, visit records, search keywords, autofill entries, and URL segments.

Cross-Platform

Native support for Linux, macOS, and Windows. Automatically detects Chrome's data directory on each platform.

Safety First

Refuses to run if Chrome is open — preventing database corruption. Requires explicit confirmation before any deletion.

Install in Seconds

Download the pre-built binary for your platform, or build from source with Go.

bash
# Download and install the latest release
$ curl -sL https://github.com/OpScaleHub/chromeHistoryCleaner/releases/latest/download/chrome-cleaner-linux-amd64.tar.gz | tar xz
$ sudo mv chrome-cleaner /usr/local/bin/

# Verify installation
$ chrome-cleaner -version
bash
# Download and install (auto-detects Intel or Apple Silicon)
$ ARCH=$([ "$(uname -m)" = arm64 ] && echo arm64 || echo amd64)
$ curl -sL https://github.com/OpScaleHub/chromeHistoryCleaner/releases/latest/download/chrome-cleaner-darwin-${ARCH}.tar.gz | tar xz
$ sudo mv chrome-cleaner /usr/local/bin/

# Verify installation
$ chrome-cleaner -version
powershell
# Download and extract
PS> Invoke-WebRequest -Uri https://github.com/OpScaleHub/chromeHistoryCleaner/releases/latest/download/chrome-cleaner-windows-amd64.zip -OutFile chrome-cleaner.zip
PS> Expand-Archive chrome-cleaner.zip -DestinationPath C:\Tools\

# Add to PATH
PS> [Environment]::SetEnvironmentVariable('Path', $env:Path + ';C:\Tools', 'User')
bash
# Clone and build from source (requires Go 1.24+)
$ git clone https://github.com/OpScaleHub/chromeHistoryCleaner.git
$ cd chromeHistoryCleaner
$ go build -o chrome-cleaner .

# Run directly
$ ./chrome-cleaner --help

Simple, Powerful Commands

Three commands. That's all you need. List profiles, preview changes, then clean.

01

List Chrome Profiles

Discover all Chrome profiles on your system with their names and associated email addresses.

terminal
$ chrome-cleaner -list-profiles

Directory            | Name                 | Email
-----------------------------------------------------------------
Default              | Personal             | user@gmail.com
Profile 1            | Work                 | user@company.com
02

Preview with Dry Run

See exactly what would be removed before making any changes. The -dry-run flag ensures no data is modified.

terminal
$ chrome-cleaner -site example.com -dry-run

--- Impact Report for 'example.com' (Profile: Default) ---
History URLs:      47
Visit Records:     156
Search Keywords:   12
Autofill entries:  8

Dry run completed. No data was modified.
03

Clean a Specific Profile

Target a specific profile and domain. You'll be prompted for confirmation before any data is deleted.

terminal
$ chrome-cleaner -site example.com -profile "Profile 1"

--- Impact Report for 'example.com' (Profile: Profile 1) ---
History URLs:      23
Visit Records:     89
Search Keywords:   5
Autofill entries:  3

Proceed with deletion? (y/N): y
Cleanup complete. Please restart Chrome.

Runs Everywhere Chrome Does

Single binary, zero dependencies. Automatically detects Chrome's data directory on each platform.

Linux

~/.config/google-chrome/

amd64 / arm64

macOS

~/Library/Application Support/Google/Chrome/

Intel / Apple Silicon

Windows

%LOCALAPPDATA%\Google\Chrome\User Data\

x64 / ARM64

Ready to Take Control of
Your Browser History?

Open source. Free forever. One command away.