How do I revert to the default Google search engine in Chrome?

Most sites have a simple querystring search, like http://mysite/search/?query=%s, but Google has some weird query string, and I'm not sure how to restore it.


You can goto

Settings > Manage Search Engines
in Google Chrome and you can add Google Search Engine again. Here's how:

  1. In the bottom you will find
    Other Search Engines
    and below that text boxes for adding a new search engine.
  2. Give Name -
    Keyword -
    and paste the below code in the URL box: {google:baseURL}search?q=%s&{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}

Hope this helps.

| improve this answer | |
  • 2
    No help to me. An installer has managed to overwrite the google:baseURL variable with a link to feed.sonic-search.com, which redirects to search.snapdo.com. Trying to find how I can reset google:baseURL to the correct value. The Google search engine has exactly the text you provide but gets the bad link injected. – Steve Crane Aug 24 '14 at 16:50
  • 2
    That sounds very much like malware. Try running a scan using malwarebytes to kill any infections. – jamesakadamingo Sep 3 '14 at 5:52
  • 2
    New value for Google default: {google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSearchVersion}ie={inputEncoding} – L S Feb 3 '16 at 15:17

Goto Chrome → Settings and click on the Manage Search Engines button.

Add new search engine

  • Name: Google
  • Keyword: google.com
  • Url: {google:baseURL}search?q=%s&{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}

This is what I have set in Chrome.

| improve this answer | |

(My answer from webapps.SA)

If you just want to permanently use google.com (or any other fixed URL) as the search engine, above two methods probably is not what you are looking for. /ncr and adding another search engine both breaks the default realtime search functionality. Try this,

  1. Close all the Chrome/chromium browsers,
  2. go to User Data folder

    • Windows: users\username\appdata\local\google\chromium\User Data (or similar - please edit if this is wrong)
    • Linux: ~/.config/chromium/Default
  3. open the file named LocalState (windows) or Preferences in vim/notepad, and change,

    • last_known_google_url and
    • last_prompted_google_url to whatever the baseURL you want. Ex. "https://www.google.com/"
  4. Save.

For more info look at this old bug report.

| improve this answer | |
  • 2
    On OS X you can find the last_known_google_url in ~/Library/Application Support/Google/Chrome/Default/Preferences – Mennny Apr 2 '15 at 7:59

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