Sitelinks Searchbox and WebSite Schema Generator
Generate WebSite JSON-LD with your site name, alternate names and an internal search action, and test your search URL pattern before publishing.
Your website
Google retired the sitelinks search box in November 2024. WebSite markup still helps Google choose the site name it shows in results.
Internal search
JSON-LD
Checklist
WebSite schema and the sitelinks search box
For years, WebSite markup with a SearchAction could make a site eligible for a search box inside its Google result. Google retired that search box in November 2024, so the SearchAction no longer changes how your result looks in Google. Leaving it in place does no harm, and it still documents how your internal search works for any system that reads it.
WebSite markup itself is still useful. Google uses the name and alternateName properties as strong signals when it picks the site name shown above your results. If Google displays the wrong name for your site, clear WebSite markup on the home page is one of the first fixes it recommends.
How to use the generator
- Enter the site name exactly as you want it shown, plus any shorter alternate names.
- Enter your home page URL in the same form as your Search Console property.
- To keep a search action, set the part of your search URL that comes before the search words. WordPress uses /?s=, and many other platforms use /search?q=
- Use the Open button to run a test search and confirm the results page loads.
- Copy the code and paste it into the head of your home page only.
Frequently asked questions
Should I remove existing SearchAction markup?
You do not have to. Google says unsupported markup does not cause problems, and it no longer reports errors for it. Keep it if it is already in place, or leave it out of new markup.
Where does WebSite markup go?
On the home page of the site, once. It describes the whole website, so it should not be repeated on inner pages.
Will this change my site name in Google?
It can help, but there is no guarantee. Google also looks at your title tags, headings and other signals, so keep the name consistent everywhere.

