WebSite Schema Generator
Google shows a site name above every search result. WebSite markup on your home page tells it which name to use, and which shorter name to fall back to.
- Free, no sign-up
- Site name markup
- Live check
- Nothing leaves your browser
Site
Goes on the home page only. Google uses it to choose the site name shown above your results.
The name you want Google to show. Keep it the same as in your logo and title tag.
The canonical home page, with https://.
Shorter names or acronyms Google can fall back to, in order of preference.
* Required by Google for this rich result.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"inLanguage": "en-US"
}
</script>Live check against Google's rules
- Missing required property “name”. This is the site name Google may show above your result.
- Missing required property “url”.
- Missing recommended property “alternateName”. An acronym or shorter name Google can fall back to.
How to use the WebSite schema generator
- Enter the site name exactly as you want Google to show it, and the home page URL.
- Add alternate names: a shorter version, an acronym, or a former name, in order of preference.
- Copy the code and add it to your home page only.
- Check the published page in our schema markup validator. A change in the name Google shows can take weeks.
What the site name is
Google shows a site name above each search result, next to the favicon. It picks the name from several signals on your home page:
WebSitestructured data;- the
<title>element; - headings and other prominent text;
- the
og:site_nameOpen Graph tag; - how other sites refer to you.
WebSite markup is the most direct of these: it states the name in a field built for it. When the signals disagree, Google may pick something you didn't intend, such as the domain or a slogan from the title.
What Google requires
| Property | Required | What to put |
|---|---|---|
name | Yes | The site name you want shown |
url | Yes | The canonical home page URL, with https:// |
alternateName | Recommended | Shorter or alternative names, in order of preference |
The generator also adds an @id (your URL plus #website), so other markup on the site can refer to this item, and an optional language.
Home page only
Google reads site-name markup only on the home page: the root of a domain (https://example.com/) or a subdomain (https://shop.example.com/). A section such as https://example.com/blog/ or https://example.com/de/ is not a home page and can't set its own name this way.
If the home page is reachable at more than one URL, for example with and without www, the same markup should appear on each.
Make the name consistent
The markup works best when everything else on the home page says the same:
- Title tag: start with the site name, or keep it in the same form, such as Lakeside Plumbing | Chicago Plumbers.
- Logo and main heading: the same spelling and spacing.
og:site_name: the same name.- Business listings and profiles: use the name you chose in the markup.
A name that is too generic, like Plumbing Services, may be replaced by Google with something more distinctive.
What it doesn't do
WebSite markup doesn't affect rankings and doesn't add a search box: the sitelinks search box is no longer one of Google's structured data features, so the generator leaves out SearchAction. It also doesn't describe your company. For logo, contacts and social profiles, add Organization markup or, for a local business, LocalBusiness markup.
WebSite Schema FAQ
It names your website. Google uses WebSite markup on the home page, together with the title tag, headings and how other sites refer to you, to choose the site name shown above your search results.
Only the home page: the root of your domain or subdomain, such as https://example.com/. Markup on other pages, including a /blog/ or /de/ home page, is not used for the site name. If the home page is reachable at several URLs, put the same markup on each.
Make the name consistent everywhere Google looks: the WebSite markup, the home page title tag, the main heading, Open Graph og:site_name and your logo. Add a shorter or older name as alternateName. Google may take weeks to pick up a change.
No. The sitelinks search box is no longer one of Google's structured data features, so the generator doesn't add a SearchAction.
Get a free technical SEO audit
Structured data is one line of the audit. We check crawling, indexing, Core Web Vitals and markup across the whole site and send a prioritized list of fixes.