Structured Data (JSON-LD) Guide for Beginners
What Is Structured Data?
Structured data tells search engines exactly what your content is about — is it an article? A product? A FAQ? This enables rich snippets in search results (star ratings, FAQ dropdowns, recipe cards).
JSON-LD Templates
Website + Organization
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Your Site Name",
"url": "https://yoursite.com",
"description": "Your site description"
}
</script>
Article / Blog Post
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your Article Title",
"author": { "@type": "Person", "name": "Author Name" },"datePublished": "2026-03-20",
"image": "https://yoursite.com/image.jpg"
}
</script>
FAQ Page
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{"@type": "Question",
"name": "Your question?",
"acceptedAnswer": {"@type": "Answer",
"text": "Your answer."
}
}
]
}
</script>
Where to Add It
Place the `<script>` tag inside your `<head>` or at the end of `<body>`. Both work.
Validate It
After adding structured data, use [SEO Snapshot](/) to check if it's detected and valid. We parse and validate the most common schema types automatically.
Check your site's SEO score for free
Analyze your site