Schema.org JSON-LD Generator

Schema Type
Properties
Generated JSON-LD
Copy this code into a <script type="application/ld+json"> block in your page's <head>.
About JSON-LD

JSON-LD is Google's recommended format for structured data. It lives in a <script> block, separate from your HTML, making it easy to add without changing page layout.

Supported Types
  • Article - blog posts, news
  • FAQ - Q&A sections
  • How-To - step-by-step guides
  • Product - e-commerce items
  • Breadcrumbs - site navigation
  • Local Business - physical locations
  • Event - events, conferences
  • Website - sitelinks search box
  • Recipe - cooking instructions
  • Video - video content
  • Job Posting - job listings
  • Software App - apps, tools
  • Organisation - company info

What Is JSON-LD Structured Data

JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for adding structured data to web pages. It lives in a <script type="application/ld+json"> block in your HTML, completely separate from the visible content. Unlike Microdata or RDFa, which weave attributes into your existing markup, JSON-LD is a self-contained JSON object that you can add, modify, or remove without touching your page layout.

The vocabulary comes from Schema.org, a collaborative standard maintained by Google, Microsoft, Yahoo, and Yandex. When Google's crawler finds valid JSON-LD on your page, it can generate rich results - enhanced search listings with star ratings, FAQ accordions, recipe cards, event details, and more. These rich results take up more visual space and dramatically improve click-through rates.

Why JSON-LD Over Microdata or RDFa

FormatSyntaxMaintenanceGoogle Preference
JSON-LDJSON in a script blockEasy - decoupled from HTMLRecommended
MicrodataHTML attributes inlineHard - tightly coupled to markupSupported
RDFaHTML attributes inlineHard - tightly coupled to markupSupported

Schema.org Types That Trigger Rich Results

Not all Schema.org types produce visible changes in search results. Here are the types with the highest impact:

TypeRich ResultImpact on CTR
ArticleEnhanced listing with author, dateMedium
FAQPageExpandable Q&A accordionHigh
HowToNumbered steps inlineHigh
ProductPrice, rating, availabilityVery High
BreadcrumbListStructured URL pathMedium
LocalBusinessGoogle Maps, business infoVery High
EventDate, venue, tickets in searchHigh
WebSiteSitelinks search boxMedium
RecipeRecipe card with image, time, ratingVery High
VideoObjectVideo carousel, key momentsHigh
JobPostingJobs in Google for JobsVery High
SoftwareApplicationApp rating, price in searchHigh
OrganizationLogo, contact info in knowledge panelMedium

How to Use the Generated Code

  1. Select the schema type that matches your page content.
  2. Fill in the properties - required fields are marked.
  3. Copy the generated JSON-LD output.
  4. Paste it into a <script type="application/ld+json"> block in your page's <head>.
  5. Validate using Google's Rich Results Test to confirm eligibility.

You can have multiple JSON-LD blocks on a single page. A typical setup includes BreadcrumbList for navigation plus Article or Product for the main content.

Common Mistakes

  • Case-sensitive types - "@type": "article" is invalid. It must be "Article" with a capital A. Schema.org types are case-sensitive.
  • Missing required properties - each type has required fields. An Article without headline or image will fail validation.
  • Invalid date formats - dates must be ISO 8601: 2026-04-06T10:00:00+00:00, not April 6, 2026.
  • Relative URLs - image and URL properties must be absolute, starting with https://.

Structured Data and Open Graph

JSON-LD and Open Graph tags serve different systems. Open Graph controls how your links appear when shared on social media. JSON-LD controls how your pages appear in Google search results. You need both: generate your Open Graph tags for social sharing, and your JSON-LD here for search rich results. Use the Meta Tag Analyser to verify that your OG tags are in place alongside your structured data.

Common Questions

JSON-LD (JavaScript Object Notation for Linked Data) is a format for embedding structured data in web pages using a <script type="application/ld+json"> block. Google uses it to generate rich results - star ratings, FAQ accordions, recipe cards, and more - which significantly improve click-through rates.

Start with Article for blog posts (shows author and date in search), BreadcrumbList for navigation structure, and FAQPage for question-answer content. E-commerce sites should add Product for price and review data. Local businesses need LocalBusiness for Google Maps integration.

JSON-LD does not directly boost rankings, but it triggers rich results in Google search - enhanced listings with more visual space and information. Rich results can dramatically improve click-through rates (2-3x), which indirectly helps rankings through increased engagement signals.

Use Google's Rich Results Test to check which rich results your page is eligible for. The Schema Markup Validator checks correctness against the full Schema.org specification. Both tools accept a URL or a code snippet.

Yes. Google supports multiple <script type="application/ld+json"> blocks on a single page. A typical setup includes BreadcrumbList for navigation plus Article or Product for the main content. Each block should describe a different entity.