GrowthPedia

Schema Markup

Schema markup is code added to a webpage that helps search engines understand what the page is about.

Level: BeginnerRead: 5 minUpdated: 27 Jul 2026By Vera Lindqvist

Key facts

  • Schema markup uses a standardized vocabulary from Schema.org to label content types such as products, reviews, events, and local businesses.
  • It is commonly added to a page's HTML as JSON-LD, which is easy for crawlers to read.
  • Its main purpose is to provide explicit clues about a page's meaning, entities, properties, and relationships.
  • Google and other search systems can use structured data to better understand content and may show enhanced search features such as rich results.
  • Schema markup can support SEO by making pages more eligible for visually enhanced listings, which can improve click-through rate.
  • Correct syntax and valid schema type selection matter; structured data should be tested before deployment.

Also called

structured data, schema.org markup, rich snippet markup

Use it for

Helping search engines understand page content and enabling rich results.

Applies to

Google, Bing, Yahoo, and other search engines that support Schema.org.

How Schema Markup Works

Schema markup is a form of structured data that uses a shared vocabulary from Schema.org. It helps search engines interpret content by labeling entities like people, places, and events. Unlike meta tags, schema markup provides detailed properties and relationships. For example, a recipe page can specify ingredients, cooking time, and nutrition. This clarity can lead to rich results in search.

Search engines like Google use this data to understand the context of a page. They can then display enhanced snippets in search results. This is different from Markup SEO which refers to general HTML markup. Schema markup is a specific type of semantic markup that adds meaning beyond presentation.

The vocabulary is maintained by Schema.org, a collaborative project that defines Semantic Markup types. It covers hundreds of types and thousands of properties. You can choose the type that best matches your content. For instance, a local business uses LocalBusiness schema, while an event uses Event schema.

Common Schema Types for SEO

Several schema types are particularly useful for SEO. They align with rich result features that Google and other search engines support. For example, Product schema can trigger a product carousel, Review schema can show star ratings, and Event schema can appear in event listings. Choosing the correct type is crucial because it determines which rich results your page may be eligible for. Here are some of the most common types:

When selecting a schema type, consider the primary purpose of the page. For a product page, always use Product schema. For a review page, use Review schema. For a page about a person, use Person schema. Using the wrong type can confuse search engines and reduce the chance of rich results. For example, an e-commerce site selling shoes should use Product schema. A blog reviewing gadgets should use Review schema. A local restaurant should use LocalBusiness schema.

  • Product: Used for e-commerce pages. Includes price, availability, and reviews.
  • Review: Marks a review of a product, service, or business. Can show star ratings.
  • Event: Describes an event with date, location, and performers.
  • LocalBusiness: For brick-and-mortar businesses. Includes address, phone, and hours.
  • FAQ: Marks a list of questions and answers. Can appear as an accordion in search.
  • Article: For news or blog posts. Includes headline, author, and publish date.
  • Recipe: For cooking instructions. Can show cooking time, calories, and ratings.
  • VideoObject: For video content. Includes duration, thumbnail, and description.

How to Implement Schema Markup

The recommended format for schema markup is JSON-LD. You add a script block in the <head> or <body> of your HTML. This keeps the markup separate from visible content. You can also use Microdata or RDFa, but JSON-LD is easier to maintain.

For WordPress sites, plugins like Yoast Schema Markup can generate schema automatically. They let you select schema types and fill in details without coding. Other plugins like Schema Pro offer more control. If you code manually, use Google's Structured Data Markup Helper to generate JSON-LD.

Always choose the correct schema type for your content. Include required properties as defined by Schema.org. For example, a Product schema needs name and offers. Optional properties like brand or review can add more detail. Test your markup before going live.

Common Schema Markup Mistakes

Even experienced SEOs make mistakes with schema markup. Here are four common errors and their consequences:

For the first mistake, consider a page that uses FAQ schema but does not actually have a list of questions and answers visible to users. Google's guidelines require that structured data matches visible content. The second mistake is common among beginners who think schema markup directly boosts rankings. In reality, it only affects display. The third mistake occurs when people copy-paste schema without testing, leading to syntax errors like missing commas or quotation marks. The fourth mistake is treating schema as a magic fix for thin content. A page with poor content will not rank well even with perfect schema.

  • Using schema that does not match visible page content. Consequence: Google may ignore the markup or issue a manual action.
  • Expecting schema markup to automatically improve rankings. Consequence: Disappointment; it only affects display, not ranking.
  • Implementing invalid or incomplete structured data without testing. Consequence: Errors prevent rich results from appearing.
  • Treating schema markup as a substitute for strong content. Consequence: Poor content still ranks poorly.

Testing and Validating Schema Markup

Before deploying schema markup, test it with Google's Rich Results Test. This tool shows which rich results your page is eligible for. It also highlights errors and warnings. Another tool is the Schema.org validator, which checks syntax against the vocabulary.

Testing is essential after any change to your markup or CMS. Plugins can update and break existing schema. Use the Google Rich Results test to verify. Also check for structured data in Google Search Console. It reports issues with your markup.

Remember that schema markup is not a meta tag. Meta tags are for metadata like descriptions and keywords. Schema markup is richer and more structured. It lives in a script tag or as attributes in HTML.

When testing, check for required properties, valid values, and proper nesting. For example, a Product schema must include an 'offers' property with a price and currency. The Rich Results Test also shows previews of how your snippet might appear. Use the Schema.org validator for a deeper syntax check. Common errors include using deprecated properties, incorrect data types, or missing '@context' and '@type' declarations. Fixing these errors ensures your markup is valid and can be used by search engines. After any CMS update, re-test all schema on critical pages.

Schema Markup and Rich Results

Schema markup can make pages eligible for rich results. These are enhanced search listings that include images, ratings, prices, or other details. For example, a recipe with schema can show a photo, cooking time, and star rating. This can improve click-through rate.

However, schema markup is not a direct ranking factor. Google has stated that it does not boost rankings. It only helps with display and understanding. Rich Snippets are one type of rich result. Other what serp features means include knowledge panels and carousels.

To maximise impact, combine schema with Rich Content SEO. This means creating high-quality, engaging content that naturally fits the schema type. The markup should accurately reflect the visible content. Misleading schema can lead to penalties.

Keeping Schema Markup Up to Date

Schema guidance changes frequently. Google supports different rich result types, properties, and eligibility rules over time. Validation tools, required fields, and SERP display behaviour can also change. Pages should be re-tested after CMS or plugin updates, markup edits, or Google documentation changes.

Follow Schema.org and Google Search Central for updates. Subscribe to their blogs or release notes. When a new schema type becomes popular, consider adding it to relevant pages. For example, the FAQ schema became widely used after Google started showing it in search.

Regular audits of your structured data help catch issues early. Use Google Search Console's rich results report. It shows which pages have valid markup and which have errors. Fix errors promptly to maintain eligibility for rich results.

Comparison of Common Schema Types for SEO
Schema TypeUse CaseExample Properties
ProductE-commerce product pagesname, offers, price, availability, review
ReviewReviews of products or servicesitemReviewed, reviewRating, author, datePublished
EventUpcoming eventsname, startDate, location, performer, offers
LocalBusinessBrick-and-mortar businessesname, address, telephone, openingHours, geo

Common mistakes

  • Using schema that does not match visible page content. Google may ignore the markup or issue a manual action.
  • Expecting schema markup to automatically improve rankings. Disappointment; it only affects display, not ranking.
  • Implementing invalid or incomplete structured data without testing. Errors prevent rich results from appearing.
  • Treating schema markup as a substitute for strong content. Poor content still ranks poorly.

Questions

What is schema markup in SEO?

Schema markup is structured data code that helps search engines understand page content. It can lead to rich results in search, which may improve click-through rates.

How to add schema markup to website?

You can add schema markup by inserting JSON-LD code into your page's HTML. Many CMS plugins like Yoast SEO can generate it automatically.

How to add schema markup in WordPress?

In WordPress, you can use plugins like Yoast SEO or Schema Pro. They let you select schema types and fill in details without coding.

What is schema markup?

Schema markup is code that labels content on a webpage so search engines can understand it. It uses a standard vocabulary from Schema.org.

Does schema markup improve SEO rankings?

No, schema markup is not a direct ranking factor. It helps with rich results and click-through rates, but not organic rankings.

See also

Sources

  1. Google Search Central developers.google.com
  2. Schema.org schema.org
  3. Google Rich Results Test search.google.com
  4. Google Structured Data Testing / Schema Markup Validator validator.schema.org

Outbound links are unpaid and nofollow. If one has gone stale, tell me.