Product Schema Generator

Generate Product JSON-LD structured data with price, rating and availability for rich results.

This tool runs entirely in your browser. Your files are never uploaded to a server.

What this tool does

Generate Product JSON-LD for a real product page using its name, image, description, brand, SKU, offer price, currency, availability, and genuine aggregate rating data. The tool targets Google product-snippet requirements.

How to use it

Enter the product name and either a current offer price or both an aggregate rating and review count. Add only values that users can see on the destination page, then copy the generated script into that product page.

Worked example

For “Executive Anvil”, price 119.99, currency USD, availability InStock, rating 4.4, and 89 reviews, the output contains one Product with an Offer and AggregateRating using numeric values.

Method and validation

The generator validates non-negative prices, three-letter currency codes, ratings from 1 through 5, positive whole review counts, supported availability values, and absolute HTTP or HTTPS image URLs before producing JSON-LD.

Interpreting the output

Google requires a Product name plus at least one of offers, review, or aggregateRating for product-snippet eligibility. Valid code only makes a matching page eligible; it does not guarantee a rich result or ranking improvement.

Limitations and accuracy

Do not invent ratings, review counts, prices, stock status, or brand details. Keep markup synchronized with visible page content and use merchant-listing guidance when customers can buy the product directly from the page.

Privacy and verification

All generation and validation run locally in your browser, so the entered catalog data is not uploaded by this tool. Test the deployed page with Google Rich Results Test whenever product data or templates change.

Frequently Asked Questions

What fields are required for a Google product snippet?
Google requires the Product name and at least one of offers, review, or aggregateRating. This generator accepts either a valid offer price or a complete aggregate rating with review count before it produces code.
What does the availability field mean?
It tells search engines the current stock status of your product — in stock, out of stock, pre-order or discontinued.
Does this guarantee a rich snippet in Google?
No — valid markup makes your page eligible, but Google decides at its discretion whether to display the rich result.