What is schema markup?
Schema markup is structured data (usually JSON-LD code) that describes what's on a page in a format search engines understand: an article, a product, an FAQ, an organization. It can make pages eligible for rich results and helps machines read your content accurately.
Schema markup, defined
Schema markup is structured data you add to a page to describe its content in a format search engines can read precisely.
Instead of inferring that a page is about a product with a price and reviews, the search engine reads it directly: this is a Product, its name is X, its price is Y, its rating is Z.
The vocabulary comes from Schema.org, a project launched in 2011 by Google, Bing, Yahoo and Yandex. Most sites add it as JSON-LD, a block of code in the page that doesn't change what visitors see. Google recommends JSON-LD over the older Microdata and RDFa formats.
What schema markup does
Rich results
Some schema types make your page eligible for enhanced displays on the results page, such as:
- Star ratings and review counts for products and software.
- Prices and availability.
- Breadcrumbs instead of a raw URL.
- Event dates and locations.
- Recipe times and ratings.
- Video thumbnails and key moments.
Eligibility doesn't guarantee display. Google decides when to show rich results based on the query and the page's quality.
Clearer understanding
Even without visible changes, schema helps search engines understand entities: who your company is, what your products are, who wrote an article. That supports knowledge panels, and helps AI systems that rely on search indexes describe you accurately, which is part of AI search visibility.
Is schema a ranking factor?
Not directly. Google has said structured data doesn't by itself boost rankings. But rich results can raise click-through rates, and clearer understanding can help your pages show for the right queries. It's best seen as a way to make good content easier to interpret, not a shortcut.
The most useful schema types for B2B and SaaS
- Organization: your company name, logo, URL, social profiles and contact details. Add it to the homepage or about page.
- WebSite: your site name, which helps Google show the right name in results.
- SoftwareApplication or Product: for product pages, with category, operating system, price and ratings where they're genuine.
- Article or BlogPosting: for blog content, with headline, author, publish date and modified date.
- Person: for author pages, linking authors to their credentials and profiles. This supports E-E-A-T.
- BreadcrumbList: for showing your site hierarchy in results.
- FAQPage: describes questions and answers on a page. Google now shows FAQ rich results only for well-known government and health sites, but the markup still helps describe content.
- HowTo: Google has stopped showing HowTo rich results, but the markup remains valid for describing steps.
- Event, VideoObject, Review: where relevant.
Schema markup rules to follow
- Mark up only what's visible on the page. Describing content that isn't there violates Google's guidelines.
- Keep it accurate. Prices, ratings and dates must match the page.
- Don't fake reviews. Self-serving review markup for your own business on your own site isn't eligible for star ratings.
- Use the most specific type that fits.
- Include required properties for any rich result you want.
- Keep it in sync when content changes, ideally generated from the same data as the page.
Misleading structured data can lead to a manual action that removes rich results from your whole site.
How to add schema markup
- CMS plugins: WordPress plugins like Yoast and Rank Math add basic schema automatically.
- Page templates: on custom sites, generate JSON-LD in the template from the page's data. This scales well, especially for programmatic SEO.
- Tag managers: possible, but schema injected by JavaScript is less reliable for some crawlers.
- Manual: for one-off pages, write JSON-LD and paste it into the head.
How to test schema markup
- Use Google's Rich Results Test to see which rich results a page is eligible for and any errors.
- Use the Schema Markup Validator (validator.schema.org) to check general Schema.org syntax.
- Watch the enhancement reports in Google Search Console for errors across the site.
- Recheck after template changes, which often break structured data silently.
Common mistakes
- Marking up content that isn't on the page.
- Organization schema with outdated logos or social links.
- Duplicate or conflicting schema from several plugins.
- Missing author information on articles.
- Syntax errors that stop the whole block being read.
Schema and AI search
AI systems mostly read page text, but structured data helps the search engines they use understand entities, relationships and facts. Consistent Organization and Product schema, matching what your site and third-party profiles say, supports accurate brand descriptions in AI answers. It's one piece of AEO, alongside clear writing and off-site mentions.
Where to start
Add Organization and WebSite schema to your homepage, Article schema with author details to your blog, and BreadcrumbList across the site. Then add Product or SoftwareApplication schema to key product pages. Test everything and monitor Search Console. If your templates need structured data built in properly, that's part of my technical SEO work.
Want this sorted for your site?
Tell me what you're working on and I'll suggest a plan.

Related questions
What is technical SEO?
Making sure search engines can crawl, render and index your site, and that it loads fast.
Read the answer ›What is a sitemap?
A file listing the URLs you want indexed. What to include and the mistakes to avoid.
Read the answer ›What is robots.txt?
The file that tells crawlers what they can request, and why it can't deindex pages.
Read the answer ›