This repository includes a local cleanup tool for removing Chrome saved tab groups directly from the profile sync database.
Use it only when Chrome is fully closed.
The tool deletes LevelDB keys with the prefix:
saved_tab_group-dt-*
For the selected Chrome profile, this removes saved tab groups that are not exposed through the normal Chrome Extensions API.
- Fully close Chrome before running the tool.
- Back up the full Chrome profile before any cleanup.
- Run the tool in dry-run mode first.
- Review the generated report before using
-apply. - If Chrome Sync has
Open Tabsenabled, Chrome may restore saved groups after cleanup.
Example full backup of Chrome user data:
$src = Join-Path $env:LOCALAPPDATA 'Google\Chrome\User Data'
$dest = 'E:\Backups\Chrome\User Data'
robocopy $src $dest /MIR /R:1 /W:1 /XJ /NFL /NDL /NP /MT:16- Go installed
- Chrome fully closed
- Access to the local Chrome profile directory
Install Go dependencies once:
go mod tidyTo count matching saved tab group keys for a profile:
go run ./tools/inspect_saved_tab_groups.go -profile DefaultExample for another profile:
go run ./tools/inspect_saved_tab_groups.go -profile "Profile 10"Dry-run mode only reports what would be deleted.
go run ./tools/clean_saved_tab_groups.go -profile DefaultThis writes a report under:
reports\saved-tab-groups\
After reviewing the dry-run report:
go run ./tools/clean_saved_tab_groups.go -profile Default -applyThis deletes matching saved_tab_group-dt-* keys and prints the remaining count.
The tool writes a timestamped report for both dry-run and apply mode.
Examples:
reports\saved-tab-groups\Default-dry-run-20260311-224334.txtreports\saved-tab-groups\Default-apply-20260311-224344.txt
Each report includes:
- profile name
- database path
- whether
-applywas used - number of matched keys
- full list of matched keys
If needed, restore the full backup after closing Chrome:
$src = 'E:\Backups\Chrome\User Data'
$dest = Join-Path $env:LOCALAPPDATA 'Google\Chrome\User Data'
robocopy $src $dest /MIR /R:1 /W:1 /XJ /NFL /NDL /NP /MT:16If Chrome restores the groups after cleanup, check Chrome Sync settings.
The most likely cause is sync for Open Tabs.
Recommended:
- Open Chrome Sync settings.
- Turn off
Open Tabs. - Close Chrome again.
- Run the cleanup tool.
- Reopen Chrome and confirm the groups are gone.
tools/inspect_saved_tab_groups.gotools/clean_saved_tab_groups.goreports/saved-tab-groups/
This tool currently targets only:
saved_tab_group-dt-*
It does not delete unrelated sync records, bookmarks, history, tabs, passwords, or other Chrome profile data.