Schema Markup Generator

Select a schema type, fill in the fields, and get valid JSON-LD structured data to add to your page.

Schema Type
Generated JSON-LD

What Is Schema Markup?

Schema markup (structured data) is a standardised vocabulary for describing what a page is about in a way search engines can parse unambiguously. Where your prose says "we offer dental services in London", schema markup says {"@type": "Dentist", "address": {"addressLocality": "London"}}. Google uses structured data to understand entities, relationships, and facts — and to enable rich results in SERPs: FAQ dropdowns, star ratings, product prices, recipe cards, breadcrumb trails, and more.

Schema.org, the vocabulary used by Google, Microsoft, Yahoo, and Yandex, defines hundreds of types. In practice, most sites only need six or seven: Organization, LocalBusiness, Article, FAQPage, Product, BreadcrumbList, and Person. This generator covers the essentials.

Which Schema Types Unlock Rich Results

Schema TypeRich ResultWhen to Use
FAQPageExpandable Q&A dropdowns in SERPPages with genuine FAQ sections
Article / NewsArticle / BlogPostingTop Stories carousel, enhanced snippetBlog posts, news content
ProductPrice, availability, ratings in SERPE-commerce product pages
LocalBusinessKnowledge Panel, local pack eligibilityAny business with a physical location
OrganizationKnowledge Panel (brand-level)Your homepage or About page
BreadcrumbListBreadcrumb trail in SERP (replaces URL)Any page with breadcrumbs
EventEvent details in SERP and MapsEvents, webinars, concerts
RecipeRecipe card with photo, rating, timeCooking content
VideoObjectVideo thumbnail, duration in SERPPages with embedded video
HowToStep-by-step rich resultInstructional content
Review / AggregateRatingStar ratings in SERPAny rated product or service

Note: In 2023 Google scaled back FAQ rich results to only show on authoritative government and health sites. FAQPage schema is still valuable for understanding and for other search engines, but do not expect SERP dropdowns on most sites.

How to Add Schema to Your Page

  1. Generate the JSON-LD using the form above.
  2. Copy the code.
  3. Paste inside <head> of your page, wrapped in <script type="application/ld+json">...</script>.
  4. One schema per block is fine; multiple is also allowed. Article schema, FAQPage schema, and Organization schema can all coexist on the same page.
  5. Validate. Paste your live URL into Google's Rich Results Test at search.google.com/test/rich-results or use the structured data checker.
  6. Monitor. Search Console's "Enhancements" tab reports rich result eligibility and errors over time.

JSON-LD vs Microdata vs RDFa

There are three ways to embed structured data in HTML. Google prefers JSON-LD because it:

Microdata and RDFa still work, but new projects should use JSON-LD.

Common Schema Mistakes

Schema Doesn't Match Visible Content

Marking up a price of £10 in schema when the page shows £50 is a policy violation. Google's quality raters treat this as spam. Schema must accurately describe what users actually see.

Using the Wrong Type

A blog post marked up as Product will not earn rich results and may trigger errors. Pick the type that matches what the page is.

Missing Required Properties

Each schema type has required and recommended properties. Google's docs list them. For example, Product requires name, image, and one of (review, aggregateRating, offers) for rich results.

Invalid JSON

Unquoted keys, trailing commas, or unescaped quotes in string values will cause the whole block to fail silently. Use a validator.

Duplicate Organization Schema

Site-wide Organization schema should appear on only one page — usually the homepage. Repeating it on every page can confuse Google's entity graph.

Related Schema & Structured Data Resources