JSON-LD
A format for implementing structured data using JavaScript Object Notation.
What is JSON-LD?
JSON-LD (JavaScript Object Notation for Linked Data) is the recommended format for implementing structured data on web pages. It uses a script tag in the HTML head to contain structured data that search engines can read to understand page content.
JSON-LD is preferred by Google because it's separated from the HTML content, making it easier to implement and maintain without risking the visual appearance of the page.
Why JSON-LD matters
JSON-LD enables rich results in search like star ratings, FAQ dropdowns, and product prices. It helps search engines understand your content better and can significantly increase click-through rates. It's also used by AI systems to understand content.
How to implement
Identify appropriate schema types for your content
Create JSON-LD markup following Schema.org vocabulary
Place markup in a script tag in the head
Validate with Google Rich Results Test
Monitor in Search Console Rich Results report
Update markup when content changes
Code example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to implement JSON-LD",
"author": {
"@type": "Organization",
"name": "SilverGecko"
},
"datePublished": "2026-01-15",
"description": "Complete guide to JSON-LD implementation"
}
</script>Common mistakes to avoid
- Invalid JSON syntax
- Using schema that doesn't match visible content
- Missing required properties
- Not testing before deployment
Examples
Article schema for blog posts
Product schema for ecommerce
FAQ schema for question pages
Frequently asked questions
In a <script type="application/ld+json"> tag, typically in the <head> section. It can also be placed in the body - Google processes both locations.
Yes, you can have multiple script blocks for different schema types on the same page, or combine them in a single block using an array.