Where Do Chrome/Chromium Store Search Keywords?

backupgoogle-chromereverse-engineersearchsync

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.

Best Answer

The Chrome search keywords are stored in the Web Data SQLite file inside the User Data folder. The exact path depends on the OS you are using:

macOS

~/Library/Application Support/Google/Chrome/Default/Web Data

Windows XP

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

Windows Vista / 7 / 10

C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Web Data

Linux

~/.config/google-chrome/Default/Web Data
Related Question