Schema Markup
Definition
Code that helps search engines understand your content better, enabling rich results like star ratings, FAQs, and event details in search listings.
What is Schema Markup?
Schema markup (or structured data) is code added to your website that helps search engines understand your content more precisely. It can result in enhanced search listings called "rich results" or "rich snippets".
Why Schema Matters
Rich Results
Schema enables enhanced search listings:
- Star ratings for reviews
- FAQ dropdowns
- Recipe details (cook time, calories)
- Event dates and times
- Product prices and availability
- Business hours and location
Better Click-Through
Rich results stand out visually, attracting more clicks.
Clearer Understanding
Search engines understand your content better, potentially improving relevance for searches.
Common Schema Types
LocalBusiness
Business name, address, phone, hours. Essential for local businesses.
Product
Price, availability, reviews. For e-commerce.
FAQPage
Questions and answers. Can show as expandable in search results.
Review/AggregateRating
Star ratings that display in search results.
Article
Publication date, author, headline. For blogs and news.
Event
Date, location, performer. For events.
HowTo
Step-by-step instructions.
Implementing Schema
JSON-LD (Recommended)
JavaScript notation added to your page. Easiest to implement and Google's preferred format.
Microdata
HTML attributes added to existing elements.
RDFa
Similar to microdata. Less common.
Testing Schema
Google Rich Results Test
See if your schema qualifies for rich results.
Schema.org Validator
Check syntax is correct.
Google Search Console
View rich result performance.
Schema and Rankings
Google says schema isn't a direct ranking factor. However, improved click-through rates from rich results can indirectly help.
Getting Started
Start with:
- LocalBusiness schema (if local business)
- FAQPage schema (if you have FAQs)
- Product schema (if selling products)
Plugins like Yoast (WordPress) can generate some schema automatically.