Google-chrome – Delete duplicates from over 150,000 bookmarks on Google Chrome

bookmarksgoogle-chromesync

I believe I tried all the bookmark management apps on the Chrome web store, deleted part of the bookmarks manually (yes, I even attempted that), organize them within folders and all, but they just came back every time I launched Chrome.

If you're wondering how I ended up with 150,000 bookmarks I'm not sure either. All I know is that they'd been imported from Firefox at first, with StumbleUpon bookmarks and all, and they just seem to have duplicated themselves with every sync since maybe… 2009. I've got a lot of empty folders in the mix as well, and they seem to increase in number too each time I take a look at my bookmarks.

Right now I'm running AM-DeadLink, who has been trying to delete the duplicates for maybe 10 hours now, and I'm not sure if it's even working any more since the Bookmarks file size in AppData/Local/Google/Chrome hasn't dropped from 51mb.

I don't want to delete all my bookmarks since I have important stuff in there. What I need is to get rid of all those duplicates for good. Any ideas?


Edit: So, a year later, the problem remains, and now I have another question:

Right now there's a total of 151739 bookmarks in my account as Chrome Sync indicates, but the categories under Chrome Sync are not individually editable or removable. The only editing option I get is to delete the sync data as a whole.

I would like to delete only the bookmarks and leave the rest for now until I figure out what I want to keep. How do I delete the bookmarks without touching anything else? Is that possible?

Best Answer

I'm in the process of dealing with this myself. I had 260,000 bookmarks, the vast majority of which were "phantoms" -- folders with no name, many duplicates, etc. Every time I started Chrome, it would consume many gigabytes of RAM, to the point of really impacting my productivity.

I decided to delete all bad bookmarks, but I had to wipe out the cloud copy of my Chrome sync data entirely to get the change to "stick". I don't have a quick solution, but I believe the following works.

I started with a computer that had a complete copy of my Chrome data. I backed up the profile directory with all that data. (See Where are the user profile directories of Google Chrome located in?).

I started Chrome, waited for it to settle, went to settings in Chrome and turned off sync. Then I went to https://www.google.com/settings/chrome/sync and clicked "Stop and Clear", which disables sync and deletes all your Chrome profile data (including all the duplicate and phantom bookmarks) from the Google Cloud, but it should still be stored your Chrome profile on this computer.

I used the bookmark manager to manually delete all the phantom bookmarks. Luckily, most of mine were organized into duplicate folders so I only had a dozen or so things to delete. It still took a long time. The mass of phantom bookmarks brought Chrome to a crawl -- I'd right click on one of these duplicate folders and it was sometimes minutes before the menu with the "delete" option appeared.

So after getting rid of all those bookmarks on that one machine, I exited Chrome just to give it a chance to recover. I restarted Chrome, went into settings and turned sync back on. It uploaded the remaining bookmarks plus the passwords etc. that are still saved on that computer.

Now on each other computer, I exited Chrome, moved my Chrome profile data to the trash (because those copies of the profile still have all the phantom bookmarks), restarted Chrome, signed in, and just waited until sync could restore all my information.

FYI: I've been looking all over for a way to force Chrome to sync everything right this minute. I've found plenty of reasonable suggestions, but so far none of them work. It sometimes takes minutes or hours before the sync is complete, go figure.

Related Question