How Review Schema Markup Gets Your Star Ratings Into Google Search Results
If you've ever searched for a business or product and seen star ratings appear directly in the Google search results, before clicking through to the website, that's schema markup at work. It's one of the more technical topics in local SEO, but the concept is straightforward and the business impact is significant enough that any local business with a website should understand it.
This post explains what review schema markup is, what it does for your search visibility, how to implement it, and what the rules are around using it correctly. It sits alongside broader local SEO context in How Online Reviews Impact Your Local SEO Rankings.
What Schema Markup Is
Schema markup (also called structured data) is a standardized way of adding context to the content on your website so search engines can understand it more precisely.
Without schema, Google has to infer what a page is about from the text and HTML alone. With schema, you're explicitly telling Google: "This is a business listing. This is its average rating. This is the number of reviews. This is a specific product." That additional context helps Google surface richer, more useful results.
Schema.org is the shared vocabulary that Google, Bing, and other search engines use for structured data. There are schema types for organizations, local businesses, products, events, recipes, and many other categories. Review and rating schema is one of the most widely used because the visual impact in search results is so clear.
What Review Schema Does in Search Results
When you implement review schema correctly on your website, Google may display star ratings directly in your search listing. Instead of a text-only result showing your page title and description, your listing shows a visual star rating, the numerical average, and often the total number of reviews, right in the search results page.
This is called a "rich result" or "rich snippet."
The business impact is measurable. Studies on click-through rates consistently show that listings with star ratings visible in search results get significantly more clicks than equivalent listings without them, often in the range of 15 to 35% higher click-through rates, depending on the category and competitive context. More clicks mean more traffic without any change in your ranking position.
For local businesses competing for attention on a page with multiple listings, that visual differentiation matters.
Two Types of Review Schema for Local Businesses
Aggregate Rating schema
This is the most common type for local businesses. It tells Google your overall rating, based on a collection of reviews, and the total number of reviews that make up that rating.
It looks like this in the search result: "4.7 stars (143 reviews)"
The key requirement: the rating data you display must reflect actual reviews from real customers. You cannot display fabricated ratings.
Individual Review schema
This marks up a specific, individual review on your page. It includes the reviewer's name, the text of the review, the rating they gave, and the date. Individual review schema typically appears in search results for product pages and some service pages, showing a single highlighted testimonial.
For most local business websites, Aggregate Rating schema is the more relevant implementation.
Where the Review Data Has to Come From
This is the most important thing to understand about review schema, and where many businesses get tripped up.
The ratings and review counts you display using schema markup must reflect real reviews that appear somewhere on the web. Google's guidelines prohibit using structured data to display ratings that are fabricated, sourced exclusively from your own employees or associates, or not representative of actual customer sentiment.
There are two common approaches to sourcing this data:
Collect reviews directly on your website. Some businesses use a review collection tool that stores reviews on their own domain. If the review content itself lives on your site, you can mark it up with schema and display it in search results.
Reference reviews from third-party platforms. Many businesses display reviews from Google, Yelp, or Facebook on their website (usually through a widget or embed). In some cases, these can be marked up with schema, but the reviews must actually be visible on the page and must link back to the original source. Displaying a rating that just says "based on Google reviews" without the actual review content being present on the page is not sufficient.
If you're uncertain about your specific situation, consult with a developer or SEO professional who can audit your setup for compliance.
How to Implement Review Schema
Schema markup is added to your website's HTML as either JSON-LD (the preferred format recommended by Google) or Microdata. JSON-LD is generally easier to implement because it's placed in a script block in the page head rather than woven through the HTML.
A basic Aggregate Rating schema block in JSON-LD looks like this:
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "GoodRep",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "127"
}
}
This block tells Google that GoodRep is a local business with an average rating of 4.8 based on 127 reviews.
If you use a CMS like WordPress: There are plugins that handle schema markup without requiring you to write code manually. Yoast SEO, Rank Math, and Schema Pro all support review and business schema. Configure them carefully and verify the output.
If you use Squarespace, Wix, or Shopify: These platforms have varying degrees of built-in schema support and plugin ecosystems. Check the specific documentation for your platform or work with a developer to add the markup manually.
If you have a custom website: Work with your developer to add the JSON-LD block to the relevant pages (typically the homepage and any service or product pages where reviews are displayed).
Verifying Your Implementation
After adding schema markup, verify that Google can read it correctly using Google's Rich Results Test (available at search.google.com/test/rich-results). Paste your page URL and the tool will show you what structured data it finds and whether it's eligible to produce rich results.
Note that eligibility doesn't guarantee Google will display the rich result. Google decides whether to show rich results based on its own quality assessment of the page and the data. A valid schema implementation is necessary but not sufficient.
Check Google Search Console's "Rich results" report periodically. It shows which pages are generating rich results and flags any errors or warnings in your structured data.
Common Mistakes to Avoid
Displaying ratings you don't have. Marking up a 5.0 rating based on three reviews from employees or family members is a policy violation and a trust issue. Google can and does demote or penalize sites that use structured data deceptively.
Failing to update the data. If your schema markup hardcodes a rating of 4.7 based on 80 reviews, and your actual rating changes over time, the displayed data becomes inaccurate. Use dynamic markup that pulls live data, or build a process to update it regularly.
Adding schema to pages where the reviews aren't visible. Schema is supposed to describe content that's actually on the page. If you mark up a rating but the reviews themselves are behind a tab, in a widget that doesn't render server-side, or simply not present on the page, the implementation may not qualify as a valid rich result.
Using schema only on the homepage. Service-specific pages, location pages, and product pages can all benefit from schema markup if they have relevant review content. Don't limit it to one page.
The Bottom Line
Review schema markup is one of the more technical items on the local SEO checklist, but the payoff, star ratings appearing directly in your Google search listings, is visible and measurable. Higher click-through rates from search results mean more traffic without a change in ranking position. For a local business trying to stand out on a competitive search results page, that's a meaningful advantage.
The implementation is straightforward for any developer, and if you're already collecting and displaying reviews on your website, adding the markup to support rich results is a logical next step. Your public listings and on-site proof should still rest on a complete Google Business Profile.
GoodRep helps local businesses collect, display, and manage reviews across Google, Yelp, and Facebook. Start free.