Product schema generator

Product markup lets Google show price, stock status and ratings next to your product, and makes those facts easy for AI shopping answers to read.

Paste the code into the page's <head> or <body>. Only mark up what visitors can see on the page.

Added markup to one page? Pro checks every page in your sitemap weekly and tells you when markup breaks after a theme or app update.

Two sets of Google rules

Product snippets (the stars and price under a search result) need name plus at least one of offers, review or aggregateRating.

Merchant listings (shopping results and the Shopping tab) need name, image and an Offer with price and priceCurrency. Google recommends availability, brand, a GTIN or MPN, shipping details and a return policy.

Common mistakes

  • Price with a currency symbol. Use "price": "24.00" and "priceCurrency": "USD", not "$24".
  • Availability as plain text. Use https://schema.org/InStock, not "in stock".
  • A rating with no count. aggregateRating needs ratingCount or reviewCount.
  • Relative image paths. Use the full https:// address.
  • Two Product blocks for one product. Often the theme adds one and a reviews app adds another. Merge them into one.

Variants

If one page sells several sizes or colors, Google supports ProductGroup with hasVariant. This generator covers the single-product case; for variants, start from this output and add a ProductGroup around it.

On Shopify? See what Shopify themes output by default.

SchemaOK Pro, $9/mo

Pro is not built yet. We are checking whether enough people want it before we build it. Leave your email and we will write once, when it is ready.

One email when Pro launches. No newsletter. Privacy