Mark up a review so Google can show its stars: what was reviewed, the rating and who wrote it. Read the rules below first, because a business reviewing itself, or quoting its own testimonials, gets no stars however valid the code is.
Optional. We read the page once to fill the fields and store nothing. You can also fill everything by hand.
Schema type
Review: Stars on a review of a product, book, film, recipe or app.
Honest note: a business that controls the reviews about itself gets no stars for them. Google treats those Local Business and Organization pages as not eligible. Reviews of products, books, films, recipes and apps are fine.
Name of what is reviewed is required.
Rating is required.
Reviewer name is required.
When the review was written, which helps readers trust it.
For example WebSite next to Organization on the homepage. The blocks are linked, so your company appears once.
Your JSON-LD
3 things to fix before Google can use this code
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"bestRating": 5
}
}
</script>The test buttons copy the code first. In the tab that opens, choose “Code” and paste it.
Google can show review stars for reviews of products, books, films, recipes, software, courses, events and a few other kinds of things. Source: Google's review snippet guide.
Since September 2019, reviews that a business controls about itself get no stars. That covers testimonials on your own site and review widgets you embed, when the thing reviewed is your Local Business or Organization. The code can be valid and still earn nothing. A product page with customer reviews, or a blog that reviews other people's products, is fine.
The same fields the generator above marks as you type. The optional ones open under “Show optional fields” in the form.
| Field | Why it matters | |
|---|---|---|
| What is reviewed | Required | The kind of thing reviewed decides which of Google's rules apply. |
| Name of what is reviewed | Required | Google requires the name of the thing reviewed. |
| Rating | Required | Google requires the rating. |
| Best possible rating | Recommended | Needed when your scale is not 1 to 5. |
| Reviewer name | Required | Google requires the reviewer's name, a real person or publication. |
| Date published | Recommended | When the review was written, which helps readers trust it. |
Written by the generator above from sample values for a made-up business. Paste it inside a script tag of type application/ld+json, with your own details in place of the sample ones.
{
"@context": "https://schema.org",
"@type": "Review",
"itemReviewed": {
"@type": "Product",
"name": "Acme trail running shoe"
},
"reviewRating": {
"@type": "Rating",
"ratingValue": 4,
"bestRating": 5
},
"author": {
"@type": "Person",
"name": "Jane Smith"
},
"datePublished": "2026-11-02",
"reviewBody": "Light, grippy on wet rock, and comfortable from the first run. The tongue could use more padding."
}A Review is one person's or one publication's verdict: a critic reviewing a film, a blog testing a pair of headphones. An aggregate rating is the average of many customer ratings with their count, and it usually sits inside a Product block. This page builds a single Review. For a product's average rating, use the rating fields in the product schema generator.
If you run a local business and want stars in Google, the place for them is your Google Business Profile. Customers review you there, and Google shows those stars in Maps and the local pack. On your own site, show the reviews to visitors, but do not mark them up as reviews of your business.
Review schema is structured data that marks up a review in schema.org terms: what was reviewed, the rating and who wrote it. Google can use it to show stars and the reviewer under the result.
Since 2019 Google does not show review stars for reviews a Local Business or Organization controls about itself, whether they are written into its markup or shown through an embedded widget. The stars for a business come from its Google Business Profile.
Not for testimonials about your own business. They are self-serving reviews and get no stars. You can still show them on the page as plain text.
A Review is one review with one rating and one author. AggregateRating is the average of many ratings with their count, usually inside a Product.
The free SeoVision audit checks the structured data on your homepage, products and articles, and SeoVision can add the missing markup for you.
Get your free audit