Home › Tools › Schema Generators › Product Schema Generator
Free Schema Tool

Product Schema Generator

Create Product JSON LD with price, stock status, brand and ratings, so Google can show your price and stars right in the search results.

Product Details

Price and Stock

Ratings optional

Your JSON LD Code


      
      
Open Rich Results Test Copied!
Before you publish
  • Only mark up ratings and reviews that are visible on the page
  • Keep the price in the code the same as the price shown to shoppers
  • Update availability when stock changes

What Is Product Schema?

Product schema is structured data that describes an item you sell: its name, price, currency, stock status and reviews. Google can use it to show a product snippet with the price, availability and star rating under your result.

This product schema generator writes the Product type with a nested Offer, AggregateRating and Review, following the Google product snippet guidelines.

How to Use the Product Schema Generator

  1. Enter the product name, description and images. Use the same text shoppers see on the page.
  2. Add brand, SKU and GTIN if you have them. A GTIN is the number under the barcode.
  3. Set the price and currency. Type numbers only, such as 499 or 19.99.
  4. Add ratings and a review only if they are real and shown on the page.
  5. Copy the code, paste it into the product page and run the Rich Results Test.

What Google Requires

PropertyRule
nameRequired
offers, aggregateRating or reviewAt least one is required
offers.priceRequired inside an offer. Use 0 for free items
offers.priceCurrencyRecommended, a 3 letter code such as INR or USD
offers.availabilityRecommended, for example InStock or OutOfStock
aggregateRatingNeeds a rating value plus a rating count or review count
review.authorA real person or organization name, under 100 characters

Practical Tips

To track sales from these pages, read our guide to GA4 ecommerce events, and learn the basics in what is schema markup. Want your result to look sharp too? Check it in the SERP snippet preview.

Frequently Asked Questions

1Why are my product stars not showing in Google?

Valid markup makes a page eligible, but Google decides whether to show stars. Make sure the ratings are real, visible on the page, and that your code passes the Rich Results Test.

2Do I need ratings for product schema to work?

No. Google needs at least one of a price, a rating or a review. A product with only a price and stock status is valid, though the test tool may suggest adding a rating.

3Should I include the currency symbol in the price?

No. Put only the number in the price field and the 3 letter currency code, such as INR or USD, in its own field. The generator does this for you.

4Is my product data stored?

No. The product schema generator runs only in your browser, so nothing you enter is uploaded or saved.

Related Articles

More Free Schema Generators

See all schema generators →  |  Browse every free tool →