Free Schema Markup Generator Website Schema Generator
Free SEO Tools · WebSite, SearchAction & WebPage Schema Generator

Free Website Schema Generator - Instant WebSite & Sitelinks Searchbox JSON-LD

A free schema markup generator and JSON-LD builder for WebSite, SearchAction and WebPage - with publisher, logo and Sitelinks Searchbox support.

Fill in your website name, URL and publisher - copy the generated JSON-LD and paste it into your homepage's <head>. Whether you just need a basic WebSite declaration or a Google Sitelinks Searchbox via SearchAction, this website schema generator builds clean, standards-compliant markup on the exact schema.org/WebSite spec, instantly, for free.

WebSite & WebPage via @graph
Publisher, Logo & SameAs
SearchAction for Sitelinks Searchbox

Based on schema.org/WebSite · Validated JSON-LD Output

100% Free, No Sign-Up
Valid Schema.org JSON-LD
Built for AI & Traditional Search
Live Preview As You Type
WebSite
Schema Type
No
SearchAction Included
No
WebPage Included
0 B
Schema Size

Fill Your Website Details

Website Details
Website name is required
Please enter a valid website URL
A common abbreviation or acronym for the site.
Square logo (min 112×112). Must be publicly crawlable.
Social profiles or other canonical references for this website.
Publisher
Publisher name is required
SearchAction (Sitelinks Searchbox)
Enables Google Sitelinks Searchbox in search results.
Must include {search_term_string} as the query placeholder.
WebPage (optional)
Adds a WebPage node linked to your WebSite via @graph.
Website Schema, Explained

What Is WebSite Schema (schema.org/WebSite)?

WebSite schema is JSON-LD structured data, based on the WebSite type on schema.org/WebSite, that declares your site as a distinct entity: its name, URL, publisher, and (optionally) an internal search action. It's normally placed once, site-wide, as a <script type="application/ld+json"> block in the <head> of your homepage or every page's template.

In short: a "website schema generator" is a tool that turns your site's basic identity (name, URL, publisher, logo, social links) into a ready-to-use JSON-LD block - with an optional SearchAction that can enable Google's Sitelinks Searchbox. This page generates that code instantly, for free, in your browser.

WebSite schema helps Google and AI-based answer engines such as AI Overviews confirm what your site is called, who publishes it, and where its internal search lives - and it's the foundation other page-level schema (like WebPage or Article) can link back to.

WebSite schema example

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://example.com#website",
      "name": "Search Savvy - SEO Tools",
      "url": "https://example.com",
      "publisher": {
        "@type": "Organization",
        "name": "Search Savvy"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": "https://example.com/search?q={search_term_string}",
        "query-input": "required name=search_term_string"
      }
    }
  ]
}
@graph, Explained

WebSite vs WebPage - What Does @graph Do?

One declares your whole site. The other describes a single page and links back to it.

WebSite

The top-level entity for your entire site on schema.org/WebSite: its name, URL, publisher, and optional SearchAction. Usually declared once, sitewide, with a stable @id.

WebPage

An optional, page-specific node with its own name, URL, and description, connected back to the WebSite via isPartOf. Useful when you want a specific page (like a homepage or landing page) explicitly tied to the site entity.

Why @graph: @graph is schema.org's way of bundling multiple related entities - here, WebSite and WebPage - into a single JSON-LD block, with each node's @id letting them reference each other instead of repeating data. This generator builds that structure automatically when you enable the WebPage option.

Publisher & SearchAction

How Publisher & SearchAction Fit Inside WebSite Schema

The publisher is a required, nested Organization or Person identifying who runs the site - this generator nests it under the publisher property automatically.

SearchAction is optional and powers Google's Sitelinks Searchbox: a search box that can appear directly in Google's results for your brand. It requires a search URL pattern containing the literal placeholder {search_term_string}, which Google substitutes with the user's query.

SearchAction example

{
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}

Sitelinks Searchbox eligibility also depends on your site having a real, working internal search page at that URL pattern.

Step by Step · Technical SEO

How to Build & Implement Website Schema Markup

This JSON-LD builder does the heavy lifting - here's the full technical SEO workflow, start to finish.

01

Add name, URL & publisher

Fill in the required fields above: website name, URL, and publisher name.

02

Add logo, description & social links

Fill in a logo URL, short description, and sameAs links to your social profiles.

03

Enable SearchAction if you have internal search

If your site has a working search page, add the URL pattern to unlock Sitelinks Searchbox eligibility.

04

Copy & paste into your <head>

Hit Copy (or Download), paste the script into your homepage's <head>, then validate with Google's Rich Results Test.

Implementation note: place this <script type="application/ld+json"> block once, ideally on your homepage or in a template that renders sitewide, rather than repeating it identically on every page. Page-specific schema (Article, Product, LocalBusiness, etc.) can coexist alongside it on individual pages.

Why Use This Tool

A Free, Instant Schema Generator Built for Real Websites

No sign-up, no watermark, no code editor required - just clean, valid WebSite JSON-LD you can trust.

100% Free, No Sign-Up

Generate unlimited website schema - no account, no email, no usage cap.

Instant Schema, Live Preview

Your JSON-LD updates as you type - no waiting, no separate "generate" step. A true instant schema and JSON-LD builder.

Clean, Valid JSON-LD

Output follows the schema.org WebSite spec exactly, so it passes Google's Rich Results Test and the Schema Markup Validator.

Correct @graph Structure

WebSite and WebPage nodes are linked with proper @id references automatically - no manual wiring.

Sitelinks Searchbox Ready

Built-in SearchAction support with the exact query-input syntax Google expects.

Nothing Leaves Your Browser

Everything runs client-side. Your website details are never uploaded or stored on a server.

FAQs

Frequently Asked Questions About Website Schema

What is WebSite schema (schema.org/WebSite) used for?

WebSite schema declares your site as a distinct entity - its name, URL, publisher, and optional internal search - helping Google and AI-based answer engines such as AI Overviews confirm your site's identity and, when eligible, enable features like the Sitelinks Searchbox.

What is @graph and why does WebSite schema use it?

@graph bundles multiple related entities - here, WebSite and an optional WebPage - into a single JSON-LD block, with each node's @id letting them reference each other. This generator builds that structure automatically when you enable the WebPage option.

Is this website schema generator really free?

Yes. It's completely free to use, with no sign-up, no watermark, and no limit on how many website schemas you generate.

What fields are required for valid WebSite schema?

At minimum: a website name, a website URL, and a publisher name. This generator marks those fields as required and flags anything missing before you copy or download.

What is SearchAction and how do I enable Sitelinks Searchbox?

SearchAction is a nested property that tells Google your site has internal search, unlocking eligibility for the Sitelinks Searchbox in results. Enable it in the SearchAction section and provide a search URL pattern containing the literal placeholder {search_term_string}.

Do I need a separate WebPage node?

No, it's optional. Add one when you want a specific page - often the homepage - explicitly declared and linked back to the WebSite entity via isPartOf. Many sites only need the base WebSite object.

How does publisher fit into WebSite schema?

Publisher is a required, nested Organization or Person identifying who runs the site. It's distinct from the WebSite itself and helps establish who stands behind the content.

How do I implement website schema markup technically?

Copy the generated code and paste it inside a single script tag of type application/ld+json, ideally once on your homepage or in a sitewide template, rather than repeating it identically on every page.

Does Google's AI Overview use WebSite schema?

AI Overviews and similar AI-based answer engines rely on the same crawlable, structured signals as traditional search, including a clearly declared site name, URL, and publisher. Valid WebSite schema makes those facts easier to extract accurately alongside clear on-page content, though it doesn't guarantee inclusion.

More Free Tools

Explore More Free Schema & SEO Tools