S SCHEMA.BIZ
Other Extends: CreativeWork

Website Schema (WebSite)

Website schema uses WebSite to describe the site as a whole: its name, alternate names and home page URL. Google reads it to choose the site name it shows in results, which needs name and url on the home page. The SearchAction for a sitelinks search box no longer does anything: Google removed that feature in November 2024.

Last updated:

Does Google show Website schema?

Yes Google reads WebSite markup for this feature: Site name.

  • Site name Active

    The site name shown with search results. Only read on the home page. The Rich Results Test doesn't check it.

    Last change in Google's documentation: June 4, 2024. Google removed the warning that a new site name might not reach a site's internal pages.

  • Sitelinks search box Retired November 21, 2024

    A search box inside the site's result.

Last checked against Google's documentation: .

What we found on the top 10,000 sites

  • 36.4% of the 5,687 top sites we could analyze use WebSite markup (2,068 sites).
  • 62.9% of those sites still mark it up for the Sitelinks search box feature, which Google retired on November 21, 2024.
  • 84.5% of those sites have a missing property Google recommends on their WebSite markup, the most common problem we found.

From the home page of each of the Tranco top 10,000 sites and, where we found one, a page it links to, crawled in November 2026. Methodology and every chart: State of Schema 2026.

When to Use WebSite

Home pages Choosing the site name shown in Google Subdomains with their own brand Tying every page to the site in an @graph

What Google requires

schema.org defines 130 properties a WebSite can use, counting the ones it inherits. Google reads only a few of them for each feature; the rest are valid schema.org that Google doesn't require.

Site name: 2 required, 1 recommended Google's documentation

Property Google schema.org expects
name required Text
url required URL
alternateName recommended Text

WebSite properties

The properties that matter most in practice, of the 130 schema.org defines for WebSite. Status is our advice for a complete description; Google's own requirements are in the table above.

Property Type Status Description
name Text required The site name you want Google to show: the name the site is known by, not a tagline or a list of keywords.
url URL required The canonical URL of the home page, at the domain or subdomain root: https://example.com/, not https://example.com/blog/.
alternateName Text recommended Other names the site is known by, such as an acronym or a shorter name. An array, in order of preference.
publisher Organization or Person optional Who runs the site, by @id: the Organization described on the home page.
inLanguage Text or Language optional The site's main language as a BCP 47 code, such as en-US.
description Text optional A one-line description of the site.
potentialAction Action optional Actions on the site. The SearchAction for Google's sitelinks search box went here; Google retired that feature on November 21, 2024.

JSON-LD Examples

Minimal:The site name and home page URL

The two properties Google requires for site names, on the home page. This is enough for Google to read your preferred name.

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine",
  "url": "https://example.com/"
}

Complete:A site name with alternate names

name, url and the alternateName Google recommends, here an array: Google may use an alternate name when the main name can't be used, and the order states your preference.

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine",
  "alternateName": [
    "Harbor and Pine",
    "H&P Furniture"
  ],
  "url": "https://example.com/",
  "description": "Solid-wood furniture made in Portland, Maine.",
  "inLanguage": "en-US"
}

Real-world, nested:The home page @graph: site, organization and page

The WebSite with an @id that every page can refer to with isPartOf, its publisher as the Organization node, and the home page's own WebPage. The site, the company and the page are three things, each described once.

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "name": "Harbor & Pine",
      "alternateName": [
        "Harbor and Pine",
        "H&P Furniture"
      ],
      "url": "https://example.com/",
      "inLanguage": "en-US",
      "publisher": {
        "@id": "https://example.com/#organization"
      }
    },
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Harbor & Pine Furniture Co.",
      "url": "https://example.com/",
      "logo": {
        "@type": "ImageObject",
        "url": "https://example.com/images/harbor-pine-logo-512.png",
        "width": 512,
        "height": 512
      },
      "sameAs": [
        "https://www.instagram.com/example-harborandpine",
        "https://www.pinterest.com/example-harborandpine"
      ]
    },
    {
      "@type": "WebPage",
      "@id": "https://example.com/",
      "url": "https://example.com/",
      "name": "Harbor & Pine: Solid-Wood Furniture Made in Maine",
      "isPartOf": {
        "@id": "https://example.com/#website"
      },
      "about": {
        "@id": "https://example.com/#organization"
      }
    }
  ]
}

Common Website schema mistakes

Pointing url at a subdirectory instead of the site's root

VALUE_URL: This property expects an absolute URL, including https://. Relative paths can't be resolved reliably.

Google supports site names for domains and subdomains only. A blog under /journal/ shares the site name of the domain; a blog on journal.example.com could have its own.

Wrong

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine Journal",
  "url": "https://example.com/journal/"
}

Right

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine",
  "url": "https://example.com/"
}

Copying og:site_name into a "siteName" property

PROP_UNKNOWN: schema.org has no property with this name (names are case-sensitive), so search engines ignore it.

The Open Graph tag is og:site_name; the schema.org property is plain name.

Wrong

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "siteName": "Harbor & Pine",
  "url": "https://example.com/"
}

Right

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine",
  "url": "https://example.com/"
}

Leaving out url because the page is the home page anyway

REQ_MISSING: Google requires this property for the search feature. Without it the page isn't eligible for that rich result, although the markup is still valid schema.org.

Wrong

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine"
}

Right

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Harbor & Pine",
  "url": "https://example.com/"
}

Two WebSite nodes on the home page, from the theme and a plugin

ENTITY_DUPLICATE: The same entity is described more than once without a shared @id, so search engines may treat the descriptions as different entities. Merge them, or give them the same @id.

Keep one WebSite with an @id. If two tools must both output it, give both copies the same @id and the same name.

Wrong

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "name": "Harbor & Pine",
      "url": "https://example.com/"
    },
    {
      "@type": "WebSite",
      "name": "Harbor & Pine",
      "url": "https://example.com/",
      "alternateName": "H&P Furniture"
    }
  ]
}

Right

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "name": "Harbor & Pine",
      "url": "https://example.com/",
      "alternateName": "H&P Furniture"
    }
  ]
}

Also watch for

  • A name that is a slogan or a keyword list ("Harbor & Pine | Best Solid Wood Furniture Online"). Google asks for a concise name the site is commonly known by, so a slogan is unlikely to be used.

  • A WebSite name that disagrees with the home page's title, its heading and og:site_name. Google looks at all of them, so they should agree.

  • Copying the home page's WebSite onto every page with a different name or url on some templates. Other pages don't need it; if they carry it, it must be identical.

  • A url with tracking parameters or a file name (https://example.com/index.html?utm_source=x) instead of the canonical home page address.

Choosing name and alternateName

Google's site name documentation asks for the name your site is commonly known by. For most sites that's the brand: Harbor & Pine, not Harbor & Pine Furniture Co., LLC and not Harbor & Pine | Handmade Furniture. Legal names belong on the Organization, taglines in the description. Google generates a site name from several sources on the home page, and WebSite markup is the one you control most directly, but the page's <title>, headings and og:site_name should say the same thing.

alternateName holds other names people use: an acronym, a shorter form, the name without an ampersand. It can be an array, and the order matters: Google may use one of the alternates when it decides not to use the preferred name. List the most likely fallback first, and keep the brand's own spelling in name: if it's written with an ampersand, the ampersand goes in name and the spelled-out form in alternateName, as in the example.

Google doesn't promise to use the name you give. A name that's too generic ("Best Furniture"), not used anywhere else on the site, or not clearly yours may be passed over, and Google falls back to another name or the domain. If your site name isn't showing after Google has recrawled the home page, check that the markup, the title and the visible branding agree before changing anything else.

The home page only, and which URL counts as home

Google reads WebSite markup for site names on the home page, and only there. A home page in this sense is the root of a domain or a subdomain: https://example.com/ or https://shop.example.com/. Subdirectories aren't supported, so a section at https://example.com/journal/ can't have a site name of its own; it shares the domain's. A subdomain can have its own WebSite with its own name. The same rule decides multilingual sites: language versions on their own domains or subdomains can each carry a WebSite with the name used in that language, while versions in subdirectories such as /fr/ share the domain's home page and its name.

url should be the canonical home page URL, exactly as your canonical tag gives it: the same scheme (https), the same host (with or without www) and the trailing slash. If http://example.com redirects to https://www.example.com/, the markup says the latter.

There's no harm in adding the WebSite to other pages too, and many CMS plugins put it on every page so that pages can refer to it by @id. If you do, output the identical object everywhere. What breaks is a template that builds the WebSite from page-level fields and gives the about page's title as the site name.

What happened to the sitelinks search box

For years the standard home page markup included a potentialAction with a SearchAction that described the site's search URL, so Google could show a search box inside the site's result. Google stopped showing the sitelinks search box on November 21, 2024, worldwide and for every site. The markup no longer does anything in Google Search, and the Rich Results Test no longer reports it.

You don't have to remove it. Google said when it retired the feature that leftover markup doesn't cause problems, and it's still valid schema.org. Remove it when you next touch the template if you'd rather not carry dead code. Either way, the rest of the WebSite object matters more now than before: with the search box gone, the site name is what Google reads WebSite for.

The retirement only concerns Google's search box. The site's own search, and any other consumer that reads SearchAction, are unaffected. The SearchAction page covers the markup itself.

Connecting WebSite to the Organization and to each page

Give the WebSite an @id, by convention the home page URL plus #website, and the Organization behind it its own (#organization). The WebSite's publisher refers to the Organization; each page's WebPage or Article refers to the WebSite with isPartOf. The site name and the company name can differ, as they do in the example: the Organization carries the legal or full name and the logo, the WebSite the short name people search for.

To check it, paste the home page's HTML into the Schema Validator at /markup/validator/: it reports a WebSite without name or url, a url that isn't the root, and duplicate WebSite objects. Google's Rich Results Test doesn't check site names, so after publishing use Search Console's URL Inspection on the home page and request recrawling; a new site name shows up only after Google has processed the page again.

Complete Guide to Website Schema

WebSite markup belongs on the home page and describes the site as a whole. Google generates the site name it shows next to results automatically, but it says WebSite structured data is the most important way to state your preference: the name in name, the home page in url, and other names people use in alternateName.

The type is easy to confuse with the two others that sit next to it on a home page. Organization describes the company or person who runs the site: legal name, logo, contact details, social profiles. WebPage describes the home page as a page. WebSite describes the site itself, the thing that has a name, a language and pages. One home page can carry all three, linked by @id, and none of them replaces the others.

WebSite has more schema.org properties than Google reads: publisher, inLanguage, description, copyrightHolder, issn for online serials. They're accurate description for any consumer of the markup, and the @id link from every page's isPartOf gives search engines and other consumers a consistent picture of which pages belong to the site.

The potentialAction and SearchAction that many home pages still carry are a leftover from the sitelinks search box, which Google retired on November 21, 2024. They're valid and harmless, and they earn nothing in Google Search.

In a CMS, the WebSite usually comes from a site-wide head partial or an SEO plugin's settings page, filled from the site title setting. That makes it easy to get right once: set the site title to the name you want shown, check the plugin's alternate name field, and confirm the output on the home page.

Where WebSite sits in schema.org

"A WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs."

schema.org's definition of WebSite

Path from Thing: Thing CreativeWork WebSite

Parent type
CreativeWork
More specific types
None: WebSite has no subtypes in schema.org.

Related Types

Check Your WebSite Markup

The generator doesn't have a WebSite form yet. Paste your markup into the validator to check its types, properties and values, and what Google needs from it.

Open Validator