JSON-LD Schema Generator
Generate schema.org JSON-LD for Article, Product, FAQ, Organization and more.
Overview
The JSON-LD Schema Generator emits structured-data JSON-LD blocks for common schema.org types — Article, BlogPosting, Product, Organization, LocalBusiness, FAQPage, BreadcrumbList, Event, Recipe, and more — from a simple form. Output is a complete <script type="application/ld+json"> tag ready to paste into your <head>.
Useful for SEO practitioners and developers learning how to add JSON-LD structured data to a webpage or how to generate Product schema for rich results. Reach for it when chasing rich snippets (review stars, FAQ accordion, recipe card) in Google search results or when fixing the structured-data warnings in Search Console.
How it works
JSON-LD is a JSON-based serialisation for Linked Data defined by W3C, and schema.org provides the vocabulary that Google, Bing, and other engines use to surface rich results. Each block declares @context: "https://schema.org", a @type identifying the entity, and a flat or nested set of properties that match the schema.org type definition.
The generator validates required and recommended properties per type (Product needs name, image, description, offers; Article needs headline, author, datePublished), produces ISO-8601 dates, and nests entities (offers → Offer) where the schema expects it.
Examples
- A Product block with
name,image,offers.price, andaggregateRating. - An FAQPage with
mainEntityarray ofQuestionandacceptedAnswer.Answerentities. - A BreadcrumbList with positioned
ListItemnodes. - An Organization with
name,url,logo, andsameAssocial profiles.
FAQ
JSON-LD or Microdata?
JSON-LD is Google's preferred format and keeps markup separate from content. Microdata interleaves with HTML and is harder to maintain.
Where do I put the script tag?
In <head> or anywhere in <body> — Google parses both. Head is conventional because it keeps structured data discoverable from view-source.
Does invalid JSON-LD hurt SEO?
It does not penalise the page, but invalid blocks are ignored, so you lose the rich-result opportunity. Always validate after generating.
Can a page have multiple JSON-LD blocks?
Yes. Multiple <script type="application/ld+json"> blocks are concatenated and each is parsed independently — common when a page covers an Article plus a BreadcrumbList plus an Organization.