Structured data · 21 Nov 2026 · 5 min read
Product review schema and star ratings in search results
Stars in a search result are an enhancement Google may choose to show, not a setting you switch on. Markup helps, but only when the reviews are real, visible and about the product on that page.
The short answer
Product review schema is structured data that describes reviews or an average rating for a product on a page. It can make a product eligible for star ratings in Google results, but Google decides whether to show them. Reviews must be genuine, visible on the page and about that product, not written about the business itself.
What product review schema actually does
Product review schema is a block of structured data, usually in JSON-LD, that tells a search engine something like "this page is about this product, and customers have rated it this highly on average". It does not create stars by itself. It makes a page eligible for a richer search result, and Google decides whether to display it.
Two kinds of review data are common on product pages. A single review marks up one person's opinion with a rating and an author. An aggregate rating marks up the average of many ratings with a count. Both describe the product on that page, so the markup sits inside the product's own data.
The details of which properties are required or recommended change from time to time. Treat this page as the general picture and read the current Google documentation for the exact fields before you build or edit markup.
Can I show stars in search results?
Possibly, but never certainly. Google's documentation describes review snippets and product snippets as features that can appear for eligible pages that follow the guidelines, and it does not promise that any particular page will get them. Even correct markup can be shown on some searches and not others, and can appear and disappear.
That means the sensible aim is not "get stars". It is "mark up genuine reviews correctly so the page is eligible, and make the page worth clicking either way". If stars appear, they are a bonus. If you build a business plan around them, a change by the search engine can undo it.
A store without enough reviews should concentrate first on collecting honest ones. The methods are in how to show customer reviews on product pages.
What reviews are not eligible
Google's review snippet guidelines set limits on what may be marked up. The rules below reflect the general principles in the documentation, but check the current wording, because it is updated.
- Reviews that the business controls about itself. Google's documentation says that a business or organisation cannot earn review stars for reviews it publishes about itself, which it describes as self-serving.
- Reviews or ratings gathered from other websites. Ratings should come directly from users of your own site, and aggregating from elsewhere is not allowed.
- Reviews that are not visible to users on the page. The markup should match what the shopper can read.
- Reviews about something other than the marked-up item, for example a store-wide rating placed on a product page.
- Fake reviews and undisclosed incentivised reviews. The documentation has guidance on these, and they also risk breaking consumer-protection rules in many countries.
If a rule is not clear, assume the cautious reading. A review that you would be embarrassed to explain to a customer should not be in your markup.
How to mark up reviews correctly
The steps are simple, even though the code can be fiddly. If your store runs on a platform with a review app, the app may generate the markup, so check the output before trusting it.
- Show the reviews on the page first. Markup should describe content the shopper can see.
- Add the product's name, image and a description to the structured data, and use the same name as the visible title.
- Add either individual reviews or an aggregate rating that reflects the reviews shown, with the rating value and the number of ratings.
- Use one product per page. If a page lists many products, markup each product's own page rather than the listing.
- Test the page with Google's Rich Results Test and watch the reports in Search Console for errors.
- Update the markup whenever the reviews change, or generate it automatically from the same data as the visible reviews.
The product name matters. A vague or inconsistent name makes the markup harder to match to the product, so apply the habits in writing clear product titles.
Review markup and product markup together
Review data usually sits inside product data, which can also hold price, availability and identifiers. Our guide to product schema and merchant listings covers the product side. A common mistake is to build the review block on its own, with a product name that differs from the main product block, so that the two do not connect.
Variants add another wrinkle. If a product has several sizes or colours, decide whether reviews belong to the whole product or one variant, and mark them up to match what the page shows. The current Google documentation on product variants explains the supported structure.
Common mistakes that cost eligibility
- Marking up a rating that is not shown anywhere on the page.
- Copying the same rating onto every product in a category.
- Using an average that has not been updated since the last review import.
- Importing reviews from a third-party site and marking them up as your own.
- Marking up the store's own reviews of itself on the home page.
- Hiding bad reviews and showing only the good ones in markup.
The last mistake is as much about trust as about search. A page with only five-star reviews looks odd to shoppers, and moderation should aim for honesty. If you want to know how to handle that fairly, read the guidance on moderation and fake review risk in your own store policies and in current consumer-protection advice for your market.
Stars in the app store are a different thing
Ratings in an app store are managed by the store, not by markup you add. If you are comparing the two, our guide to app store optimisation basics explains how titles, keywords and ratings work there.
Where this fits in your first months
New stores should not rush to review markup before they have real reviews. First get the basics of crawling, product pages and category structure working, then add schema once there is something honest to mark up. Our guide to search visibility for new stores sets out a sensible order.
If you want review display and structured data built into a store from the start, the ecommerce solutions page describes what Liftup Technologies builds. For anything involving the rules on review authenticity and disclosure, ask a qualified lawyer or the official consumer-protection source for the markets you sell to.
Related guides
- Ecommerce solutions
- Customer reviews on product pages how to show them
- Product schema and merchant listings basics for online stores
- App store optimisation basics titles keywords and ratings
- Product Titles for Online Stores: How to Write Clear Ones
- New Store Visibility: The First 90 Days
Questions and answers
Can I show stars in search results?
You can make a page eligible by marking up genuine reviews correctly, but Google decides whether to show stars and may not show them on every search. Treat stars as a bonus and keep the page useful without them. Check the current Google documentation for the requirements.
What reviews are not eligible?
Google says a business cannot earn review stars for reviews it controls about itself, and ratings should come directly from users rather than being gathered from other sites. Reviews hidden from the page, fake reviews and undisclosed incentivised reviews are also a problem. Check the current guidelines for the exact wording.
How do I mark up reviews correctly?
Show the reviews on the page, then add product structured data with the same name and either individual reviews or an aggregate rating that reflects what is shown. Test with Google's Rich Results Test and watch Search Console for errors. Keep the markup in step with the visible reviews.
Do I need a review app?
Not always, but a review app or platform feature often generates the markup for you. If you use one, check the output in a testing tool, because errors in generated markup are common. A custom build can generate it from the same data as the visible reviews.
Can I mark up reviews copied from another site?
No. Google's guidelines say ratings should come directly from users on your own pages and should not be aggregated from other sites. Marking up copied reviews as your own may also be misleading under consumer rules, so seek qualified advice.
Tell us what you are building.
A short call, a written plan and a fixed quote. No obligation.