Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've setup a number of special search keywords, such as "yt" so I can type "yt foo" in the URL bar and have it search youtube for "foo". Unlike just about everything else, chrome and chromium don't sync these with your google account. I'd like to setup syncing for these myself, but grepping through ~/.config/chromium I can't find any reference to the keyword searches I've setup. I assume they're stored in binary format somewhere... any way to extract them, save them, and be able to import them on another box later? I see a sqlite3 database in there so I figure it might be doable.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The Chrome search keywords are stored in the Web Data SQLite file inside the User Data folder:

  • Mac OS X: ~/Library/Application Support/Google/Chrome/Default/Web Data

  • XP: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default\Web Data

  • Vista/7: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Web Data

  • Linux: ~/.config/google-chrome/Default/Web Data

share|improve this answer

Inside that Web Data SQLite database file, the table keywords has the list of search keywords.

You can edit it using anything that can use SQLite databases (e.g. by hand in Microsoft Access with an SQLite ODBC plugin, scripting a solution with Python's sqlite3 module, etc.)

Unfortunately, Chrome keeps the file locked while it is running, so I don't think an automatic sync solution outside of Chrome would be possible.

If you really want the whole skinny on Chrome's Web Data database, you could comb through that part of the Chromium source code for hints.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.