Free tool · No signup required

Website Schema
Generator

Generate valid WebSite JSON-LD structured data. Enable Google's Sitelinks Search Box, define your site name, and help Google understand your online presence.

Google-approved format
Instant output
🔒
No data stored
Unlimited use
Website details Step 1 of 2
Core information
The name Google displays for your site in search results
Abbreviation, acronym, or common variation of your site name
Must be the exact canonical URL of your homepage including trailing slash if applicable
Publisher / owner (optional: helps Google associate your site with your brand)
Sitelinks search box (optional)
Enable SearchAction Tells Google your site has an internal search can trigger a Sitelinks Search Box in results
Include {search_term_string} exactly where the query goes in your search URL
Social profiles (optional sameAs links strengthen your brand entity)
Paste output into your homepage <head>
JSON-LD Output · Ready to paste

  

How to use

01

Enter site details

Fill in your site name, homepage URL, publisher info, and any social profile links above.

02

Generate the code

Click "Generate Schema" to produce valid JSON-LD markup instantly.

03

Paste in homepage <head>

Copy and paste the output inside the <head> tag of your homepage only, not every page.

04

Validate & publish

Test with Google's Rich Results Test, then publish and submit to Search Console.

What is Website Schema Markup?

Website schema is JSON-LD structured data that tells Google the official name, URL, and identity of your website. It's placed exclusively on your homepage and serves as a foundational entity signal, helping Google understand that your website belongs to a specific brand, organisation, or person.

Unlike most schema types that generate visually rich results, website schema works mostly behind the scenes. Its primary visible effect is enabling the Sitelinks Search Box, a search input that can appear below your homepage listing in Google, letting users search your site directly from the results page.

What does the sameAs property do?

The 'sameAs' property links your website entity to your official social media profiles, Wikipedia page, and other authoritative references. This helps Google build a more complete understanding of your brand and can strengthen your presence in the Knowledge Panel, the information box that appears on the right side of Google search results for established brands.

Is WebSite schema required?

It's not required, but it's recommended for any website that has a distinct brand name. It's particularly valuable if your site name differs from your domain name (e.g. your site is called "Schemify" but the domain is "schemify.in"). The schema makes this relationship explicit for Google.

Homepage only. WebSite schema should be placed exclusively on your homepage, not on every page of your site. One instance, in the form<head> of your root URL, is all Google needs.

How to Validate Website Schema Markup

After generating your schema, always validate before publishing. Follow these 4 steps:

1
Generate your schema
Fill in your site details above, click Generate Schema, and copy the output.
2
Open Schema Markup Validator
Go to Schema Markup Validator and click the "Validate" tab.
3
Paste & run the test
Paste your JSON-LD and run the test. Google shows whether it's valid and eligible for the Sitelinks Search Box.
4
Fix errors & publish
Fix any errors, re-test, then paste into your homepage's <head> and publish.

Common Website Schema Mistakes to Avoid

These are the most frequent issues that make WebSite schema ineffective or invalid:

❌ Adding it to every page
WebSite schema belongs only on your homepage. Adding it to every page creates duplicate entity signals and can confuse Google's understanding of your site structure.
❌ Wrong homepage URL
The URL in your schema must exactly match your canonical homepage. If your site redirects www to non-www (or vice versa), use the canonical version, the one Google Search Console recognises as your root.
❌ Broken search URL template
If you enable SearchAction, the URL template must include {search_term_string} exactly as written. A malformed template will cause validation errors and prevent the Sitelinks Search Box from appearing.
❌ Outdated sameAs links
Broken or redirecting sameAs URLs weaken your entity signal. Always use the current, canonical URL for each social profile, the URL you'd share publicly, not old handles or deleted accounts.
❌ Mismatched site name
The name field should match your actual brand name, not your domain or page title. If Google shows a different name in search results than what's in your schema, it may be overriding the schema based on on-page signals.
❌ Expecting guaranteed Sitelinks
SearchAction schema makes your site eligible for the Sitelinks Search Box, but Google decides whether to show it. It typically only appears for well-established sites with significant search volume for brand-name queries.

Frequently Asked Questions about Website Schema

Not directly. Website schema does not improve your ranking position for keyword searches. Its purpose is entity identification, telling Google who you are and enabling features like the Sitelinks Search Box. It's a foundational signal for brand authority rather than a ranking factor.
Yes, and this is actually recommended. WebSite schema identifies your site as a web entity, while Organization schema (or Person schema for personal sites) identifies the brand or person behind it. Using both together, linked via the publisher property, gives Google the clearest possible picture of your online presence.
The Sitelinks Search Box is entirely at Google's discretion. Having valid SearchAction schema makes you eligible, but Google only shows it for sites with substantial brand search volume and a well-indexed internal search. Smaller or newer sites may have valid schema but never see the feature appear in practice.
The name is your primary brand name, the one you always use. "AlternateName" is for abbreviations, acronyms, or well-known variations. For example, if your site is "The New York Times," your name is "The New York Times," and your alternate name might be "NYT." Google uses both when resolving entity queries.
They serve different purposes, so both are recommended. An organization schema describes your brand as an entity (name, logo, contact info, and social profiles). A webSite schema describes your website specifically, its URL, its name in search, and its search functionality. Most SEO-focused sites benefit from having both.

Related Schema Generators

Other free structured data tools you might need

Review Schema
Star ratings for products & services
🏢
Local Business Schema
Google Maps & local search panel
FAQ Schema
Q&A rich results in Google Search
🎟️
Event Schema
Rich event cards with dates & tickets
🍽️
Recipe Schema
Rich recipe cards with ratings & times
📝
Article Schema
Author & date metadata for blogs