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.
Table of Contents
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.
- Go to a website that includes a search bar.
- Right-clickRight-click (or hold down the Control key while you click)
the search field and select from the drop-down menu.
- Add a name for your custom search engine and, if you wish, an optional keyword.
- Click .
Add a custom search engine in Settings
You can add custom search engines from websites in Firefox, even if they’re not supported.
- In the Menu bar at the top of the screen, click and select (or , in some cases).Click the menu button
and select .
- Select on the left.
- Go down to Search Shortcuts and click .
- Fill in the Search engine name with a name for your custom search engine.
- In the URL box, copy & paste the URL of the custom search engine.
- For example: https://example.com/
- Replace the URL’s search tag with %s.
- For example: https://example.com/search?q=%s
- Add a keyword (this is optional).
- Click Add Engine to save.
- In the Menu bar at the top of the screen, click and select (or , in some cases).Click the menu button
and select .
- Select on the left.
- Go down to Additional search engines and click .
- Fill in the Search engine name with a name for your custom search engine.
- In the URL box, copy & paste the URL of the custom search engine.
- For example: https://example.com/
- Replace the URL’s search tag with %s.
- For example: https://example.com/search?q=%s
- Add a keyword (this is optional).
- Click Add Engine to save.
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.