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.
Built with safety and precision in mind. Preview before you delete, target specific profiles, and clean across all data types.
Surgically remove history for specific domains. Only matching records are affected — everything else stays untouched.
Preview exactly what will be removed before committing. See a detailed impact report with zero risk to your data.
Detect and list all Chrome profiles. Target a specific profile by name — perfect for shared machines or work/personal setups.
Cleans across five data types: history URLs, visit records, search keywords, autofill entries, and URL segments.
Native support for Linux, macOS, and Windows. Automatically detects Chrome's data directory on each platform.
Refuses to run if Chrome is open — preventing database corruption. Requires explicit confirmation before any deletion.
Download the pre-built binary for your platform, or build from source with Go.
# 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
# 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
# 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')
# 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
Three commands. That's all you need. List profiles, preview changes, then clean.
Discover all Chrome profiles on your system with their names and associated email addresses.
$ chrome-cleaner -list-profiles
Directory | Name | Email
-----------------------------------------------------------------
Default | Personal | user@gmail.com
Profile 1 | Work | user@company.com
See exactly what would be removed before making any changes. The -dry-run flag ensures no data is modified.
$ 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.
Target a specific profile and domain. You'll be prompted for confirmation before any data is deleted.
$ 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.
Single binary, zero dependencies. Automatically detects Chrome's data directory on each platform.
~/.config/google-chrome/
amd64 / arm64~/Library/Application Support/Google/Chrome/
Intel / Apple Silicon%LOCALAPPDATA%\Google\Chrome\User Data\
x64 / ARM64Open source. Free forever. One command away.