If you have reviews or ratings on your website, you can use schema code to mark up that content. Adding schema for reviews or ratings can help Google, Bing, and other search or AI bots better understand how different types of items have been rated.

Review vs. Rating

There are two types of schema: simple reviews and aggregate ratings. While both provide a rating about a particular item, they differ in the number of reviews that feed the rating.

Simple reviews contain a single review and rating about an item. For example, a film critic writes a review about a movie and provides a single rating for that movie. These simple reviews are sometimes referred to as editorial reviews. However, they are not always editorial in nature and could be a review from a website user or customer. The schema type for a simple review is Review.

Example of Review schema in Google search results: a RogerEbert.com review of The Odyssey showing a 4/4 star rating and the reviewer's name

Aggregate ratings, which are sometimes referred to as community ratings or customer reviews, are the average of the ratings provided by many different individual reviewers. For example, Rotten Tomatoes collects many ratings about a movie to generate an aggregate rating for that movie. The schema type for an aggregate rating is AggregateRating.

Example of AggregateRating schema in Google search results: the Rotten Tomatoes listing for The Odyssey (2026) showing a 94% rating with stars from 515 ratings

Google’s Eligibility Requirements

Using review and rating schema can enhance your website’s listing in search results and, hopefully, generate more clicks to your website. Google currently supports review and rating schema for the following types of items:

  • Book
  • Course
  • CreativeWorkSeason
  • CreativeWorkSeries
  • Episode
  • Event
  • Game
  • HowTo
  • LocalBusiness*
  • MediaObject
  • Movie
  • MusicPlaylist
  • MusicRecording
  • Organization
  • Product
  • Recipe
  • SoftwareApplication

*Local business reviews only apply to websites that list other businesses, such as a directory website. Google does not support self-serving reviews, so you cannot add schema markup for reviews about your own business on your own website. If you do that, Google will ignore that schema.

You can provide schema markup for reviews or ratings beyond the types Google supports. However, that type of schema will not affect how your website appears in Google’s search results. Some currently speculate that this additional schema could help AI search visibility (I wrote a separate post about how schema may affect AI visibility).

Finally, remember that, as with all types of schema, any information provided in the schema should also be visible for users to see on the page. I’ve seen websites that state a rating value that is not present within the page’s visible content. This violates Google’s guidelines that schema must represent what is on the page.

Be sure to read Google’s guidelines for other requirements.

When & How to Implement Simple Reviews Schema

Simple review schema is appropriate to use when you have a page on your website reviewing a single item. For example, you write a review about a product, a book, or an event. There is a single author of the review and the review is given a star rating.

While there are many properties you can use within Review schema, the required properties for Google to use this schema are:

  • author (this can be a Person or an Organization)
  • item reviewed (in the itemReviewed property)
  • item reviewed type (Google only supports some types)
  • item name (in the name property of itemReviewed)
  • rating (in reviewRating with the type of Rating for a simple review)
  • rating value (the numerical value of the rating in the ratingValue property within reviewRating)

bestRating and worstRating

If you don’t specify an alternative, Google will assume the rating value is on a scale between 1 and 5. If your website uses a different scale, you can specify a custom high point in the bestRating property and the custom low point in the worstRating property.

datePublished

It is also common to include the date the review was published in the datePublished property. Google treats this as a recommended property, but I typically recommend including it. Freshness matters for SEO and for AI search, so clarifying the date is usually beneficial.

Example Review Schema

Here is a very simple example of review schema for a book. We can see each of the required properties, along with datePublished, in the code below about a book that has been reviewed by Jane Jones with a rating value of 9 on a 10-point rating scale.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Review",
  "itemReviewed": {
    "@type": "Book",
    "image": "https://www.example.com/book-cover.jpg",
    "name": "Some Book Title",
    "author": {
      "@type": "Person",
      "name": "Author Name"
    },
    "isbn": "987654321"
  },
  "reviewRating": {
    "@type": "Rating",
    "ratingValue": 9,
    "bestRating": 10,
    "worstRating": 1
  },
  "author": {
    "@type": "Person",
    "name": "Jane Jones"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Test Company"
  },
  "datePublished": "2026-09-01"
}
</script>

Nesting Simple Review Schema

The code above shows the information about the item reviewed (the book) nested within the review schema. Instead, if we wanted to nest this simple review schema inside the schema markup about the book, we can flip the order of those two pieces of information and nest the review within the book.

To nest the information about the review in schema about the book, we need to put the schema describing the book first, as our main type, and then add the review within the book schema. To put the review within the book schema, we use the Review property. Also, we no longer need itemReviewed because the review is nested within the type.

In the example below, you can see the book schema is listed first and then we have the Review schema nested within it. This contains exactly the same information, just in a different order. Use whichever is easiest to implement.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Book",
  "image": "https://www.example.com/book-cover.jpg",
  "name": "Some Book Title",
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "isbn": "987654321",
  "review": [
    {
      "@type": "Review",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": 9,
        "bestRating": 10,
        "worstRating": 1
      },
      "author": {
        "@type": "Person",
        "name": "Jane Jones"
      },
      "publisher": {
        "@type": "Organization",
        "name": "Test Company"
      },
      "datePublished": "2026-09-01"
    }
  ]
}
</script>

When & How to Implement Rating Schema

Aggregate rating schema is appropriate to use when you have, or could have, ratings from multiple people about a particular item. The aggregate rating is an average of all individual ratings.

Aggregate rating schema inherits properties from Rating schema. Any properties from Rating or AggregateRating can be used where applicable given the content. For aggregate rating schema, Google requires the following properties:

  • item reviewed (in the itemReviewed property)
  • item reviewed type (Google only supports some types)
  • item name (in the name property of itemReviewed)
  • rating count or review count (see note below)
  • rating value (in the property ratingValue)

ratingCount vs. reviewCount

What about rating count and review count? Should you use rating count, review count, or both?

  • Rating count is specified within the property ratingCount and says how many unique ratings have been provided for the item reviewed. A review is the text of the review (“This is great!”).
  • Review count is specified in the reviewCount property and specifies the number of unique reviews that have been provided for the item reviewed. A rating is a numerical value (4 out of 5).

If you allow people to post reviews on your website along with the website, it is more common to use reviewCount. You are counting reviews.

If you only collect ratings on your website, with no accompanying review text, using ratingCount likely makes more sense. You are counting the ratings.

bestRating and worstRating

Google will assume the rating value provided is on a scale between 1 and 5, with 1 as the lowest rating and 5 as the highest. If that isn’t the scale used on your website, you can provide a custom scale using the bestRating and worstRating properties.

Example Review Schema

Here is an example of an aggregate rating for a product. In this example, the aggregate rating value is 4.7 on a 0-10 scale and that is based on 42 different reviews.

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "AggregateRating",
  "itemReviewed": {
    "@type": "Product",
    "image": "https://www.example.com/great-product-shot.jpg",
    "name": "Awesome Widget",
    "offers": {
      "@type": "Offer",
      "price": "1.23",
      "priceCurrency": "USD"
    }
  },
  "ratingValue": "4.7",
  "bestRating": "10",
  "worstRating": "0",
  "reviewCount": "42"
}
</script>

Nesting AggregateRating Schema

In the example above, we nested the product within AggregateRating. This is typically not how AggregateRating schema is implemented. Instead, it is more common to see AggregateRating schema nested within the item reviewed.

This works the same way we saw above with simple reviews schema. There are two pieces of information provided in the schema and the presentation order does not matter. In the example below, we flip the order to nest the rating within the product. This example schema is equivalent to the example above and conveys the same information.

One quick note: the property in Product schema is aggregateRating, with a lowercase “a”, while the schema type is AggregateRating, with an uppercase “A”.

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "image": "https://www.test.com/great-product-shot.jpg",
  "name": "Awesome Widget",
  "offers": {
    "@type": "Offer",
    "price": "1.23",
    "priceCurrency": "USD"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "bestRating": "10",
    "worstRating": "0",
    "ratingCount": "42"
  }
}
</script>

Adding Reviews to aggregateRating

One of the biggest advantages of nesting schema within the item review is that you can also provide the individual review text. This is not required because bots should be able to access the review text directly from the page itself.

If you do choose to show reviews, Google recommends showing all reviews. Given size constraints, you could show just the latest review text. However many reviews you choose to add, you can add those in the review property.

Here is an example that includes the review text. The reviews property contains an array of simple reviews. This follows the rules for simple reviews discussed earlier in this article.

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "image": "https://www.test.com/great-product-shot.jpg",
  "name": "Awesome Widget",
  "offers": {
    "@type": "Offer",
    "price": "1.23",
    "priceCurrency": "USD"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "bestRating": "10",
    "worstRating": "0",
    "ratingCount": "42"
  },
  "review": [
    {
      "@type": "Review",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": 10,
        "bestRating": "10",
        "worstRating": "0"
      },
      "author": {
        "@type": "Person",
        "name": "Luke"
      },
      "headline": "I love it",
      "reviewBody": "This is great."
    },
    {
      "@type": "Review",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": 0,
        "bestRating": "10",
        "worstRating": "0"
      },
      "author": {
        "@type": "Person",
        "name": "Leia"
      },
      "headline": "I hate it",
      "reviewBody": "This is terrible."
    }
  ]
}
</script>