Add custom search engines in Firefox

Firefox Firefox છેલ્લે સુધારાયેલ: 3 days ago
No one has helped translate this article yet. If you already know how localizing for SUMO works, start translating now. If you want to learn how to translate articles for SUMO, please start here.

You can add new search engines in Firefox to give you the freedom to customize your search experience with the tools that work best for you. For example, you can build a specific search engine with a website you frequently visit (think YouTube or IMDB).

Starting in Firefox version 140, you can add custom search engines from the search field of supported websites, or in Firefox settings by entering a custom URL. This article explains how to do this.

Add a custom search engine from a supported website

A supported website is any website that Firefox recognizes as a searchable source. Such websites must include either an OpenSearch description file or a tag in their code that points to a search engine.

Tip: Right-click the search bar to check if a site is supported.
  1. Right-click the search field and select Add Search Engine.
    addsearchengine
  2. Add a custom Search engine name and add a Keyword (it’s optional).
    searchengine
  3. Click Add Engine.

Add a custom search engine in Settings

You can add custom search engines from websites in Firefox, even if they’re not supported.

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (or Preferences, in some cases).Click the menu button Fx89menuButton and select Settings.
  2. Go to Search.
    searchshortcut
  3. Scroll down to Search Shortcuts.
  4. Click Add.
  5. Fill in the Search engine name with a name for your custom search engine.
    searchenginemenu
  6. In the URL box, copy & paste the URL of the custom search engine.
  7. Replace the URL’s search tag with %s.
  8. Add a keyword (this is optional).
  9. Click Add Engine to save.
Note: You can find the URL’s search tag by performing a unique search with an easy-to-spot word, such as “ZZZZZZ”. The “ZZZZZZ” in the URL is that URL’s search tag.

Add a custom search engine in Settings

You can add custom search engines from websites in Firefox, even if they’re not supported.

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (or Preferences, in some cases).Click the menu button Fx89menuButton and select Settings.
  2. Go to Search.
  3. Scroll down to Additional search engines.
    fx152additionalsearchengines
  4. Click on Add search engine.
  5. Fill in the Search engine name with a name for your custom search engine.
    searchenginemenu
  6. In the URL box, copy & paste the URL of the custom search engine.
  7. Replace the URL’s search tag with %s.
  8. Add a keyword (this is optional).
  9. Click Add Engine to save.
Note: You can find the URL’s search tag by performing a unique search with an easy-to-spot word, such as “ZZZZZZ”. The “ZZZZZZ” in the URL is that URL’s search tag.

Frequently asked questions

Why does the URL need to contain %s?

%s is a placeholder that Firefox replaces with your search query. For example, if you enter firefox settings as the search term at https://developer.mozilla.org the browser will go to https://developer.mozilla.org/search?q=firefox+settings.

What’s the purpose of the keyword?

A keyword is a shortcut you type in the address bar to trigger that custom search engine. For example: google privacy tools → searches Google instead of your default engine. The keyword is optional, and it is not required for the custom search engine to work.

Related articles

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More