How do I add, edit or manage custom search engines in Opera 15 or higher versions (Chromium-based)?

Starting with Version 17 (Developer Preview) Opera includes a Search-Engine Manager, which allows the user to add his own search engines. But the default search engines included with Opera cannot be edited in this way! To edit them use the first part of this answer, Versions 15-16 can also use the second part:

Disabling the default Search Providers (because they take up many keywords I would rather use for other searches - I just left Google with the classical 'g')

To do so, you have to edit the default_partner_content.json which is usually found in C:\Program Files\Opera\resources\ You can edit it by hand, or just replace it's content with the following:

{
  "search_engines": {
    "location": {
      "other": {
        "other": {
          "list": [
            "google_com"
          ],
          "speed_dial_index": 0
        }
      }
    }
  },
  "search_engines_flat": {
    "google_com": {
      "name": "Google Search",
      "keyword": "g",
      "favicon_url": "http://www.google.com/favicon.ico",
      "search_url": "https://www.google.com/search?client=opera&q={searchTerms}&sourceid=opera&ie={inputEncoding}&oe={outputEncoding}",
      "suggest_url": "http://www.google.com/complete/search?client=opera&q={searchTerms}&ie={inputEncoding}&oe={outputEncoding}",
      "post": false,
      "encoding": "UTF-8",
      "uuid": "FF57F01A-0718-44B7-8A1F-8B15BC33A50B",
      "css_resource": "css/searchstyle_google.css"
    },
  },
  "speed_dials": {
  },
  "speed_dial_folders": {
  },
  "speed_dials_flat": {
  }
}

Embedding your custom Search Engines in the Web Data File (usually found in C:\Users\#username#\AppData\Roaming\Opera Software\Opera\ You can edit the SQLite3 format which is shared by Opera in 2 easy ways: Either install Chrome, create your custom searches and copy the Web Data File over to Opera.

Or edit the File using a free SQLite-Editor like http://sourceforge.net/projects/sqlitedbrowser/

(You should copy the Web-Data File to your home-folder, so you have full write-access, or opening the file may fail) There you can enter your own search-engines into the keywords table - most of the fields should be self-explaining...


Opera 21 was just released and I found simply deleting the default_partner_content.json file from the C:\Program Files (x86)\Opera{version_number}\resources directory removed all providers (but Google) from the list. The name of the entry changed from "Google Search" to just "Google", so I would surmise it is some internal "I don't have a default list" default.

Using the Manage Search Engines tool, I was able to make new entries for the deleted keywords (y, b, etc.) but was not able to set them as the default--no Default button appears next to them.