Skip to main content

Free tool

Review schema generator

Fill in your business details and rating, and get valid AggregateRating JSON-LD ready to paste into your page. Everything is generated in your browser — no account, no data sent anywhere.

Your JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your business name",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": 124,
    "bestRating": "5",
    "worstRating": "1"
  }
}
</script>

Paste this into the <head> of the page the reviews belong to. Only mark up ratings that are genuinely visible on that page — Google's structured data policies require the review content to be shown to visitors too.

Before you paste it

  1. Show the reviews on the page. Google requires the rating you mark up to be visible to visitors on that same page.
  2. Use the right page. Put product ratings on the product page and business ratings on the page about that business — not blanket across every URL.
  3. Validate it. Run the page through Google's Rich Results Test and the Schema.org validator before you call it done.
  4. Be patient. Stars appear after Google recrawls, which can take days to weeks.

Skip the hand-coding entirely

Our widget displays your real reviews and writes valid schema for you — free plan, no credit card.

Read more

Frequently asked questions

What is review schema?+

Review schema is structured data — usually written as JSON-LD in a script tag — that tells search engines the rating and review count shown on a page. When Google accepts it, your result can display star ratings, which typically lifts click-through from search.

What is the difference between Review and AggregateRating?+

A Review describes one person's rating and comment. AggregateRating summarises many reviews into an average and a total count. Most businesses want AggregateRating on the page that displays their reviews, optionally with a handful of individual Review items alongside it.

Where do I put the JSON-LD code?+

Paste it inside the head section of the page it describes, or anywhere in the body — Google accepts both. One block per page is enough. In WordPress you can use a header-scripts plugin; in Shopify, Wix, Squarespace and Webflow there is a custom code or embed field for exactly this.

Why aren't my star ratings showing in Google?+

Structured data makes stars possible, not guaranteed. The most common reasons are: the reviews aren't actually visible on the page, the markup is on a page it doesn't describe (like the homepage for site-wide reviews), self-serving reviews of your own business are marked up on a LocalBusiness page, or Google simply hasn't recrawled yet.

Is fake review schema risky?+

Yes. Marking up ratings that don't exist, or that visitors can't see on the page, breaches Google's structured data policies and can result in a manual action that removes rich results across your whole site. Only mark up ratings you genuinely hold and display.

Do I need this if I use the Reviews Widget?+

No. Our widget writes valid Review and AggregateRating JSON-LD automatically from the reviews it imports, and keeps it in sync as new reviews arrive. This tool is here for anyone hand-coding it or using another display method.

Ready to embed reviews on your website?

Create your free Reviews Widget in under two minutes. No plugins, no code.

All free tools