How to create a custom search bar for website? Adding a custom search bar to your website helps in users finding content quickly, increasing conversion rates and also finding out searches that are in demand for your site visitors. It also has its own seo advantages.

custom search bar

Here are some proven methods to create a custom search bar for any website.

  1. Google custom search

    • Go to
    • Under sites to search, enter your website URL and click on create.
    • Under edition, click on get code and copy the code . The code looks similar to the code below.
      <script async src=""></script>
      <div class="gcse-search"></div>
    • You can click on look and feel to customize the look and feel of your search bar.
    • You can add this code to your website and add the search bar to your website.add search bar to website
  2. Expertrec custom search

    • Expertrec custom search is a adfree search engine which provides a clean search experience to your site visitors. (google custom search has ads).
    • Go to search bar for website creator.
    • Enter your website URL.
    • If you have a sitemap, enter the URL.
    • Once the crawl completes, add the code to your website and take live.
    • Expertrec is a paid search bar for website creator which costs 9$ per bar for website
  3. Duckduckgo

    • Using duckduckgo, you can create a custom search engine for your website. The issues with it are that duckduckgo search box takes you visitors to and it contains ads.
    • Go to
    • Enter your website URL.
    • In Prefill enter the placeholder value you want to display inside the search bar.
    • Paste the code to your website. The code looks similar to the code below.
      <iframe src=" Aozata" style="overflow:hidden;margin:0;padding:0;width:408px;height:40px;" frameborder="0"></iframe>

      custom search bar

Add Custom Search to your Website

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like