Google, Bing, and AI platforms like ChatGPT all need to understand your content before they can surface it to users. They’ve gotten better at this over time but can still benefit from explicit signals that remove any ambiguity.
Schema markup is one way to explicitly label your content to tell search systems exactly what they’re looking at. Whether that’s a product, a review, an event, or a local business.
This guide walks through what schema markup is, the most useful types, and how to implement it step by step.
What Is Schema Markup in SEO?
Schema markup (a type of structured data) is code you add to your website to help search engines, and potentially AI systems, understand your content better.
Schema markup looks like this:

Schema.org serves as the reference website that publishes documentation and guidelines for implementing schema markup.
Adding schema markup to your pages also makes your content eligible to have search engines like Google show enhanced search results known as rich snippets (also called rich results). Like star ratings, prices, and whether a product is in stock.
When rich snippets appear, users can find valuable information directly within search results.
For example, Dell’s product page for computers, monitors, and other tech solutions uses schema markup. And Google displays information like price range, product availability, delivery fee, and more in the page’s search result.

Just know that adding schema markup doesn’t guarantee rich results. Ultimately, it’s up to Google to decide whether to show rich formats.
How Does Schema Markup Work?
Schema markup works when crawlers scan your website’s HTML and see tags from Schema.org’s standardized vocabulary clearly labeling your content in a way that search systems can understand.
For example, schema markup explicitly tells search engines that “$299 is the price of this specific product.” So, they don’t have to infer what $299 means.
The explicit communication from schema markup helps search engines categorize your content more accurately and determine when to display it as a rich result.
Why Is Schema Markup Important for SEO?
Schema markup is important for search engine optimization (SEO) because it helps search engines understand your content better, which increases the odds that your content will show for more relevant keywords.
But know that schema markup isn’t a direct ranking factor.
Structured data also makes your content eligible to display as richer, more engaging search results that offer these benefits:
- Enhanced click-through rates (CTRs): Rich results may see higher CTRs compared to standard blue links given users can preview key information directly in search results
- Improved SERP real estate: Rich snippets take up more visual space on search engine results pages (SERPs), pushing competitors further down the page
- Better user experience: Rich results display relevant details upfront, which helps users more readily see if you meet their search intent in a way that makes them want to visit your content
Without schema markup, your page will probably only show as a blue link with a description below it. And if your competitors are using schema markup and getting rich snippets, then your link won’t stand out.
For example, compare these two pages ranking for “small microwave under $200” that appear right next to each other in the search results:

The Home Depot result is minimal. But the Target result stands out by showing a star rating, explicitly saying there are options between $18 and $200 (which reflects the search intent), and including mention of free delivery and returns.
Is Schema Markup Important for AI Visibility?
Schema markup may be important for AI visibility, but there’s limited evidence showing it definitively improves your likelihood of showing up in AI responses.
In its guide to succeeding in AI search, Google says:
“Make sure structured data matches the visible content.”
But this guidance only briefly mentions schema markup as being useful for sharing information in a machine-readable way that Google’s systems consider. And because the page says the guidance is for “success in Google Search all around,” there’s no direct statement that using structured data helps specifically with AI visibility.
Microsoft has a similar page about optimizing content for inclusion in Bing’s AI answers. Here, the advice is more explicit:
“Schema is a type of code that helps search engines and AI systems understand your content.”
We can’t definitively say schema markup helps with AI visibility—there’s no similar guidance from the companies behind popular AI tools. It’s unclear if AI systems like ChatGPT or Claude use schema markup in the same ways that search engines do.
However, there’s evidence that AI tools like ChatGPT use Google. If structured data helps Google match your pages to relevant queries, it would also help AI tools match your pages to relevant queries if those AI tools are using Google.
Regardless of the direct or indirect effects, adding schema markup is an SEO best practice. So, it’s beneficial to add proper schema markup to your content where relevant anyway.
Common Types of Schema Markup
Google supports dozens of schema markup types, but you don’t need to use them all.
In this section, we’ll explore some of the most commonly used types of schema.
Organization Markup
Organization schema markup tells search engines more about your business, such as its name, logo, address, and contact details.
Organization schema helps your organization’s details appear in a knowledge panel in Google search results (if your business has a knowledge panel).Like so:

Product Snippet Markup
Product snippet markup is one of two types of product schema markup and is used to provide search engines with extra product details for pages where users cannot make a purchase—like product review pages.
This type of markup allows search engines to display information in search results, such as:
- Ratings and reviews: Aggregated customer reviews and opinions
- Pros and cons: Key advantages and disadvantages of the product (only available for editorial product review pages)
- Price and availability: Basic pricing information without direct purchase options
Product snippet markup is particularly valuable for editorial websites, affiliate marketers, and ecommerce platforms showcasing products but not selling them directly.
If a tech review site publishes an in-depth review and adds product snippet schema markup to the page,Google can choose to display star ratings, review summaries, and pros and cons directly in the search results.

Merchant Listing Markup
Merchant listing markup is the second type of product markup specifically for product pages, but it’s for pages where users can make a purchase.
Merchant listing markup can display key purchase-related details, such as:
- Pricing and discounts: Regular prices, sale prices, and promotions
- Stock availability: Indicates if the item is in stock, on back order, or out of stock
- Shipping and returns: Delivery estimates, shipping fees, and return policies
Ecommerce websites and online retailers that want to give potential buyers purchase-related information directly in search results are great candidates for merchant listing markup.

Review Schema Markup
Review schema markup can display star ratings, review summaries, and other review-related details in search results.
Google supports review snippets for various structured data types, including:
- Product
- Local business
- Movie
- Book
- Software app
- Recipe
Review markup typically appears in one of two formats: a single rating and an aggregate rating.
A single rating shows just one reviewer’s rating along with their name:

An aggregate rating shows an average score based on multiple user reviews and the total number is indicated in parentheses:

Article Markup
Article markup helps search engines understand news articles, blog posts, and sports articles and makes your pages eligible for a rich snippet in Google Search and Google News.
When you use article markup, it can influence how article headlines, author names, and publication dates appear in search results. Like this:

Local Business Markup
Local business markup gives search engines key information about a physical business, including its address, phone number, and operating hours.
Brick-and-mortar shops, restaurants, service providers, or other businesses aiming to attract local customers can all benefit from local business markup. It can help Google understand what to show in your business profile that appears in relevant local Search and Maps results.

Further reading: Local SEO: What Is It & How to Do It
How to Add Schema Markup to Your Website
You can manually insert schema into your HTML or rely on plugins if your site runs on a content management system (CMS) like WordPress.
Here’s how to generate and add schema markup to your site:
1. Select Your Schema from Google’s Structured Data Markup Helper
Go to Google’s Structured Data Markup Helper, choose a schema type, enter your URL, and click “Start Tagging.”

Your webpage will appear on the left. Data items for markup will appear on the right.

2. Mark Up Your Page
Using the tool, highlight the section on your page that you’d like to mark up.
For example, for an article, highlight the title and choose the “Title” data item from the menu that pops up.

The tool will then take the article’s title and place it next to “Title” on the right-hand side.

Continue adding as many relevant markup properties as you can.
3. Generate the HTML
When you’re done marking up your page, click on the “Create HTML” button at the top right of the screen.

You’ll receive JSON-LD markup by default (Google’s recommended format), but you can switch to Microdata using the drop-down menu.

4. Add the Schema Markup to Your Website
Now that you have your code, add the schema markup to your webpage’s HTML <head> section.
You can easily copy the markup from the tool.

If you’re using a CMS like WordPress, you can use a plugin like SchemaPro, Rank Math, or Yoast to add schema markup without editing HTML.
For example, Yoast SEO generates organization schema using your business name, logo, and other details in the plugin’s settings. And it inserts the schema into your website’s code.

5. Validate the Markup
Validate the schema markup using Google’s Rich Results Test.
Enter your URL or paste the generated schema markup into the tool, and it’ll confirm if your markup is valid.

Errors, warnings, and detected schema markup will show up on the right side of the screen:

If you need to fix any errors, edit your code directly on the left side of the page.
After you make changes, click the “Run Test” button at the bottom of the page:

How to Generate Schema Markup with AI Tools
Generating structured data with AI tools like ChatGPT, Google Gemini, and Claude is as easy as entering a prompt, but it’s not foolproof and still needs to be implemented on your site.
For example, I asked ChatGPT to generate JSON-LD schema for our post about the Google 3 Pack.

I then used the Rich Results Test to validate the schema. The tool detected both the article and breadcrumb structured data. But it detected non-critical issues with the article schema.

The ChatGPT-generated schema has an invalid datetime value and is missing time zone information in the datePublished property.

This is information ChatGPT was unable to find just by crawling the page.
The ChatGPT output also lacks a dateModified property, which tells search engines when the page was last updated. This is not an issue necessarily, but it’s information that our current schema markup does include:

To be fair, Google’s Structured Data Markup Helper also doesn’t include most optional properties.
The takeaway? You should validate any schema markup before implementing it.
Schema Markup Best Practices
Follow these best practices to ensure your schema markup is effective and compliant with Google’s structured data guidelines:
- Focus on pages that benefit from rich results: Add schema to pages like product listings, reviews, articles, and local business pages, as these are more likely to show enhanced search results
- Only use relevant schema: Make sure the schema type accurately matches your page
- Keep the markup up to date: Regularly check and update your schema—especially for details that change over time, such as product prices or business hours
- Add as much relevant information as possible: If your schema type supports multiple details, fill out as many as you can. For example, local business schema can include opening hours, accepted payment methods, and location details.
- Ensure schema matches other online listings: Make sure your schema details are consistent with similar details on your Google Business Profile, social media, and other websites
- Use the most specific schema type: Use the most precise schema subtype for organizations (e.g., Restaurant instead of just LocalBusiness)
- Always test your structured data: If your schema contains errors, Google may issue a structured data manual action, making the page ineligible for rich results. While this won’t affect SEO rankings, it can reduce your visibility in search results.
How to Check Your Website’s Schema Markup
Regularly auditing your site’s schema markup ensures it remains accurate.
Semrush’s Site Audit tool is an SEO checker that can automate this process, helping you find and fix schema-related issues across your entire website.
After you set up a full audit of your site, click the “View details” button under “Markup.”
You’ll get a markup score that indicates how much of your schema data is valid or invalid. The higher your score, the fewer errors you have.

To see a full list of errors, scroll down to the “Structured Data Items” section. And click on the “View all invalid items” button.

Click on any entry in the “Affected Fields” column to see specific errors for a given page.

If any errors show up for your site, revisit the Structured Data Markup Helper to generate new markup, then validate it again with the Rich Results Test.
















