📋 Schema.org JSON-LD Generator

Generate JSON-LD structured data markup for Google — Article, Product, FAQ, BreadcrumbList, and more. Validate and copy ready-to-paste schema. Free online schema generator.

How to Use

1

Choose schema type

Select a schema type from the dropdown: Article, Product, LocalBusiness, FAQ, and more.

2

Fill in the fields

Enter values for each property. Required fields are marked. Nested keys use dot notation.

3

Copy JSON-LD

Click Generate and then Copy to get the complete <script type="application/ld+json"> block.

Frequently Asked Questions

What is Schema.org structured data? +
Schema.org is a shared vocabulary for structured data markup. Adding JSON-LD structured data to your pages helps search engines understand your content and display rich results (star ratings, FAQs, breadcrumbs) in search results.
What is JSON-LD? +
JSON-LD (JSON for Linked Data) is the recommended format for structured data. It is a <script type="application/ld+json"> block placed in your HTML <head>. Unlike microdata, it does not require changing your HTML structure.
Which schema types get rich snippets in Google? +
Schemas most likely to generate rich snippets include: FAQ (expandable Q&A), Review/AggregateRating (star ratings), Product (price, availability), Recipe (cooking time, calories), Event (date, location), and HowTo (step-by-step instructions).
How do I test my structured data? +
Use Google's Rich Results Test (search.google.com/test/rich-results) or Schema Markup Validator (validator.schema.org). Paste your JSON-LD or URL to check for errors and see which rich results you qualify for.
Where do I place the JSON-LD in my HTML? +
Place the <script type="application/ld+json"> block inside the <head> section of your HTML page. You can have multiple JSON-LD blocks on one page — one per schema type.


Complete Guide: Schema Markup Generator

Schema markup — also called structured data — is code added to your HTML that helps search engines understand the meaning of your content, not just its words. When Google understands that a page is a recipe, a product, or an FAQ, it may display that content as a rich result in search: star ratings, price, ingredients, and more appearing directly in the search snippet.

JSON-LD vs Microdata vs RDFa

Three formats can express schema markup, but JSON-LD is the clear winner in 2026 and Google's recommended approach:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Complete Guide to Schema Markup",
  "author": {
    "@type": "Person",
    "name": "Jane Smith"
  },
  "datePublished": "2026-05-08",
  "image": "https://example.com/img/article.jpg"
}
</script>

Most Impactful Schema Types

Not all schema types produce rich results. These are the types with the highest potential impact on click-through rates:

Nesting Schemas with mainEntity

You can nest related schema types within a single JSON-LD block using the mainEntity property. This is common for FAQPage and HowTo inside a WebPage:

{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Shipping FAQ",
  "mainEntity": {
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "How long does shipping take?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Standard shipping takes 3-5 business days."
        }
      }
    ]
  }
}

Validating Your Schema

  1. Open Google Rich Results Test at search.google.com/test/rich-results.
  2. Paste your URL or the raw JSON-LD code.
  3. Review detected items and any errors (blocking) or warnings (non-blocking).
  4. Use the Schema Markup Validator at validator.schema.org for spec-level validation.

Common Mistakes

🧰 50+ Tools