Product Schema Generator

Fill in price, availability and ratings to get Product JSON-LD that can make your product pages eligible for rich results.

Your details

Then test the page with Google's Rich Results Test.

What is Product schema?

Product markup describes an item you sell or review: its name, images, brand, identifiers, price and stock status, and any ratings. Google uses it for product snippets (stars, price and availability under your result) and for merchant listing experiences.

What Google needs

For a product snippet, Google requires a name and at least one of offers, review or aggregateRating. Merchant listings, for pages where people can buy the product, also need an offers object with a price and priceCurrency, plus an image.

PropertyWhat to enter
offers.priceA plain number such as 89.99, with a dot as the decimal separator and no currency symbol.
offers.priceCurrencyA three-letter ISO 4217 code such as USD or EUR.
offers.availabilityA schema.org value such as https://schema.org/InStock.
gtin, sku, brandIdentifiers that help Google match your product to the same item elsewhere.
aggregateRatingThe average rating and the number of reviews shown on the page.

Good practice

  • Keep the price and availability in the markup identical to what visitors see on the page.
  • Only include ratings and reviews that are visible on the page.
  • Add several high-resolution images if you have them, ideally in 16:9, 4:3 and 1:1 ratios.
  • Mark up a specific product, not a category page that lists many products.

Frequently asked questions

Why are my stars not showing?

Valid markup makes a page eligible, but Google decides whether to show rich results. Make sure the ratings are visible on the page, the markup has no errors, and give Google time to recrawl the page.

Can I use a price range?

Yes. For a product with several prices, use an AggregateOffer with lowPrice, highPrice and priceCurrency instead of a single Offer.

Should the price include a currency symbol?

No. Put the number in price and the currency code in priceCurrency, for example "price": 89.99 and "priceCurrency": "USD".

Does this work for Shopify or WooCommerce?

Most store platforms already output some Product markup. Check your existing markup with the RankInject validator first, and use this generator to fill gaps or to build markup for custom pages.