WebSite Schema & Sitelinks Searchbox Generator

Generate WebSite JSON-LD markup with Google Sitelinks Searchbox (SearchAction) potentialAction.

100% Free · No Sign-up · Runs in Your Browser

About the WebSite Schema & Sitelinks Searchbox Generator

The WebSite Schema.org type represents the website as a whole entity. When paired with a potentialAction of type SearchAction, it informs Google that your website features an internal search engine, making your site eligible for an interactive Sitelinks Searchbox directly within Google search results.

A Sitelinks Searchbox allows users searching for your brand on Google to search your website directly from the search engine result page.

This WebSite Schema Generator builds Schema.org WebSite JSON-LD code containing properly configured SearchAction URL query templates (e.g. https://example.com/search?q={search_term_string}).

A common mistake is using an invalid search URL template that does not match how your site's search query parameter functions. Ensure the {search_term_string} placeholder matches your actual search parameter (e.g. ?q=, ?s=, or ?search=).

Tip: Implement WebSite schema on your homepage to ensure Google detects your internal search capabilities.

Frequently Asked Questions

Q.What is a Google Sitelinks Searchbox?

A search box that appears directly under your brand listing in Google search results, letting users search your site without leaving Google.

Q.Where should WebSite schema be placed?

On your site's root homepage only.

Q.How does the search_term_string placeholder work?

Google replaces {search_term_string} with the user's search query when directing them to your site's internal search results page.

Q.Does adding this markup guarantee a Sitelinks Searchbox?

It makes your site eligible; Google displays the searchbox algorithmically for high-volume branded queries.

Related Tools