Schema

Review Schema Generator

Paste your product and ratings, get valid Product and Review JSON-LD to drop into your theme. The markup that puts stars in Google.

One sample review (optional)

This generates the markup. For Google to show stars, the same rating and reviews must be visible on the page itself, and the review count must match what shoppers can see. Self-serving reviews of your own organisation are not eligible for product star snippets.

Your JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Merino Wool Crew Sock",
  "brand": {
    "@type": "Brand",
    "name": "Northbound"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "212",
    "bestRating": "5",
    "worstRating": "1"
  },
  "review": [
    {
      "@type": "Review",
      "author": {
        "@type": "Person",
        "name": "Dana R."
      },
      "datePublished": "2026-05-20",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": "5",
        "bestRating": "5",
        "worstRating": "1"
      },
      "reviewBody": "Warm without being bulky, and they kept their shape after a dozen washes."
    }
  ]
}
</script>
Read next
Common questions
What does this tool generate?
It outputs valid Product JSON-LD with an aggregateRating node and individual Review nodes. Paste the result into a Liquid script tag in your Shopify theme and Google can read the structured data on your product pages.
Will this markup give me star ratings in Google search results?
Structured data is a prerequisite for rich results but Google decides whether to show them. Pages that already receive organic traffic and meet the Product review schema guidelines are the most likely candidates. The tool generates markup that passes Google's Rich Results Test.
Do I need a developer to add the schema?
Not for most Shopify themes. Copy the generated script tag, open Shopify Admin, go to Online Store → Themes → Edit code, find your product template, and paste the tag before the closing body element. If your theme already injects review schema, check for duplication first.
Other tools