Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Transfer Google Chrome Keywords Web Browsers
I recently downgraded from Google Chrome 6.x (a developmental version) back to the officially released 5.x version. In the process all of my Firefox style keywords (aka searches) were lost. You can use the following process to transfer your old keywords to a new installation of Chrome or maybe to a different machine on which you are also using Google Chrome. I took advantage of the built-in sqlite3 database utility to do this.

Note: all processes must take place when Chrome is not running.

Export the keywords from your original Chrome install: Google Chrome stores its keyword data in ~/Library/Application Support/Google/Chrome/Default. Navigate to that location in the Terminal and issue the following command:
sqlite3 "Web Data".dump > keywords.sql
This will export your current data to a SQL command file. If you want to transfer all of the data including autofill data, etc. to your new installation or location then skip the next step below.

Open the keywords.sql file you just created in your favorite text editor and delete everything between 'BEGIN TRANSACTION' and the third 'INSERT INTO keywords line' (which should be the Bing entry). Your first keyword's first value should be 5. Scroll down to the last 'INSERT INTO keywords' statement and delete everything after that down to but not including the last line 'COMMIT', and then save the file.

Transfer the keywords.sql file to the new location or if you are installing into a new Chrome install, then move your old Default directory out of the way, launch Google Chrome once to create a new Default directory, and do a single search (it doesn't matter where) to create the new Web Data file where the data is stored. Quit Google Chrome. Transfer your keywords.sql file to the new location.

In the Terminal, navigate to the new Default directory and run the following command:
sqlite3 "Web Data" < keywords.sql
If you get errors about 'PRIMARY KEY' it means you have a duplicate numbered entry for search. If you are starting from scratch you probably won't have that problem.

Launch Google Chrome and open Preferences » Search to verify your keyword searches were transferred.

[crarko adds: I haven't tested this one.]
    •    
  • Currently 2.12 / 5
  You rated: 2 / 5 (17 votes cast)
 
[6,521 views]  

Transfer Google Chrome Keywords | 4 comments | Create New Account
Click here to return to the 'Transfer Google Chrome Keywords' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Transfer Google Chrome Keywords
Authored by: mattswain123 on Jul 16, '10 06:53:26PM
Slightly off topic, but I had a go at making a Safari extension that adds keyword search support. http://www.macosxtips.co.uk/extensions/keywordsearch.safariextz

[ Reply to This | # ]
Transfer Google Chrome Keywords
Authored by: Crush on Jul 18, '10 02:01:09PM

Am I the only person who can not get this to work?



[ Reply to This | # ]
Transfer Google Chrome Keywords
Authored by: bluehz on Jul 22, '10 08:38:20PM

Took me several tries.. all ducks must be lined up just so.

Tell us where/what's causing the issue.



[ Reply to This | # ]
Transfer Google Chrome Keywords
Authored by: Crush on Jul 22, '10 08:58:06PM

I quit Google Chrome, open Terminal, 'cd' to the specified directory, issued the sqlite3 command. Nothing happens at that point. I let it sit for about 20 minutes and nothing happens.

How long is it supposed to take?



[ Reply to This | # ]