100% in-browser — your data never leaves your device

Product Schema Generator
Product JSON-LD with Price & Ratings

Free Product schema generator for e-commerce and listings. Enter name, price, availability, brand and ratings — get valid Product JSON-LD with an Offer and a copyable <script> tag for Google product rich results.

Generate Schema ↓ Rich Results Test

Product builder

Name, image, price and currency are required.

JSON-LD Output

Live preview — updates as you type
Fill the form to generate JSON-LD.

    

Paste the <script> tag into your page’s <head> (or anywhere in <body>), then validate the live URL with Google’s Rich Results Test.

What Product schema does

A Product schema generator creates Product structured data in JSON-LD describing a single item for sale. Inside it sits an Offer carrying the commercial details — price, currency and availability — and optionally an aggregateRating summarising customer reviews. Google reads this markup to build product rich results: the enhanced listings that can display price, in-stock status and a star rating directly beneath your link, dramatically improving how a product stands out in search and in the Google Shopping experience.

For e-commerce sites, accurate Product markup is one of the highest-leverage structured-data investments: it directly affects click-through rate on commercial queries and feeds Google’s Merchant listings and Shopping surfaces.

Required vs. recommended properties

For a product snippet, the essentials are:

Strongly recommended and supported by this tool: availability (e.g. InStock), brand, sku, the offer url, a description, and an aggregateRating (rating value plus review count). To show review stars in search you must supply either aggregateRating or individual review items — and crucially, those ratings must be authentic first-party reviews collected on your own site.

Rich-result eligibility & policy

Google enforces strict policies on product review snippets: ratings must be genuine, must relate to the specific product, and self-authored reviews about your own business are not allowed. Keep the price and availability in your markup synced with what users actually see — mismatches are a leading cause of “merchant listing” warnings in Search Console. Use absolute image URLs and valid currency codes. As of recent updates, Google also supports merchant-listing properties like shippingDetails and hasMerchantReturnPolicy; this generator focuses on the universally required core so your markup stays clean and valid. Always verify with the Rich Results Test.

How this generator works

Enter the product details and the Product JSON-LD — including a correctly structured Offer — assembles live, with required-field validation and a one-click copy of the full <script> tag. It runs entirely in your browser, so nothing is uploaded. For category and listing pages, combine Product markup with Breadcrumb structured data, and add Organization markup site-wide to reinforce your brand.

Frequently Asked Questions

What is Product schema? +
Product schema is Schema.org structured data that describes a product — its name, image, brand, price, currency, availability and ratings — usually with a nested Offer. It powers Google’s product rich results, which can show price, stock status and star ratings under your search listing.
What are the required Product properties? +
For a product snippet, Google needs name and an Offer with price and priceCurrency, plus an image. For review stars, an aggregateRating or review is also required. This generator marks required fields and validates them live.
Can I add star ratings? +
Yes, but only using ratings you genuinely collected from your own customers (first-party reviews). Google prohibits self-serving or fabricated aggregateRating data. Leave the rating fields blank if you do not have real reviews.
What availability values are valid? +
Use Schema.org enumeration values: InStock, OutOfStock, PreOrder, BackOrder, or Discontinued. This generator automatically prefixes them with the https://schema.org/ URL Google expects.
What currency format does priceCurrency use? +
Use a 3-letter ISO 4217 currency code in uppercase, such as USD, EUR, GBP, or INR. The price should be a number without currency symbols or thousands separators.
Will this guarantee a rich result? +
No structured-data markup guarantees a rich result — Google decides based on quality, policy compliance and many other signals. Valid Product markup makes your page eligible. Always confirm with the Rich Results Test, which is linked in this tool.

Related Tools

All free, all client-side. Generate every structured data type your site needs — plus sister hjLabs tools.