Review Schema Markup: What Earns Stars in Google (and What Doesn’t)
Review schema can show star ratings under your pages in Google, but only for eligible content. Here is how it works, what Google's rules allow, and how to add and test it correctly.
Review schema is structured data, usually written in JSON-LD, that tells search engines a page contains a review or an average rating of a specific item. When the markup follows Google’s rules, Google may show star ratings and a review count under that page in search results. The catch for most businesses: Google doesn’t show review stars for reviews of your own business on your own site, so review schema is mainly useful for pages about products, software, recipes, books, courses and similar items.
This guide explains what review markup does, which pages are eligible, how to add it, and the mistakes that lead to warnings or a manual action. It’s written for owners and marketers, so the code stays short.
What review schema does
Schema.org is a shared vocabulary search engines use to understand page content. Two types matter for reviews:
- Review: a single review of an item, with an author and a rating.
- AggregateRating: the average rating of an item based on many reviews, with a count.
Google calls the result a review snippet: stars, a rating value and sometimes a review count shown in the search result for that page. Markup makes a page eligible; it doesn’t mean the snippet will always appear. Google decides when to show rich results, and it can change how often they appear.
Which pages are eligible for review snippets
Google supports review snippets for a defined list of item types. It includes things like products, software applications, recipes, books, courses, events, movies and several other creative works. The list changes from time to time, so check Google’s current review snippet documentation before you build.
The rule that surprises most business owners is about self-serving reviews. Google doesn’t display review snippets for LocalBusiness or Organization types (including their subtypes, such as a dentist or a plumber) when the reviews are about the business itself and are hosted on that business’s own website. This applies whether you collect the reviews yourself or show them through a third-party widget.
| Page | Eligible for star snippets? | Why |
|---|---|---|
| Product page on your online store, with customer reviews of that product | Yes, if it meets Google’s guidelines | Product is a supported type and the reviews are about the product |
| Software product page with user ratings of the app | Yes, if it meets Google’s guidelines | SoftwareApplication is a supported type |
| Homepage of a law firm with client testimonials about the firm | No | Self-serving reviews of a LocalBusiness or Organization |
| Restaurant’s own site showing its Google reviews through a widget | No | Still reviews of the business, on the business’s own site |
| Independent review site reviewing local restaurants | Can be | The site reviewing the business isn’t the business itself |
For a local business, the stars people see next to your name in Google Maps and the local results come from reviews on your Google Business Profile, not from schema on your website. That’s where to focus if local stars are the goal. Our guide to your Google star rating explains how that number is calculated.
Google’s key rules for review markup
These are the rules most likely to matter. Google’s structured data guidelines have more detail, and they apply in addition to the rules for each item type.
- Review a specific item. The markup should describe a particular product, recipe or other item, not a category page or a whole list of things.
- Show the content. The reviews or rating in the markup must be visible to users on that page.
- Use genuine reviews. Don’t write reviews yourself, pay for them or mark up content that isn’t a review. The FTC’s 2024 rule on consumer reviews also bans fake reviews and review suppression, which covers what you publish on your own site.
- Don’t aggregate from elsewhere. Ratings pulled from other review sites shouldn’t be marked up as your own AggregateRating.
- Keep numbers accurate. The rating value and count in the markup should match what the page shows, and update when new reviews come in.
- Nest correctly. The Review or AggregateRating should be attached to the item it describes, such as inside the Product markup.
Structured data that misleads users can lead to a manual action in Google Search Console, which removes rich result eligibility until you fix the problem and request a review.
How to add review schema, step by step
- Confirm the page is eligible. Is the page about one supported item, and are the reviews about that item rather than your business?
- Collect reviews on the page. Reviews need to be shown to visitors. If you’re setting that up, our guide on displaying reviews on your website covers the options.
- Choose how to generate the markup. Most ecommerce platforms and review apps add product review markup automatically. Check what yours outputs before adding your own, or you may end up with duplicate or conflicting markup.
- Write or check the JSON-LD. Google recommends JSON-LD, placed in a script block on the page. At minimum, an AggregateRating needs a rating value and a count; a Review needs the item reviewed, an author and a rating.
- Test it. Run the page through Google’s Rich Results Test to see whether it’s eligible and whether anything required is missing. The Schema Markup Validator checks general schema.org syntax.
- Monitor in Search Console. Once Google recrawls the page, the review snippets report in Search Console shows valid items, warnings and errors across your site.
The properties that matter
| Property | Used in | What it holds |
|---|---|---|
| itemReviewed | Review (when not nested) | The product or item the review is about |
| author | Review | The reviewer’s name, as a Person or Organization |
| reviewRating | Review | A Rating with ratingValue, plus bestRating and worstRating if your scale isn’t 1 to 5 |
| ratingValue | AggregateRating, Rating | The score, for example 4.6 |
| ratingCount or reviewCount | AggregateRating | How many ratings or reviews the average is based on |
| datePublished | Review | When the review was posted (recommended) |
Here is a short example of an AggregateRating nested in Product markup, as it might appear inside a JSON-LD script block:
{“@context”: “https://schema.org”, “@type”: “Product”, “name”: “Cedar Garden Bench”, “aggregateRating”: {“@type”: “AggregateRating”, “ratingValue”: “4.6”, “reviewCount”: “38”}}
The values here are placeholders. Yours must match the reviews actually shown on the page.
Not sure where to start?
Get a free audit of your search results and review profiles, with a prioritized fix list.
Get a free auditA worked example
This is an illustrative scenario, not a real client.
A small furniture maker sells online and has a showroom. Its marketer, Sam, wants stars in search results and adds AggregateRating markup to the homepage using the average of the showroom’s Google reviews, plus the same markup on every product page.
- Problem one: The homepage markup describes reviews of the business itself, on the business’s own site. It’s not eligible for review snippets.
- Problem two: The rating is copied from Google reviews, not collected on the site, and the reviews aren’t shown on the homepage.
- Problem three: Every product page carries the same business-wide rating, not a rating for that product.
- Fix: Sam removes the homepage and site-wide markup. The store’s review app already collects product reviews, so each product page now shows its own reviews and outputs matching Product and AggregateRating markup. Products with no reviews have no rating markup.
- Result: The Rich Results Test shows the product pages as eligible, and Search Console’s report lists them as valid. Whether stars appear for a given search is still Google’s call. For local stars, Sam focuses on requesting reviews on the Google Business Profile.
Common mistakes
- Marking up testimonials about your business. Self-serving reviews of a LocalBusiness or Organization won’t earn review snippets.
- Marking up reviews you don’t display. The markup must reflect content visitors can see on that page.
- Using the same rating on every page. Each item needs its own reviews and its own rating.
- Importing ratings from other sites. Don’t present another platform’s reviews as your own markup.
- Double markup. A theme, a plugin and a review app all adding schema can produce conflicting values.
- Forgetting to update. A stale count or rating that doesn’t match the page is a quality issue.
When to get help
Review markup is a small, technical piece of how your business appears in search. If your real goal is how customers see you when they search your name, the bigger levers are usually your Google Business Profile, review volume and replies, and the pages ranking for your brand. Our review management service covers the review side, and our guide to reputation management SEO explains how the pieces fit together.
Frequently asked questions
What is review schema?
Review schema is structured data from the schema.org vocabulary, usually written in JSON-LD, that labels a review or an average rating of an item on a page. Google can use it to show a review snippet with stars in search results when the page and markup follow its guidelines.
Why don't my review stars show in Google?
Common reasons are that the page isn’t an eligible type, the reviews are about your own business on your own site, the markup has errors, or Google has simply chosen not to show a rich result for that search. Check the page in the Rich Results Test and the review snippets report in Search Console.
Can I add review schema for my Google reviews on my website?
You can display your Google reviews on your site, but marking them up won’t earn star snippets for your business, because they’re reviews of your own business on your own site. Google’s guidelines also say not to aggregate ratings from other websites into your markup.
Is review schema a ranking factor?
Google hasn’t said structured data directly improves rankings. It can make a page eligible for rich results, which may make the listing more noticeable. Treat it as a presentation feature, not a ranking shortcut.