📋 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
Choose schema type
Select a schema type from the dropdown: Article, Product, LocalBusiness, FAQ, and more.
Fill in the fields
Enter values for each property. Required fields are marked. Nested keys use dot notation.
Copy JSON-LD
Click Generate and then Copy to get the complete <script type="application/ld+json"> block.
Frequently Asked Questions
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:
- JSON-LD — Injected in a
<script type="application/ld+json">tag, completely separate from visible HTML. Easy to add without touching your templates. Can be added dynamically by JavaScript. - Microdata — Attributes (
itemscope,itemtype,itemprop) embedded directly in HTML elements. Tightly coupled to HTML structure; difficult to maintain. - RDFa — Similar to Microdata but based on RDF vocabulary. Rarely used for SEO in practice.
<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:
- Article / NewsArticle / BlogPosting — Unlocks article carousels in Google News and Top Stories. Requires
headline,image,datePublished. - Product — Shows price, availability, and aggregate rating in Shopping results.
- FAQPage — Expands your search result to show question/answer pairs inline. High CTR impact.
- HowTo — Displays step-by-step instructions with images in rich results.
- BreadcrumbList — Replaces the URL with a breadcrumb trail in the search snippet.
- LocalBusiness — Powers the Knowledge Panel for local businesses. Include
address,telephone,openingHours. - Recipe — Shows cooking time, calories, and star ratings for recipe pages.
- Review / AggregateRating — Displays gold stars in search results.
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
- Open Google Rich Results Test at
search.google.com/test/rich-results. - Paste your URL or the raw JSON-LD code.
- Review detected items and any errors (blocking) or warnings (non-blocking).
- Use the Schema Markup Validator at
validator.schema.orgfor spec-level validation.
Common Mistakes
- Missing required fields — Google's documentation lists required properties for each rich result type.
- Using the wrong
@type—ProductandItemListare often confused on category pages. - Marking up content not visible to users — Google's guidelines prohibit marking up content that users cannot see on the page.
- Incorrect date formats — Use ISO 8601:
2026-05-08or2026-05-08T10:30:00+03:00. - Forgetting to update schema after content changes — a product marked as "InStock" when it's sold out triggers a manual penalty.
- Pair schema with optimized meta tags using the Meta Tag Generator.
- Preview how your pages appear when shared with the OG Preview tool.