Skip to main content
🌐

WebSite

Website and site navigation metadata

About WebSite Schema

The WebSite schema type is used to mark up website and site navigation metadata. Implementing this structured data helps search engines understand your content better and may qualify your pages for rich results in Google Search.

Properties

* Required Properties

@type
Must be "WebSite"
Type: Text
name
Website name
Type: Text
url
Website URL
Type: URL

⭐ Recommended Properties

potentialAction
Sitelinks search box action
Type: SearchAction
description
Website description
Type: Text
publisher
Publisher organization
Type: Organization

Best Practices

  • βœ…Validate your JSON-LD with Google’s Rich Results Test before publishing.
  • βœ…Populate potentialAction, description to unlock enhanced snippets.
  • βœ…Keep structured data in sync with the visible content on the page.

Common Pitfalls

  • ⚠️Avoid mixing multiple schema syntaxes for the same entity.
  • ⚠️Do not include claims that the user cannot see or confirm on the page.
  • ⚠️Remember to update dateModified whenever the content changes.

JSON-LD Example

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Example Website",
  "url": "https://example.com",
  "description": "A comprehensive resource for web development tutorials",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}

Looking for more tools? TryElementiafor interactive periodic table and chemistry reference.