Batch scripts to help users export and import a browser keywords(e.g. Microsoft Edge and Chrome).
Edge
- Edge Custom Search Engines Settings URL:
edge://settings/searchEngines
- Edge User Profile Directory:
%LOCALAPPDATA%\Microsoft\Edge\Default
- Edge Database:
%LOCALAPPDATA%\Microsoft\Edge\Default\Web Data
Chrome
- Chrome Custom Search Engines Settings URL:
chrome://settings/searchEngines
- Chrome User Profile Directory:
%LOCALAPPDATA%\Google\Chrome\User Data\Default
- Chrome Database:
%LOCALAPPDATA%\Google\Chrome\User Data\Default\Web Data
Both Edge and Chrome keywords
table is held withing the sqlite
database mentioned above.
Export_Import_Browser_Keywords.bat:
- EXPORT a browser's
keywords
(customsearchEngines
) to aSQL
file and aCSV
file usingsqlite3
. - IMPORT a browser's
keywords
(customsearchEngines
) from aSQL
file usingsqlite3
. - The config file is BrowserPath.ini.
Output .sql
files are exported to output/keywords.sql
. This same SQL
script can be used for importing back into Edge or Chrome.
Note that all scripts rely on a dependency for having sqlite3
. You can use the file sqlite3.exe
or easy install it via scoop
:
scoop install sqlite
Another useful tool for viewing the Web Data
database contents is sqlitebrowser
which can be installed via:
scoop install sqlitebrowser
This project was inspired by: