WebSite Schema Generator
Enter the site's name and URL: the WebSite JSON-LD builds live, with an optional SearchAction for internal search.
Privacy and cost
This tool runs in your browser. What you type or paste is not sent to our servers and it costs nothing to use.
How it works
- Enter the site name, optionally an alternate name or abbreviation, and the home page URL.
- If your site has internal search, enable the SearchAction and give the URL template with the {search_term_string} placeholder.
- Paste the code on the home page and read the self-check: name and URL are required, the search placeholder is verified.
Example
The fictional site "Example Studio" with alternate name "Example", language en and a SearchAction to https://example.com/search?q={search_term_string}: 0 errors, 0 warnings. Without the {search_term_string} placeholder the self-check reports an error.
What the result means
The name and URL help Google choose the site name shown in results, with no guarantee: it may pick another one. The SearchAction is still valid schema.org, but Google retired the sitelinks search box in 2024: it no longer changes how your site appears in Google and can only serve other consumers of the markup.
Common problems this tool helps with
- Expecting a search box under the Google result thanks to SearchAction, when it was retired in 2024.
- A site name that differs from the name really used on the pages and in the title.
- A search URL template without the {search_term_string} placeholder.
- WebSite markup repeated on every page instead of the home page.
Frequently asked questions
Does SearchAction show a search box in Google?
Not any more: Google retired the sitelinks search box in 2024. The markup stays valid and harmless, but it no longer changes how your site appears on Google.
How can I influence the site name Google shows?
Use a WebSite with name and url on the home page, and keep a consistent name in titles, headings and content. Google finally decides which name to display.
Where do I place WebSite JSON-LD?
On the home page, once. There is no need to repeat it on other pages.
Related tools
- JSON-LD ValidatorPaste a JSON-LD block or the full HTML of a page. The tool extracts every ld+json script and checks its structure property by property.Free · runs in your browser
- Organization Schema GeneratorFill in your organization: name, logo, official profiles, contact and address. The Organization JSON-LD builds live and checks itself.Free · runs in your browser
- Breadcrumb Schema GeneratorAdd the levels of the trail, from the home page to the current page. The tool numbers the positions and outputs BreadcrumbList JSON-LD.Free · runs in your browser
- LocalBusiness Schema GeneratorPick the business type, enter address, coordinates and hours: the LocalBusiness JSON-LD builds live and checks itself.Free · runs in your browser
- Canonical Tag GeneratorPaste a page URL: the tool cleans it (https, tracking parameters, fragment, index file, trailing slash) and outputs the canonical tag and the HTTP header.Free · runs in your browser
- Hreflang GeneratorEnter each language version (code and URL): the tool validates the codes, adds x-default and outputs the same block to paste on every version.Free · runs in your browser