Schema markup (structured data) is code you add to your pages that helps search engines understand the content and context of your page. It enables rich results — enhanced search listings with stars, images, prices, FAQs, and more.
Why Schema Markup Matters
- Rich results increase click-through rates by up to 30%
- Helps search engines understand your content's meaning, not just keywords
- Required for many SERP features (recipes, events, products, FAQs)
- Improves AI engines' ability to parse and cite your content
JSON-LD Format
Always use JSON-LD (JavaScript Object Notation for Linked Data). It's Google's recommended format and the easiest to implement — just add a script tag to your page:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your Article Title",
"datePublished": "2026-01-15",
"author": {
"@type": "Person",
"name": "Author Name"
}
}
</script>
Common Schema Types
Article Schema
For blog posts, news articles, and editorial content.
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Title",
"description": "Brief description",
"datePublished": "2026-01-15",
"dateModified": "2026-01-20",
"author": {
"@type": "Person",
"name": "Author Name"
},
"publisher": {
"@type": "Organization",
"name": "Publisher Name",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
}
}
FAQ Schema
Enables expandable FAQ results directly in search.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is schema markup?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Schema markup is structured data..."
}
}
]
}
Local Business Schema
Essential for local SEO — enables your business info in Knowledge Panels and Maps.
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Business Name",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "City",
"addressRegion": "State",
"postalCode": "12345"
},
"telephone": "+1-555-555-5555",
"openingHoursSpecification": [...]
}
Product Schema
Enables product listings with price, availability, and reviews in search results.
HowTo Schema
For instructional content. Enables step-by-step rich results.
Breadcrumb Schema
Shows your site hierarchy in search results, replacing the plain URL.
Validation
Always validate your schema markup using:
- Google Rich Results Test — Tests eligibility for rich results
- Schema.org Validator — Checks syntax correctness
- DarnItSEO Schema Generator — Build and validate schema markup with an easy-to-use visual tool
Common Mistakes
- Adding schema for content that doesn't exist on the page (spammy)
- Using incorrect types (e.g., Article for a product page)
- Missing required fields that prevent rich results
- Duplicate or conflicting schemas on the same page