Sitelinks Search Box Schema Generator

Generate the WebSite JSON-LD markup with a SearchAction that tells Google your site has a search feature and enables the sitelinks search box in search results.

Use {search_term_string} as the placeholder for the query.

Runs entirely in your browser. Nothing is uploaded.

How it works

STEP 1

Enter your site details

Fill in your website URL, site name, and the search URL template (e.g. https://example.com/search?q={search_term_string}).

STEP 2

Generate the schema

Click Generate — the tool builds valid WebSite JSON-LD with a SearchAction, ready for Google.

STEP 3

Add to your site

Copy the <script> tag and paste it in the <head> of your homepage. Submit your URL in Google Search Console to speed up indexing.