Product Schema Generator
Build Product JSON-LD with price, availability, brand, GTIN and optional ratings for a product rich result.
How to use it
- Fill in the name, image, price and availability - these are what Google needs for a product rich result.
- Add brand, SKU and GTIN where you have them; a GTIN helps Google match your product to others.
- Only add a rating and review count if the reviews are genuinely on the page.
- Copy the snippet into the
<head>of the product page.
What it does, and what it does not
It does: build valid Product JSON-LD with a nested Offer (price, currency, availability, condition) and an optional AggregateRating.
It does not: invent reviews. Only include a rating if real, visible reviews back it up - fake review markup is a common cause of manual actions and can get all your rich results removed.
Reference
Product structured data can earn one of the most valuable rich results in commerce: your price, availability and star rating shown right in the search listing. That extra detail lifts click-through and pre-qualifies the click, so it is worth doing carefully.
The core of the markup is the Offer. Google wants a price and priceCurrency at minimum, plus an availability value from a fixed set - InStock, OutOfStock, PreOrder and so on, which this tool writes as the full schema.org URL. Add itemCondition for used or refurbished goods. Around the offer, fill in the product name, at least one image, a description, the brand, and identifiers: your internal sku and, ideally, the gtin (the barcode number). A GTIN helps Google confidently match your listing to the same product sold elsewhere, which matters for shopping surfaces.
The rating is where sites get into trouble. AggregateRating produces the gold stars, but Google requires that the reviews it summarises are genuinely present and visible on the page. Marking up ratings you invented, or pulling in ratings of your whole business rather than the product, breaches the guidelines and is a frequent trigger for a "spammy structured data" manual action that strips all your rich results, not just the fake ones. So leave the rating fields blank unless real reviews sit on the page. Keep the price in the markup identical to the price shown to users, update availability when stock changes, and validate the result in Google's Rich Results Test before you rely on it.
Questions
What does Product schema get me?
Eligibility for a product rich result showing price, availability and, if you have real reviews, a star rating directly in the search listing. It also feeds Google shopping surfaces.
Can I add star ratings?
Only if genuine, visible reviews are on the page. Marking up invented or business-wide ratings on a product breaches Google guidelines and can trigger a manual action that removes all your rich results.
Do I need a GTIN?
It is optional but recommended. The GTIN (barcode number) helps Google match your product to the same item sold elsewhere, which helps on shopping surfaces.
Must the price match my page?
Yes. The price and availability in the markup must match what users see. Update the availability when stock changes.
Where does it go?
In the <head> of the individual product page - one Product block per product.