Meet Cortex AI Powered, Expertise Refined Decision EngineYour AI Optimization Engine
Schema

How to Create WebSite Schema: A Complete 2026 Guide

Seven chapters covering required properties, the post-deprecation sitelinks search box, publisher entity reference, language alternates, validation, and the breakages we see most often.

Jacque Bichara
Jacque Bichara
Founder & Lead Strategist, Capconvert
May 20, 2026 Updated May 20, 2026 10 min read Reviewed by {{REVIEWER_NAME}}, {{REVIEWER_CREDENTIAL}} on May 20, 2026
Who this is for Developers and SEO managers shipping WebSite schema for the first time or evaluating whether to keep the sitelinks search-box action after Google's November 2024 deprecation.
TL;DR
  • WebSite schema goes on the homepage only, one per site. Other schemas reference it via isPartOf.
  • Required properties are minimal: @type, url, name. Everything else is recommended.
  • The sitelinks search box action was deprecated by Google in November 2024. Bing and other search engines still support it; Google no longer renders it.
  • Still worth shipping for publisher entity reference, AI engine signals, and non-Google search visibility.
  • Use @id to anchor the WebSite entity so Article, BlogPosting, and other schemas can reference it cleanly via isPartOf.

Chapter 1. Before you start

WebSite schema is the entity record for your domain. It defines the canonical name of the site, the publisher behind it, and (optionally) the actions a user can take from search results. Combined with Organization schema, it forms the foundation every other schema on your site references.

  • Your Organization schema already published. WebSite references the Organization via publisher; without that publisher schema in place, the reference goes nowhere.
  • The canonical name you want search engines to use for the site. Often the same as the brand name, but not always (e.g., "Capconvert Blog" vs "Capconvert").
  • Your apex URL with the correct protocol and host variant. Match exactly what your canonical tags use.
  • (Optional) A search-results URL pattern if your site has its own internal search and you want to ship the SearchAction for Bing visibility.
From the audit notes
Of 47 ecommerce storefronts we audited over the past 24 months, 29 had no WebSite schema at all. Of the 18 that did, 12 were missing the publisher reference - which broke the link between the site and the brand entity for Knowledge Graph disambiguation. Both are 15-minute fixes once you know to look.

Chapter 2. What does WebSite schema actually do in 2026?

Less than it used to, but still enough to ship. The headline feature - the sitelinks search box rendered in Google SERPs - was deprecated in November 2024 per Google's official announcement. Google no longer displays the search box even when valid SearchAction markup is present.

What WebSite schema still does in 2026:

  • Anchors the publisher entity. Article, BlogPosting, Product, and other schemas reference WebSite via isPartOf, linking individual pages to the site as a whole.
  • Feeds AI engines and LLMs. ChatGPT, Perplexity, and Gemini parse the WebSite block to associate URLs with the brand entity.
  • Supports Bing and other engines. Bing still renders the sitelinks search box from SearchAction markup, which means Microsoft Copilot benefits.
  • Validates site-level metadata: name, alternate names, language, in-language alternates for international sites.

Chapter 3. Required and recommended properties

Per Schema.org, WebSite requires only @type, url, and name. The recommended floor we ship on every client is below.

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": "https://www.example.com/#website",
  "url": "https://www.example.com",
  "name": "Example Brand",
  "alternateName": "Example",
  "publisher": { "@id": "https://www.example.com/#organization" },
  "inLanguage": "en-US",
  "description": "One-sentence description of what the site does or sells.",
  "potentialAction": {
    "@type": "SearchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "https://www.example.com/search?q={search_term_string}"
    },
    "query-input": "required name=search_term_string"
  }
}

The publisher reference points at your Organization schema's @id. The potentialAction block is the SearchAction that historically enabled the sitelinks search box; ship it for Bing visibility even though Google no longer renders it.

Chapter 4. Should you still ship the sitelinks search box action?

Yes, even though Google no longer renders it. Three reasons:

  1. Bing still uses it. Microsoft Copilot, ChatGPT search (Bing-backed), and Bing's organic results render the search box from valid SearchAction markup. Bing is roughly 8% of US desktop search and a meaningful share of AI-driven queries.
  2. It's a 10-line addition to schema you're already shipping. The cost-to-keep is zero; the cost-to-rip-out is also zero. Bias toward keeping.
  3. Future-proofing. Google deprecates features but occasionally restores them; the underlying structured data is stable regardless of which surfaces render it at any given time.

The opposite question - "should you build a SearchAction for the first time in 2026" - is more nuanced. If your site has its own working internal search at a stable URL pattern, ship it. If your search is broken or absent, don't ship SearchAction pointing at a URL that 404s; that creates a worse user experience than no SearchAction at all.

Chapter 5. Publisher reference and language alternates

The publisher property links the WebSite to the brand entity. Use @id to reference the Organization schema you published on the homepage (see post #5 in this cluster, the Organization schema guide). This creates a clean entity graph: pages reference WebSite, WebSite references Organization, all three form one coherent record.

For international or multilingual sites, add inLanguage as a BCP47 code (en-US, fr-CA, de-DE). If you have multiple language variants, ship one WebSite schema per variant on each language's homepage with the appropriate inLanguage value. Do not ship multiple inLanguage values inside a single WebSite block.

Chapter 6. Validate and deploy

Same two-validator pattern as Organization schema. Run both before shipping a single line to production.

  1. Paste the JSON-LD into validator.schema.org to verify vocabulary compliance.
  2. Paste the same code into the Google Rich Results Test to verify Google-specific eligibility (even though sitelinks search box no longer renders, the validator still parses the markup).
  3. Fix every critical error before deploying.
  4. Deploy by inserting the JSON-LD inside a <script type="application/ld+json"> tag in the homepage's <head>. One block per page, homepage only.

Chapter 7. The breakages we see most often

Ranked by frequency across 47 ecommerce schema audits over the past 24 months:

  • No WebSite schema at all: entity graph missing its root anchor. 29 of 47 audited stores.
  • WebSite schema present but no publisher reference: site not linked to brand entity. 12 of 47.
  • WebSite schema duplicated sitewide instead of homepage only: conflicting entity records. 9 of 47.
  • SearchAction target URL returns 404: bad UX on the small share of engines that still render the search box. 7 of 47.
  • No alternateName: search engines can't reconcile "Example Brand" with "Example" or "Example Inc.". 5 of 47.
  • SearchAction query-input field malformed: schema validator throws error, sitelinks search box (where supported) breaks. 4 of 47.

We monitor schema completeness through our Sentry product; the structured-data rule set surfaces every breakage above on running sites.

FAQ

Is WebSite schema still worth shipping after the Google sitelinks search box deprecation?

Yes. Google deprecated the visible rendering of the sitelinks search box in November 2024 but did not remove WebSite schema as a recognized type. The schema still anchors the publisher entity, feeds AI engines, supports Bing/Copilot, and acts as the isPartOf reference for every other page on your site.

Where do I put WebSite schema on the site?

Homepage only. One WebSite schema block per site. Other schemas across your site (Article, BlogPosting, Product) reference it via isPartOf, so it doesn't need to be duplicated on every page. Duplicating it sitewide creates conflicting entity records.

Do I need both Organization and WebSite schema?

Yes. They are complementary. Organization represents the brand entity (who owns the site). WebSite represents the site itself (what is the domain called, what language is it in, what search action does it support). Both go on the homepage with cross-references via @id.

Do I need WebSite schema if my site is a single landing page?

Recommended but not critical. The entity record is still useful for AI engines and Bing, and the schema is a 15-line block that takes minutes to add. If you're shipping any structured data on the site, including WebSite is the cheapest completeness lift available.

How does WebSite schema relate to AI search visibility?

AI engines (ChatGPT, Perplexity, Gemini) parse WebSite schema to associate page URLs with a coherent site entity, then merge with the Organization reference to identify the brand. Without WebSite schema, AI engines fall back to URL-pattern heuristics and meta-tag parsing, which are less reliable than first-party JSON-LD.

What is potentialAction and do I need it?

potentialAction historically enabled the sitelinks search box - a search input rendered in Google SERPs for popular sites. Google deprecated rendering in November 2024 but Bing still uses it. Ship it if your site has working internal search at a stable URL pattern; skip if your internal search is broken or absent.

References

  1. Schema.org. "WebSite." schema.org/WebSite
  2. Google Search Central. "Sitelinks search box deprecation." developers.google.com/search/blog/2024/10/sitelinks-search-box
  3. Google Search Central. "Sitelinks search box (legacy)." developers.google.com/search/docs/appearance/structured-data/sitelinks-searchbox
  4. Schema.org. "SearchAction." schema.org/SearchAction
  5. Schema.org. "Schema Markup Validator." validator.schema.org
  6. Google. "Rich Results Test." search.google.com/test/rich-results