Product Schema Generator
Build Product JSON-LD with price, availability and rating.
JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Wireless Headphones",
"image": [
"https://example.com/headphones.jpg"
],
"description": "Noise-cancelling over-ear headphones with 30-hour battery life.",
"sku": "SL-HP-100",
"brand": {
"@type": "Brand",
"name": "SoundLab"
},
"offers": {
"@type": "Offer",
"price": "199.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.6",
"reviewCount": "128"
}
}
</script>Free Product schema generator. Enter your product name, image, description, price, currency, availability and rating to build valid Product JSON-LD with an Offer — the markup behind price and star-rating rich results. Runs in your browser.
How to use the Product Schema Generator
- 01Enter the product name, image and description.
- 02Set the price, currency and availability, and optionally a rating.
- 03Copy the Product JSON-LD into your product page.
Frequently asked questions
What availability values are valid?
Use schema.org values such as InStock, OutOfStock, PreOrder or BackOrder. This tool outputs the full https://schema.org/ URL that Google expects.
Can I show star ratings in search results?
Yes. Provide an aggregate rating value and a review count, and eligible pages can display a star-rating rich result. Only add ratings your product genuinely has.