Free Website Schema Generator

Generate valid Organization, WebSite, and LocalBusiness JSON-LD structured data for your site. Fill in your details and copy the markup. Free, no sign-up required.

Build Your Schema

Your organizationThe core identity of your business or brand.

A direct link to your logo image. Recommended for rich results.

Social profilesLinks to your official profiles (Facebook, X, LinkedIn, Instagram, etc.). These become the schema `sameAs` property.

Website schemaHelps Google understand your site and can enable the sitelinks search box.

Enter your name and website URL above and your JSON-LD will build here automatically.

Generated JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization"
    },
    {
      "@type": "WebSite"
    }
  ]
}
</script>

How to add it to your site

  1. Copy the code above.
  2. Paste it inside the <head> section of your homepage HTML (or your site-wide template).
  3. Validate it with the Google Rich Results Test or the Schema.org Validator.
  4. Deploy, then request indexing in Google Search Console to speed things up.

Build better pages around your schema

Structured data tells search engines what your page is. These free widgets make the page better for people.

Explore More Free Tools

Other free tools to help you optimize and grow.

How It Works

How to use this free website schema generator

No account needed, no sign-up, completely free. Fill in your details, and valid JSON-LD structured data builds live, ready to copy into your site.

1

Enter your business details

Add your name, website URL, logo, and description. Choose Organization for an online brand, or Local Business if you have a physical location, which unlocks address and opening-hours fields.

2

Add profiles and options

Link your social profiles, and optionally include the WebSite schema and a sitelinks search box. Everything you type builds the markup live, with no empty fields left in.

3

Copy and validate

Copy the generated JSON-LD, paste it into the head of your site, and confirm it with the Google Rich Results Test. No sign-up, completely free.

The Basics

What is website schema, and why does it matter?

Search engines read your pages, but structured data tells them exactly what they are looking at: who you are, what you do, and how to reach you.

The idea

Your details → schema.org vocabulary → JSON-LD in your <head>

Result: search engines understand your brand as data, not just text

Website schema is structured data that describes your site and business using the shared schema.org vocabulary. Instead of hoping Google infers your brand name, logo, and social profiles from your page text, you state them explicitly in a format built for machines to read.

The recommended format is JSON-LD: a small block of JSON placed in the head of your page. It lives separately from your visible content, so it is easy to add without touching your design. This generator produces a connected graph, your Organization (or Local Business) linked to your WebSite, which is cleaner and stronger than scattered, disconnected blocks.

Structured data does not guarantee rankings or rich results, but it makes your site unambiguous to search engines and to the AI assistants that increasingly summarize the web. Clear data means you are easier to represent, and cite, correctly.

Schema Types

The types this generator creates

Core site-wide schema plus optional enhancements. Here is what each type does and when to use it.

TypeWhat it doesWhen to useRole
OrganizationIdentifies your brand: name, logo, URL, social profiles, contact.Every website. The foundation of your site-wide markup.Core
WebSiteTells search engines about your site as a whole and can enable the sitelinks search box.Every website. Pairs with Organization.Core
LocalBusinessExtends Organization with address, geo, hours, and price range for local search.Any business with a physical location or service area.Local
Sitelinks SearchBoxA SearchAction on WebSite that lets Google show a search box for your site in results.Sites with their own on-site search.Optional

Based on schema.org types supported by Google Search, 2026.

What It Can Unlock

What website schema can do for you

Structured data makes your site eligible for search features and helps machines understand your brand. Eligibility is never guaranteed, but the groundwork matters.

🏢

Knowledge panel signals

Organization markup with a logo and sameAs profiles helps Google connect your brand across the web and can feed the knowledge panel that appears for brand searches.

📍

Local results & maps

LocalBusiness markup with a valid address and opening hours helps search engines place your business correctly in local results and on Google Maps.

🔎

Sitelinks search box

A WebSite SearchAction can enable a search box directly in your brand search results, letting users search your site without a second click.

🖼️

Logo in search

Providing a logo through Organization schema tells Google which image to associate with your site in search features.

🤝

Trust and clarity

Explicit, machine-readable facts about your business reduce ambiguity for search engines and AI assistants that summarize the web.

Future-proofing

Structured data is increasingly used by AI answer engines. Clean schema makes your business easier to cite accurately.

Avoid These

Six schema mistakes that cause problems

Structured data helps only when it is accurate and valid. Steer clear of these common errors.

🚫

Marking up invisible content

Only mark up content that is actually visible on the page. Adding schema for information users cannot see violates Google guidelines and can trigger a manual action.

Markup must match the page
🏷️

Using the wrong type

Pick the most specific type that fits. A dentist should use a MedicalBusiness subtype, not a generic Organization, so search engines understand the context.

Be as specific as accurate
📋

Inconsistent NAP

Your Name, Address, and Phone in the schema must match what is on your site, Google Business Profile, and directories. Mismatches undermine local trust.

Keep NAP identical everywhere
🔗

Broken logo or URLs

A logo URL that 404s or a non-canonical site URL weakens the markup. Use absolute, working URLs and your canonical domain.

Use absolute, live URLs

Never validating

Always run your markup through the Rich Results Test and Schema.org Validator. A single syntax slip can invalidate the whole block.

Validate before you ship
♻️

Conflicting duplicate blocks

Multiple, conflicting schema blocks for the same entity confuse crawlers. Use one connected @graph with linked @id references instead.

One connected graph, not many

Get More From It

6 tips for effective structured data

Practical ways to make your schema work harder. All CommonNinja widgets mentioned are free to start.

01

Put site-wide schema on your homepage

Your Organization and WebSite markup belongs on your homepage or in a site-wide template so it loads on every page. It defines your brand once for the whole site.

02

Link nodes with @id

This generator connects the WebSite node to your Organization via a shared @id. Linked nodes tell search engines these entities are related, which is stronger than isolated blocks.

03

Add matching FAQ schema to key pages

Beyond site-wide schema, mark up FAQs on relevant pages. Our free FAQ Schema Generator creates valid FAQPage JSON-LD in seconds.

Try the FAQ Schema Generator
04

Present structured content to match

Schema describes your content; make the on-page version just as clear. Accordions and tabs organize information cleanly for the humans who arrive from search.

Try the Accordion widget
05

Keep hours and details current

Outdated opening hours or a stale address hurts local trust. Update your LocalBusiness schema whenever the real-world details change.

06

Validate after every change

Re-run the Rich Results Test whenever you edit your markup or redesign a page. It catches errors before Google does.

Glossary

Key structured data terms

A quick reference for the vocabulary behind schema markup.

TermDefinitionExampleWhen It Matters
Structured DataA standardized format for describing your content so search engines can understand it, not just display it. Schema.org is the shared vocabulary.JSON-LD in your headAny page you want search engines to understand precisely
JSON-LDThe Google-recommended way to add structured data: a block of JSON placed in a script tag. It sits separate from your visible HTML, which makes it easy to add and maintain.<script type="application/ld+json">Adding any schema to a modern site
sameAsA schema property listing your official profiles on other sites. It helps search engines confirm which social accounts and pages belong to your brand.Your Instagram, LinkedIn URLsConnecting your brand across the web
Rich ResultAn enhanced search listing (logo, sitelinks search box, star ratings, and more) that structured data can make your page eligible for. Eligibility is not a guarantee.Sitelinks search boxStanding out in search listings
@graphA way to include multiple linked schema entities in one JSON-LD block, connected with @id references. Cleaner than separate, disconnected blocks.Organization + WebSite togetherDefining several related entities at once

FAQ

Website schema markup is structured data that describes your site and business to search engines using the schema.org vocabulary. Instead of leaving search engines to guess your brand name, logo, and contact details from page text, you state them explicitly in a machine-readable format. This generator creates the most common site-wide types: Organization, WebSite, and LocalBusiness.
JSON-LD is the format Google recommends for structured data: a small block of JSON inside a script tag. Copy the generated code and paste it into the section of your homepage, or your site-wide template so it appears on every page. It lives separately from your visible HTML, so it will not change how your page looks.
Yes, completely free with no account or sign-up required. Generate and copy as much structured data as you need.
Organization describes any brand or company. LocalBusiness is a more specific subtype for businesses with a physical location or service area, and it adds fields like address, opening hours, and price range that power local search results and Google Maps. If you have a storefront or serve a local area, choose Local Business.
The sitelinks search box is a search field that Google can display directly in your brand search results, letting users search your site without visiting it first. It is enabled by a SearchAction on your WebSite schema. Toggle it on in this tool and provide your search results URL to generate it.
No. Structured data makes your pages eligible for certain rich results and helps search engines understand your site, but Google decides when to show rich results, and schema is not a direct ranking factor. It is best thought of as making your site clearer and easier to represent accurately.
Paste your page URL or the generated code into the Google Rich Results Test or the Schema.org Validator. Both are free and show errors, warnings, and which rich results you may be eligible for. Always validate after adding or editing your markup.

Trusted by