Tested tool guide
Tested browser tools
Checked August 16, 2026
What Sitelinks Searchbox Schema Generator does, with a checked example
You enter your site name, your homepage URL, and the URL of the page that shows your site's internal search results, and the tool returns a JSON-LD block ready to paste into the page head. It assembles the WebSite structured data Google documents for the sitelinks search box: a SearchAction with a urlTemplate carrying the {search_term_string} placeholder and a matching query-input declaration. The part that surprises most people: this markup only makes you eligible. Google alone decides whether a search box appears under your result, and this schema has no say in which sitelinks links show beneath it.
Worked example
A concrete input and expected output from the current implementation.
Input
Site name: Example
Homepage URL: https://example.com/
Search results URL: https://example.com/search?q=
->
Expected output
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Example",
"url": "https://example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://example.com/search?q={search_term_string}"
},
"query-input": "required name=search_term_string"
}
} The tool appends {search_term_string} to the search results URL, binds that same token in the query-input value, and nests SearchAction inside the WebSite node's potentialAction - the exact structure from Google's documentation, with no extra properties that could trip validation.