Schema Markup
Schema markup is structured data code added to a webpage that helps search engines understand what the page is about and how its content is organized.

Key takeaways
- Schema markup is a type of structured data that uses Schema.org vocabulary.
- JSON-LD is the recommended format for implementation.
- Schema enables rich results (e.g., star ratings, FAQs) that can improve click-through rates.
- It does not directly influence rankings but supports better search interpretation.
- Always test your schema with Google's Rich Results Test before going live.
Schema markup is also called structured data and is based on Schema.org vocabulary.
Example
- A recipe page includes a Recipe schema with properties: name, image, cookTime, nutrition.calories, recipeIngredient, recipeInstructions.
- Google can display the recipe as a rich result with a photo, star rating, and cooking time directly in search results.
- Example JSON-LD snippet:
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Chocolate Chip Cookies",
"recipeIngredient": ["1 cup flour", "1/2 cup sugar"],
"cookTime": "PT10M"
}
When Should I Use Schema Markup?
- Your page contains content that maps directly to a schema type (e.g., product, review, event, FAQ, local business, article).
- You want to increase click-through rates by appearing with rich snippets.
- You need to clarify ambiguous content (e.g., a business name vs. an event name).
- You are publishing content that Google explicitly supports for rich results (see Google Search Gallery).
What Schema Markup Is Not
- A ranking guarantee: Schema does not directly boost search position, but it can improve visibility.
- A quick fix: It requires careful implementation and testing.
- Hidden content: Schema must reflect visible page content—no misrepresentation.
- A substitute for quality: It does not fix thin content, poor crawlability, or weak internal linking.
Quick Start: Add Schema Markup in 4 Steps
- Identify the schema type that matches your content (e.g., Product, FAQ, Event).
- Write JSON-LD code manually or use a generator (e.g., Google's Structured Data Markup Helper).
- Embed the code into your page’s
<head>or within the<body>. - Test using Google Rich Results Test to ensure validity and eligibility.
Common Mistakes
- Using schema that does not match visible content: This can lead to manual penalties.
- Expecting automatic ranking improvement: Schema enables rich results, not direct ranking gains.
- Skipping testing: Invalid or incomplete markup will not work.
- Treating schema as an SEO shortcut: Without strong content, schema has limited impact.
Next step
FAQ
What is the difference between schema markup and structured data?
Structured data is any data organized in a structured format. Schema markup is a specific type of structured data that uses Schema.org vocabulary to label content for search engines.
Related topics
Sources
- Google Search Central — Most authoritative source for how Google uses structured data and rich results.
- Schema.org — Official vocabulary reference for schema types and properties.
- Google Rich Results Test — Primary testing tool for checking rich result eligibility and implementation.
Reviewed by Lucía Marín, Founding editor.