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.