schema.institute

WebSite schema, explained

By Joel Maldonado, Neural Command, LLC · Last reviewed 21 October 2026

WebSite describes the website as a whole. Google reads it on your home page to choose the site name shown in search results; name and url are required and alternateName is optional. The sitelinks search box it used to power was retired in November 2024.

What it's for

Schema.org's WebSite is "a set of related web pages and other items typically served from a single web domain". Google uses it for one thing: to indicate your preferred site name, the name shown next to your results. Google also looks at og:site_name, the <title> and headings on the home page, but says WebSite structured data is the most important of these signals.

Key properties

Property What it holds Google
name The site name you want shown. Required
url The canonical home page of the domain or subdomain, e.g. https://example.com/. Required
alternateName A recognised acronym or shorter name; can be a list in order of preference. Optional
publisher The Organization behind the site, usually by @id. Not used for site names, but connects the graph
inLanguage Language of the site. Not used for site names
potentialAction (SearchAction) Powered the sitelinks search box, which Google retired in November 2024. No longer used

Minimal example

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": "https://example.com/#website",
  "name": "Example Co",
  "alternateName": "EC",
  "url": "https://example.com/",
  "publisher": { "@id": "https://example.com/#organization" }
}

Generate WebSite markup.

Common mistakes

Sources