How to Configure Custom Search Engines and Site Search Shortcuts in Google Chrome

Power users frequently search specialized knowledge bases, internal corporate documentation wikis, GitHub repositories, and e-commerce catalogs multiple times a day. Manually navigating to a website, waiting for the homepage to render, locating its search bar, and submitting a query wastes valuable seconds. Google Chrome features a powerful Site Search engine that integrates external website queries directly into the address bar (Omnibox). By defining custom keyword shortcuts, users can query any website instantly by typing a short trigger keyword followed by their search terms.

Understanding How Chrome Site Search Query URLs Work

When you perform a search on any website, the web server processes the request via URL query parameters. For example, searching for “networking” on an internal wiki or search engine generates a destination URL containing the search term (e.g., https://example.com/search?q=networking).

Chrome allows you to substitute the actual query string with the dynamic variable %s. When you invoke the custom search engine from the address bar, Chrome replaces %s with whatever text you type, routing you directly to the filtered results page instantly.

Accessing Chrome Search Engine Settings

To configure and review your search shortcuts:

  1. Click the three-dot menu (â‹®) in the top-right corner of Google Chrome and choose Settings.
  2. In the left-hand navigation menu, select Search engine.
  3. Click Manage search engines and site search.
  4. Here, Chrome displays two sections:
    • Search engines: Primary default search providers (Google, Bing, DuckDuckGo).
    • Site search: Custom search shortcuts and automatically discovered search engines.

Adding a Custom Site Search Shortcut Manually

To create a fast shortcut for any website:

  1. In the Site search section, click the Add button.
  2. Complete the three configuration fields:
    • Name: A descriptive label for the search engine (e.g., GitHub Code Search).
    • Shortcut: A concise keyword trigger you will type into the Omnibox (e.g., gh). Keep it short and easy to type.
    • URL with %s in place of query: The target search URL with %s replacing the keyword. For GitHub code search, enter:
      https://github.com/search?q=%s&type=code
  3. Click Add to save the shortcut.

Using the Shortcut in the Chrome Address Bar

To execute searches using your new shortcut:

  1. Click into Chrome’s Omnibox or press Ctrl + L (or Cmd + L on macOS).
  2. Type your designated shortcut (e.g., gh) and press Space or Tab.
  3. The address bar transforms into a specialized search prompt displaying: “Search GitHub Code Search”.
  4. Type your search query (e.g., docker-compose) and press Enter.
  5. Chrome instantly navigates straight to the targeted GitHub results page.

Essential Custom Search Engine URL Examples

Accelerate your daily workflow by adding these standard URL templates:

  • Google Drive Files:
    Shortcut: drive
    URL: https://drive.google.com/drive/search?q=%s
  • Wikipedia Search:
    Shortcut: wiki
    URL: https://en.wikipedia.org/wiki/Special:Search?search=%s
  • YouTube Search:
    Shortcut: yt
    URL: https://www.youtube.com/results?search_query=%s
  • Internal Jira Issues:
    Shortcut: jira
    URL: https://yourcompany.atlassian.net/browse/%s

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.