Schema Markup Generator

Generate valid JSON-LD structured data for any page type. Copy the output into your <head> and validate with Google's Rich Results Test.

Choose schema type

JSON-LD output

Fill in the fields above to generate your JSON-LD.

What is schema markup and why does it matter for SEO?

Schema markup is a vocabulary of structured data defined at schema.org and adopted by Google, Bing, and other search engines. You embed it in your HTML as JSON-LD, and search engines use it to understand your content beyond what they can infer from text alone.

When Google can confidently interpret your content — a recipe, FAQ page, or product listing — it may show a rich result in the SERP: star ratings, ingredient lists, answer boxes, event dates, or breadcrumb navigation. Rich results consistently improve click-through rates.

How to add JSON-LD to your page

Place a <script type="application/ld+json"> block in your <head>. Copy the JSON-LD from this tool and paste it between the tags. You can use multiple JSON-LD blocks on one page — one per schema type.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Your article title"
}
</script>

After publishing, run the Google Rich Results Test to confirm the markup is valid and check which rich result types your page qualifies for.

Choosing the right schema type

Frequently asked questions

What is schema markup?

Schema markup is structured data added to a webpage as JSON-LD, Microdata, or RDFa. It tells search engines what your content means, enabling rich results like star ratings, FAQs, and event listings in Google Search.

Does schema markup improve rankings?

Google states schema markup does not directly improve rankings. However, rich results can increase click-through rates, improving traffic and indirectly influencing authority signals.

What is JSON-LD and why is it recommended?

JSON-LD (JavaScript Object Notation for Linked Data) encodes structured data in a script tag. Google recommends it because it separates structured data from visible HTML, making it easy to implement and update.

How do I test schema markup?

Use the Google Rich Results Test at search.google.com/test/rich-results. Enter your page URL or paste your code to check for errors and see which rich result types your page qualifies for.

Which schema type should I use?

Use Article for blog posts, FAQPage for Q&A pages, LocalBusiness for physical businesses, Product for product pages, Organization for brand pages, BreadcrumbList for navigation trails, HowTo for guides, Event for events, VideoObject for videos, and Recipe for cooking content.

Related tools