Free Tool

Star Rating Schema
Generator

Generate valid JSON-LD AggregateRating schema markup for your website in seconds. Make your business eligible for star ratings in Google search results — no coding knowledge required.

Free to use.
Valid Schema.org markup.
Copy and paste ready.

Configure Your Schema

Fill in your details to generate

4.5
1.05.0
124
110,000

Your Schema Code

Paste this into your website

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

Where to paste this

Add inside <head> or <body> of your HTML. For WordPress: use a custom HTML block or SEO plugin. For Webflow: paste into Page Settings → Custom Code.

Test with Google Rich Results Tester
Why It Matters

What star ratings in search results actually do

When your search result shows gold stars, it stands out from every plain blue link around it. Schema markup is what makes that possible.

35%

Higher click-through rate

Pages with rich snippet star ratings average 35% more clicks than those without. The visual difference is significant.

4.5+

Instant credibility before the click

Customers see your rating before they even visit your site. A strong rating removes hesitation at the very top of the funnel.

Free

No advertising spend required

Schema is a one-time implementation. Unlike paid ads, once it is live it keeps working — no ongoing cost.

Implementation Guide

How to add schema to your website

Platform-by-platform instructions for adding your generated schema code. Most take under 5 minutes.

WordPress

  1. 1Install a plugin like RankMath SEO or Yoast SEO
  2. 2Go to the page or post you want to add schema to
  3. 3Find the 'Schema' section in the plugin settings
  4. 4Select your schema type and fill in the details
  5. 5Alternatively, use a Custom HTML block and paste the script tag directly

Webflow

  1. 1Open the page settings for the page you want to update
  2. 2Scroll to the 'Custom Code' section
  3. 3Paste the script tag into the 'Head Code' field
  4. 4Publish the page
  5. 5Test with Google's Rich Results Test tool

Shopify

  1. 1Go to Online Store → Themes → Edit Code
  2. 2Open the theme.liquid file
  3. 3Paste the script tag before the closing </head> tag
  4. 4Save and publish
  5. 5For product-level schema, edit the product.liquid template instead

Plain HTML

  1. 1Open your HTML file in a code editor
  2. 2Paste the script tag inside the <head> section
  3. 3Save the file and upload it to your server
  4. 4Test using Google's Rich Results Test
  5. 5Google will crawl and index the schema on its next visit
Avoid These

Common schema mistakes that get your rich snippets removed

Google actively enforces its rich snippet policies. These are the mistakes that most commonly result in rich snippets being suppressed or penalised.

Using fake or inflated ratings

Google can penalise your listing and remove rich snippets entirely. Only use your real aggregate rating.

Mismatch between schema and visible content

If your page shows 4.2 stars but your schema says 4.8, Google may flag this as misleading and suppress your rich snippets.

Adding schema to pages without visible reviews

Google expects the page to actually display reviews to customers. Schema on pages with no visible ratings may be ignored.

Using the wrong item type

A restaurant using 'Product' schema instead of 'LocalBusiness' may not qualify for the right rich result format in Google Search.

schema shows your rating. Bragly helps you earn it.

Collect more genuine reviews so your rating keeps climbing and your schema stays accurate.

Frequently Asked Questions

AggregateRating is a Schema.org type that tells Google the average star rating and review count for your business or product. When correctly implemented, Google may show gold star ratings directly in search results as rich snippets.

If you're not showing your best reviews, you're missing out on real revenue.
Bragly helps you turn those happy customer moments into new sales - automatically.

© 2026 Bragly. All rights reserved.