SEO Tools

Review Schema Generator

Use this free Review Schema Generator to create valid Review and AggregateRating JSON-LD structured data. Add the item being reviewed, the rating, the author, and the review body, then copy markup that can earn star ratings in search results. No sign-up required.

Review and AggregateRating Star Rating Eligible 100% Free

Aggregate Rating (Optional)

Individual Review (Optional)

Schema Preview

No Schema added yet

Why You Are Here

Star ratings are the most eye-catching thing that can appear in a search result. A row of orange stars under a listing draws attention in a way that no amount of title optimisation achieves, and it signals social proof before anyone has clicked.

That is why review markup is so widely implemented, and also why it is so widely implemented incorrectly. Review schema has stricter eligibility rules than almost any other structured data type, and the most common implementation on the web is one that Google specifically excluded years ago.

The first situation is a product or service page that has collected genuine customer reviews, where the markup needs to be added correctly so the ratings become eligible.

The second is a review or comparison site publishing editorial assessments of things it does not own, which is the use case review markup was designed for.

The third, and the most common, is diagnosing why star ratings are not showing. That answer is usually the self-serving rule covered below.

What This Tool Does

The Review Schema Generator builds valid Review and AggregateRating JSON-LD.

Enter the item being reviewed, the rating value and scale, the reviewer, the review text, and any aggregate figures, and the tool assembles correctly nested Schema.org markup with the script tag included. Copy it and paste it into your page.

Everything runs in your browser. Nothing is uploaded or stored.

The Self-Serving Review Rule

This is the single most violated rule in structured data, and it explains most cases of stars not appearing.

Google's own wording is precise

A review is self-serving when a review about entity A is placed on the website of entity A, either directly in the markup or through an embedded third-party widget. Since September 2019, review snippets are not displayed for LocalBusiness and Organization types, or any of their subtypes, when the entity being reviewed controls the reviews.

What this looks like in practice

A plumber adds a testimonials section to their homepage, collects five-star ratings through their own form, and marks it up with LocalBusiness and AggregateRating. No stars will appear. The business is reviewing itself on its own site.

The embedded widget clause catches almost everyone

Pulling your Google Business Profile reviews or Facebook reviews onto your own page through a widget does not change anything. The reviews came from third parties, but the page is still controlled by the entity being reviewed. Google names embedded widgets explicitly.
One important nuance

Google has stated you will not receive a manual action simply for self-serving review markup. The snippets just will not display. That is materially different from fake or undisclosed incentivised reviews, which genuinely can trigger a manual action. Two separate rules, two very different consequences.
What local businesses should do instead

Maintain your Google Business Profile and collect reviews there. Those appear in local results and the Knowledge Panel through a completely separate mechanism that requires no markup on your site at all.

Where Review Markup Is and Is Not Eligible

Scenario Eligible for stars

Customer reviews of a product you sell, on the product page

YES

Editorial review of a product on a review site

YES

Reviews of other local businesses on a directory site

YES

Reviews of other organisations on a review platform

YES

Book, movie, recipe, course, or software reviews

YES

Testimonials about your business on your own site

NO

Embedded review widget about your own brand

NO

Reviews aggregated from other websites

NO

Reviews of a category or list rather than one specific item

NO

The pattern is ownership. Review markup works when you are reviewing something, or hosting reviews of something, that you do not control. It does not work when the subject and the publisher are the same entity.
Product is the important exception

The self-serving restriction applies to LocalBusiness and Organization, not to Product. Customer reviews of a jumper you sell, marked up on that jumper's product page, are fully permitted. This is why ecommerce sites still show stars while service businesses often cannot.

Supported Types

Review and AggregateRating can be attached to these types, among others:

Type Typical Use

Product

Customer or editorial product reviews

Book

Book reviews

Movie

Film reviews

Recipe

Recipe ratings

Course

Course reviews

SoftwareApplication

App reviews

Event

Event reviews

LocalBusiness

Only when reviewing OTHER businesses

Organization

Only when reviewing OTHER organisations

For employer reviews specifically, Google directs you to EmployerAggregateRating rather than a standard review snippet.

Property Reference

Review

Property Required Notes

itemReviewed

Required

The specific thing being reviewed

itemReviewed.name

Required

Its name

author

Required

Person or Organization

reviewRating

Required

The rating object

reviewRating.ratingValue

Required

The score given

reviewRating.bestRating

Recommended

Defaults to 5 if omitted

reviewRating.worstRating

Recommended

Defaults to 1 if omitted

reviewBody

Recommended

The review text

datePublished

Recommended

ISO 8601

publisher

Recommended

Who published the review

AggregateRating

Type Required Notes

itemReviewed

Required

The specific thing being rated

ratingValue

Required

The average score

ratingCount or reviewCount

Required

At least one

bestRating

Recommended

Defaults to 5

worstRating

Recommended

Defaults to 1

Author must be a person or organisation, not a product

Google flags markup where the author name matches the item being reviewed. Reviews are written by people; they are not written by the thing itself.
Include both individual reviews and an aggregate. Google's guidance is that if a page shows multiple individual reviews, the markup should also carry an aggregate rating of them.

Example — Review Nested Inside Product

The most common correct implementation nests review data inside Product rather than standing alone.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Merino Wool Crew Neck Jumper",
  "image": "https://example.com/images/jumper.jpg",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "bestRating": "5",
    "worstRating": "1",
    "ratingCount": "214"
  },
  "review": [
    {
      "@type": "Review",
      "author": { "@type": "Person", "name": "Sarah T" },
      "datePublished": "2026-05-18",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": "5",
        "bestRating": "5",
        "worstRating": "1"
      },
      "reviewBody": "Light but genuinely warm. True to size."
    }
  ]
}

Standalone Review

For a review site assessing something it does not sell:

{
  "@context": "https://schema.org",
  "@type": "Review",
  "itemReviewed": {
    "@type": "Product",
    "name": "Example Brand Merino Jumper"
  },
  "author": { "@type": "Person", "name": "Alex Morgan" },
  "publisher": {
    "@type": "Organization",
    "name": "Example Review Site"
  },
  "datePublished": "2026-06-02",
  "reviewRating": {
    "@type": "Rating",
    "ratingValue": "4",
    "bestRating": "5",
    "worstRating": "1"
  },
  "reviewBody": "Comfortable and well made, though sizing runs large."
}

Additional Rules Worth Knowing

Do not aggregate reviews from other websites

Pulling ratings from external review platforms and presenting them as your page's aggregate is a violation. The reviews must belong to your page.

Reviews must be visible on the page

Whatever you mark up must be immediately apparent to a visitor. If you supply an AggregateRating, the aggregate figure should be visible, not just the individual reviews.

Undisclosed incentivised reviews are a violation

Reviews written in exchange for money, discounts, vouchers, or free products must clearly and prominently disclose that. Undisclosed incentivisation falls under fake reviews, which does carry manual action risk.

Review a specific item, not a category

Markup must point at one identifiable thing. A rating attached to our range of jumpers rather than a specific jumper is not eligible.

Common Mistakes to Avoid

Marking Up Your Own Business Testimonials

A testimonials section on your own homepage with LocalBusiness or Organization review markup will not produce stars, and this has been the case since 2019. It remains the most common review schema error in the wild. Embedding a third-party widget does not change the outcome, because Google's wording covers widgets explicitly. For local businesses, the Google Business Profile is the route to visible ratings, and it needs no markup on your site.
Setting the Author as the Product or Company

author must be the person or organisation that wrote the review. Google flags markup where the author name matches the item being reviewed, which happens when a template drops the product name into the author field by mistake. A review needs a reviewer, and the thing being reviewed cannot review itself.
Marking Up Ratings That Are Not Visible

Structured data must reflect what a visitor can see. An AggregateRating of 4.8 in the markup when the page displays no aggregate figure anywhere breaches the visibility requirement. If you want to mark up an average rating, show that average on the page.

Quick Reference

Item Detail

Types

Review, AggregateRating

Rich result

Star ratings, fully supported

Self-serving reviews

Not eligible since 2019

Applies to

LocalBusiness, Organization and subtypes

Does NOT apply to

Product

Embedded widgets

Still self-serving

Self-serving markup

No manual action, just no stars

Fake or incentivised reviews

Manual action risk

author

A person, never the product

Aggregating from other sites

Not permitted

Visibility

Ratings must be visible on the page

Employer reviews

Use EmployerAggregateRating

Local businesses

Use Google Business Profile

Frequently Asked Questions

What is a review schema generator?

A review schema generator is a free online tool that turns review and rating information into valid JSON-LD structured data. You enter the item being reviewed, the rating, the author, and the review text, and this Review Schema Generator produces correctly structured Schema.org markup that can make your page eligible for star ratings in search results.

Why are my star ratings not showing in Google?

The most likely reason is the self-serving review rule. Since 2019, Google does not display review snippets for LocalBusiness or Organization markup when the entity being reviewed controls the reviews, which includes testimonials on your own site and third-party review widgets embedded on your own pages. Other causes include ratings not visible on the page, or markup attached to a category rather than a specific item.

What counts as a self-serving review?

Google defines it as a review about entity A placed on the website of entity A, whether directly in the markup or through an embedded third-party widget. A business collecting testimonials about itself and marking them up on its own site is self-serving, and so is pulling in Google Business Profile reviews through a widget, because the page is still controlled by the entity being reviewed.

Can ecommerce sites still show star ratings?

Yes. The self-serving restriction applies to LocalBusiness and Organization, not to Product. Genuine customer reviews of a product you sell, marked up on that product's page, remain fully eligible. This is why online shops still show stars while many service businesses cannot, and it is why using Product rather than Organization markup matters for ecommerce.

Will I get a penalty for self-serving review markup?

Google has stated that you will not receive a manual action simply for self-serving review markup. The snippets will not display, but there is no penalty attached. Fake reviews and undisclosed incentivised reviews are a different matter and can trigger a manual action, so the two situations should not be treated as equivalent.

What is the difference between Review and AggregateRating?

Review describes one individual review with an author, a rating, and review text. AggregateRating describes the combined average across many reviews, with a rating value and a count. Google's guidance is that if a page displays multiple individual reviews, the markup should include both the individual reviews and an aggregate of them.

How should local businesses get star ratings?

Through a well-maintained Google Business Profile rather than markup on your own website. Reviews collected there appear in local results and the Knowledge Panel through a separate mechanism that does not depend on structured data. Adding review schema to your own site for your own business will not produce stars regardless of how the reviews were collected.

Can I include reviews collected from other websites?

No. Google's guidelines prohibit aggregating reviews or ratings from other websites into your own markup. The reviews must genuinely belong to your page and be visible on it. Markup from this Review Schema Generator should reflect reviews your own page actually hosts and displays, not figures pulled in from elsewhere.

Comments

Login to leave a comment

No comments yet. Be the first to comment!