Product Schema Generator
Create valid Product JSON-LD structured data for your online shop — with price, availability, GTIN and ratings, ready for Google Merchant listings. Instant, in your browser, free.
Try an example
Basic info
Identifiers
The GTIN (barcode number, EAN/UPC) is optional but strongly recommended — Google uses it to match your product for Merchant listings.
Price & availability
Ratings (optional)
Optional. Add both a rating and a review count to include an aggregateRating — the markup that can show star ratings in search results.
JSON-LD code
Fill in the required fields (name, price, currency) to generate the JSON-LD code.
Why Product schema matters for Merchant listings
Product structured data tells Google exactly what you are selling: the name, image, brand, price, availability and condition of an item. When this data is present and valid, your pages become eligible for rich product results and free Merchant listings in Google Search, Google Images and the Shopping tab — often shown with price, availability and star ratings directly in the results. That extra detail makes your listing stand out and typically improves click-through. Without valid Product markup, Google has to guess this information from the page, and your products are far less likely to appear in these enhanced placements.
Required fields for Google Shopping
At a minimum, Google needs a product name and an offer with a price and currency — those are the fields this tool requires before it outputs code. To actually qualify for Merchant listings and rich results, you should also provide an image, a brand, and a unique product identifier: a GTIN (the barcode/EAN/UPC number) and/or an SKU. The GTIN is the single most valuable identifier because Google uses it to match your exact product across the web. Availability and item condition round out the offer, and an aggregateRating (rating value plus review count) unlocks star ratings — but only mark up ratings that are genuinely visible on the page.
How to add the schema to your shop
Copy the generated code and paste it into a script tag of type application/ld+json in the head section of the product page it describes. Most shop systems let you add this in a theme template or via an SEO app; the name, price and availability in the markup must match what customers actually see on the page. A minimal example looks like this:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Executive Anvil",
"brand": {
"@type": "Brand",
"name": "ACME"
},
"offers": {
"@type": "Offer",
"price": "119.99",
"priceCurrency": "EUR",
"availability": "https://schema.org/InStock"
}
}
</script>Frequently asked questions
Which fields are required for Product schema?
What is a GTIN and do I need one?
Can I show star ratings in Google results?
Does this tool store my product data?
How do I check that the markup is valid?
What is Product schema markup?
What's the difference between Product and Offer?
Can I list multiple products on one page?
Does valid Product markup guarantee rich results in Google Shopping?
Can I add both an aggregate rating and individual reviews?
What if my product goes out of stock?
How do I handle a variable price or price range?
Related tools
Review & Aggregate Rating Schema Generator
Generate Review or Aggregate Rating JSON-LD for star ratings.
Software Application Schema Generator
Generate Software Application JSON-LD for SaaS, web and mobile apps with ratings.
Schema Markup Validator
Validate a live URL or JSON-LD code: SEO score, errors, warnings and rich-results readiness.
Organization Schema Generator
Generate Organization JSON-LD with logo, social profiles and contact for E-E-A-T.
Local Business Schema Generator
Generate Local Business JSON-LD structured data for your business.
FAQ Schema Generator
Generate FAQPage JSON-LD for AI search and structured Q&A data.
