Back to Blog
JSON-LDCode

JSON-LD Examples: Complete Guide

Copy-paste JSON-LD structured data examples for articles, products, FAQs, local businesses, events, recipes, and more.

SS
Sanjay Samanta
June 6, 2026
9 min read

The fastest way to implement JSON-LD is to start with a working example and customize it. This guide provides production-ready JSON-LD snippets for the most common Schema.org types, each validated against Google’s Rich Results Test.


Article / Blog Post

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "JSON-LD Examples: Complete Guide",
  "description": "Copy-paste JSON-LD structured data examples for every common schema type.",
  "image": "https://example.com/images/json-ld-guide.png",
  "author": {
    "@type": "Person",
    "name": "Sanjay Samanta",
    "url": "https://example.com/authors/sanjay-samanta"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Open Graph Generator",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  },
  "datePublished": "2026-06-06",
  "dateModified": "2026-06-06",
  "mainEntityOfPage": "https://example.com/blog/json-ld-examples"
}

FAQ Page

FAQ schema generates expandable question/answer dropdowns directly in Google search results:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is JSON-LD?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "JSON-LD is a lightweight data format for embedding structured data in web pages using a script tag."
      }
    },
    {
      "@type": "Question",
      "name": "Where do I put JSON-LD in HTML?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Place the JSON-LD script tag in the <head> section of your HTML document."
      }
    }
  ]
}

Product

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Wireless Bluetooth Headphones",
  "image": "https://example.com/images/headphones.jpg",
  "description": "Premium noise-cancelling wireless headphones with 40-hour battery life.",
  "brand": { "@type": "Brand", "name": "AudioPro" },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/headphones",
    "priceCurrency": "USD",
    "price": "149.99",
    "availability": "https://schema.org/InStock",
    "seller": { "@type": "Organization", "name": "Example Store" }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "1284"
  }
}

Local Business

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Downtown Coffee Shop",
  "image": "https://example.com/images/coffee-shop.jpg",
  "telephone": "+1-555-123-4567",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "postalCode": "94102",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "07:00",
      "closes": "19:00"
    }
  ],
  "priceRange": "$$"
}

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },
    { "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://example.com/blog" },
    { "@type": "ListItem", "position": 3, "name": "JSON-LD Examples" }
  ]
}

Organization / Website

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Open Graph Generator",
  "url": "https://opengraphgenerator.com",
  "logo": "https://opengraphgenerator.com/logo.png",
  "sameAs": [
    "https://twitter.com/opengraphgen",
    "https://github.com/opengraphgen"
  ]
}

How-To

{
  "@context": "https://schema.org",
  "@type": "HowTo",
  "name": "How to Add Open Graph Tags",
  "step": [
    { "@type": "HowToStep", "text": "Open your HTML file and locate the <head> section." },
    { "@type": "HowToStep", "text": "Add the required og:title, og:type, og:url, and og:image meta tags." },
    { "@type": "HowToStep", "text": "Test your tags using the Open Graph Inspector tool." }
  ]
}

Validation

After adding any JSON-LD snippet, validate it with:

  1. Google Rich Results Test — Shows which rich features your schema is eligible for.
  2. Schema.org Validator — Checks for syntax and vocabulary errors.
  3. Schema Inspector — Our built-in tool for quick validation.

For more Schema.org specific examples, see Schema.org JSON-LD Examples.


Advertisement