Create a search engine

To create a custom search engine from scratch, you'll need to define a name and add some sites to search.

Create a new search engine:

  1. On the Google Custom Search home page, click New search engine.
  2. In the Sites to search section, add the pages you want to include in your search engine. You can include any sites you want, not just sites you own. You can include site URLs or page URLs, and you can also get fancy and use URL patterns.

    The name of your search engine will be automatically generated based on the URLs you select. You can change this name at any time.

  3. Select the language of your search engine. This defines the language of the buttons and other design elements of your search engine, but doesn't affect the actual search results.
  4. Click Create.
  5. To add your search engine to your site, click Get Code on the next page. Copy the code and paste it into your site wherever you want your Custom Search Engine to appear.