Technical SEO#schema markup#structured data#rich snippets#JSON-LD
Schema Markup: Complete Implementation Guide
sharjeelJanuary 3, 202610 min read
Expert article
What is Schema Markup?
Schema markup is a semantic vocabulary of tags that you can add to your HTML to improve the way search engines read and represent your page in SERPs.
Why Schema Markup Matters
- Enhanced search results: Rich snippets with images, ratings, and more
- Knowledge panels: Appear in Google's knowledge graph
- Voice search optimization: Better understanding for voice assistants
- Click-through rates: More attractive search results
Schema Markup Formats
JSON-LD (Recommended)
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Title",
"author": {
"@type": "Person",
"name": "Author Name"
}
}
</script>
Microdata
<div itemscope itemtype="https://schema.org/Article">
<h1 itemprop="headline">Article Title</h1>
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">Author Name</span>
</span>
</div>
Essential Schema Types
Article Schema
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Article Headline",
"image": "https://example.com/image.jpg",
"datePublished": "2026-01-01",
"author": {
"@type": "Person",
"name": "Author Name"
}
}
Product Schema
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"image": "https://example.com/product.jpg",
"description": "Product description",
"brand": {
"@type": "Brand",
"name": "Brand Name"
},
"offers": {
"@type": "Offer",
"price": "29.99",
"priceCurrency": "USD"
}
}
Local Business Schema
{
"@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-123-4567"
}
Implementation Best Practices
- Use JSON-LD format: Google's preferred method
- Test your markup: Use Google's Rich Results Test
- Be accurate: Ensure data matches what's on the page
- Don't overdo it: Only mark up content that exists
- Keep it updated: Maintain markup as content changes
Tools for Schema Implementation
- Google's Rich Results Test: Validate your structured data
- Schema Markup Generator: Create markup without coding
- JSON-LD Schema Generator: Online markup builders
- CMS plugins: WordPress, Drupal, and other platform tools