Schema markup (structured data) is code that describes your content in a format search engines understand precisely: this page is a product with this price, this business opens at 9 a.m., this article was written by this person. It can make your listing eligible for rich results such as star ratings, prices and breadcrumbs, and it helps search engines and AI systems understand your business. Google has also reduced several rich result types in recent years, so it is worth knowing which ones are still worth the effort. This guide covers both.
How schema works
Schema.org is a shared vocabulary supported by Google, Bing and others. You add it to pages using JSON-LD, a block of code in a <script type="application/ld+json"> tag, which Google recommends because it is separate from the visible HTML and easy to maintain.
A simple LocalBusiness example:
{"@context": "https://schema.org", "@type": "Plumber", "name": "Example Plumbing", "telephone": "+1-204-555-0100", "address": {"@type": "PostalAddress", "streetAddress": "123 Main St", "addressLocality": "Winnipeg", "addressRegion": "MB", "postalCode": "R3C 0A1", "addressCountry": "CA"}, "openingHours": "Mo-Fr 08:00-17:00", "url": "https://www.example.ca"}
Schema does not directly improve rankings. Its value is eligibility for rich results, which can improve click-through, and clearer understanding of your content.
Rich results worth implementing
| Schema type | Rich result | Good for |
|---|---|---|
| Product (with Offer, AggregateRating) | Price, availability, review stars, shipping and returns details | Online stores |
| BreadcrumbList | Breadcrumb trail instead of a raw URL | Any site with a hierarchy |
| Organization / LocalBusiness | Helps knowledge panel details such as logo and contact information | Every business |
| Article | Better understanding of headline, author, date and images | Blogs and news |
| Event | Event dates and locations in event listings | Venues, organisers |
| Recipe | Image, ratings, cooking time | Food sites |
| JobPosting | Listing in Google's job search experience | Employers |
| VideoObject | Video thumbnails, key moments | Pages with video |
| Review snippets | Star ratings for eligible types such as products, recipes and books | Pages reviewing those things |
Rich results that have been reduced or removed
- FAQ rich results: since 2023, Google shows them only for well-known, authoritative government and health websites. FAQPage markup is still valid, but most businesses will not see the expandable FAQs in results.
- HowTo rich results: removed from Google's results.
- Self-serving reviews: star ratings are not shown for LocalBusiness and Organization markup where the business collects reviews about itself on its own site.
Be wary of advice that promises stars or FAQs in results for any business site; Google's eligibility rules have tightened.
Schema every business should have
- Organization or LocalBusiness on the homepage or contact page: name, logo, URL, address, phone, opening hours, and
sameAslinks to your official social profiles. Use the most specific type available (Dentist, Plumber, Restaurant, LegalService). - BreadcrumbList on inner pages.
- Article on blog posts, with a real author and dates.
- Product on product pages if you sell online.
Rules that keep you out of trouble
- Mark up only what is visible on the page. Structured data must describe content users can see.
- Be accurate. Prices, ratings and availability must match the page.
- Do not fake reviews or mark up ratings that do not exist.
- Keep it current. Outdated event dates or prices create a poor experience and can lose eligibility.
Misleading structured data can result in a manual action that removes rich results from your site.
How to add schema
- WordPress: Yoast SEO and Rank Math add Organization, Article and breadcrumb schema automatically and allow more types. See SEO for WordPress.
- Shopify: most themes include Product schema; check that it is complete and not duplicated by apps. See SEO for Shopify stores.
- Custom sites: generate JSON-LD in your templates from the same data that renders the page, so they never fall out of sync.
- Google Tag Manager: possible, but less reliable than markup in the HTML.
How to test schema
- Rich Results Test: shows which Google rich results a page is eligible for and any errors.
- Schema Markup Validator: checks general schema.org validity.
- Search Console enhancement reports: track errors and valid items across your site over time. See how to use Search Console.
Schema and AI search
Search engines and AI assistants use structured data as one way to confirm facts about a business, such as its name, location, hours and products. Clean, accurate schema that matches your Google Business Profile and website content reduces the chance of being misrepresented.
Common schema mistakes
- Duplicate markup: a theme and a plugin both outputting Product or Organization schema with conflicting values.
- Wrong business type: using generic LocalBusiness when a specific type such as Dentist or HVACBusiness exists.
- Inconsistent details: a phone number or address in schema that differs from your website footer and Google Business Profile.
- Markup on the wrong page: sitewide Product schema on category pages, or review markup on pages without reviews.
- Set and forget: markup that was correct at launch but no longer matches prices, hours or stock.
Frequently asked questions
Does schema markup improve rankings?
Not directly. It can improve how your result looks and how well your content is understood, which can increase clicks.
Why is my valid schema not showing rich results?
Valid markup makes a page eligible, not guaranteed. Google decides when rich results appear based on the query and the page's quality.
Should I still add FAQ schema?
It does no harm on genuine FAQ content, but most business sites will not see FAQ rich results. Spend the time on Product, LocalBusiness and breadcrumbs first.
Want schema implemented correctly?
Structured data is part of our technical SEO service. Start with a free SEO audit to see what your site is missing.