Review Schema Generator

Build valid AggregateRating JSON-LD for your business in seconds — the structured data Google needs to show star rich snippets. Fill the form, copy the code, paste it in your page.

Generated JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your Business Name",
  "address": {
    "@type": "PostalAddress",
    "addressCountry": "US"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "120",
    "bestRating": "5",
    "worstRating": "1"
  }
}
</script>

Paste this into the <head> of your page. Only mark up ratings that are genuinely shown on that page — Google requires the aggregate rating to be visible to users.

How to get star ratings in Google search

  1. 1. Fill in your business details and real aggregate rating above.
  2. 2. Copy the JSON-LD snippet and paste it into the page that shows those reviews.
  3. 3. Validate with Google’s Rich Results Test and request indexing.

Stay inside Google’s rules

Google’s review snippet guidelines are strict, and violations can get all your rich results suppressed. Two rules matter most: the rating you mark up must be visible to users on that same page, and it must reflect genuine reviews — not numbers you made up or pulled from an unrelated source. This tool only formats the numbers you enter; keeping them honest and on-page is up to you.

Self-serving reviews (a business reviewing itself) are not eligible for the star treatment. The safe pattern is to display an aggregate built from third-party reviews — Google, Facebook, industry platforms — and mark up that same figure.

Keep the rating you mark up worth showing

Schema only advertises the rating you already have. The real lever is the rating itself — a page marked up with 4.7 stars earns far more clicks than the same page at 3.9. Tailwind helps you collect more reviews and lift your rating so the stars you display keep climbing. Want to know how many 5-star reviews it takes to move the needle? Use the star rating calculator.

Frequently asked questions

What is review schema and why does it matter?
Review schema is structured data (JSON-LD) that tells search engines the star rating and review count for your business or product. When it’s valid and the rating is visible on the page, Google can show gold review stars in the search results, which lifts click-through rate.
Will this guarantee star ratings in Google?
No tool can guarantee rich results — Google decides when to show them. But valid, policy-compliant markup is a prerequisite. Always show the rating to users on the page you mark up, and never mark up ratings you invent.
Where do I put the generated code?
Paste the <script type="application/ld+json"> block into the <head> (or anywhere in the HTML) of the specific page it describes. Then validate it with Google’s Rich Results Test.
LocalBusiness or Product schema?
Use LocalBusiness (or a subtype like Restaurant or Dentist) for a business location and its overall rating. Use Product review markup for a specific product page. This tool generates business-level AggregateRating markup.