JSON-LD Schema Generator
Generate Schema.org JSON-LD structured data markup for SEO rich results.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Headline",
"description": "A short description of the article.",
"author": {
"@type": "Person",
"name": "Author Name"
},
"datePublished": "2026-05-28",
"dateModified": "2026-05-28",
"publisher": {
"@type": "Organization",
"name": "Publisher Name",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
},
"image": "https://example.com/article-image.jpg",
"url": "https://example.com/article-slug"
}
</script>About This Tool
JSON-LD (JavaScript Object Notation for Linked Data) is the recommended way to add structured data (Schema.org markup) to web pages. Search engines like Google use it to understand your content and display rich results β star ratings, FAQs, breadcrumbs, product prices, and more β directly in the search results page.
Select a schema type from the dropdown to load a pre-filled template, then edit the JSON to match your actual data. The right panel shows the complete script tag ready to paste into your HTML <head>.
How to Use
- Choose a schema type (Article, Product, FAQ, etc.).
- Edit the template in the left panel with your actual data.
- The right panel shows the <script> tag to paste into your HTML.
- Copy and add it to your page's <head> section.
Use Cases
Bloggers add Article markup to enable byline and date rich results. E-commerce teams add Product markup with price and availability for shopping knowledge panels. Local businesses add LocalBusiness markup to appear in map-pack results with phone and hours. Content sites add FAQPage markup to display accordions directly in SERPs.
FAQ
- Does adding JSON-LD guarantee rich results?β No. Google must first crawl and process the markup, then decide whether to show rich results based on quality signals. Test with Google's Rich Results Test tool.
- Where should the script tag go?β Google recommends placing it in the <head>, though <body> also works.
- Can I have multiple JSON-LD blocks on one page?β Yes. Each schema type can have its own separate <script type="application/ld+json"> block.