Schema Markup Generator
Generate valid JSON-LD or Microdata structured data for 16 schema types. Select a schema type, fill in the fields, and copy the markup to your site. Not sure where the code goes once you have it? Read how to add schema markup to your website for the exact steps on WordPress, Shopify, Wix, and custom sites.
Product Fields
Structured Data Output
Missing required fields:
- - Product name is required
- - Price is required
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "",
"offers": {
"@type": "Offer",
"price": "",
"priceCurrency": "GBP",
"availability": "https://schema.org/InStock"
}
}
</script>What is Product schema?
Product schema describes an item for sale, its price, currency, availability, brand, and SKU, plus an optional aggregate rating built from a real ratingValue and reviewCount. Google lists a dedicated Product rich result that can show price, availability, and review ratings directly in search, which is one of the clearer commercial wins available from structured data.
The offers block below is required, since price and availability are what Google reads to decide whether your listing qualifies. Star ratings only appear when the aggregateRating figures are genuine, drawn from actual reviews rather than invented numbers, since fabricated ratings breach both schema.org guidance and Google's structured data policies. Fill in the fields and switch between JSON-LD and Microdata output with the toggle above the code block.
Frequently asked questions
Is the offers block required?
Yes. Price, currency, and availability inside the offers object are what make a Product listing eligible for the price and stock rich result. Leave any of them out and the code will still be valid schema, but incomplete for that feature.
Can I add a rating without real reviews?
No. Fabricated ratings and review counts break schema.org guidance and Google's structured data policies, and can lead to a manual action. Only add ratingValue and reviewCount when they reflect genuine reviews.
What availability values does Google accept?
InStock, OutOfStock, and PreOrder are the common ones and are included in the dropdown above. Keep this in sync with what is actually true on the page, since Google can penalise mismatched availability.
Does this work for affiliate or comparison pages?
Yes, Product schema is commonly used on affiliate and comparison content as well as direct ecommerce listings, as long as the price, availability, and any rating shown genuinely reflect what a visitor will find.
Want structured data implemented, validated, and monitored for you? The technical SEO audit includes a full schema markup review. Not sure where to paste the code above? Read how to add schema markup to your website.
Other schema types
Get Started
Want Your Schema Implemented and Validated for You?
Tell me your site and CMS. I will review your existing structured data, implement what is missing, and validate everything in Google's Rich Results Test as part of the fixed-fee audit.
- Focus on your biggest search problem
- Review the evidence you already have
- Identify the most useful next step
- Answer your priority SEO question
Usually responds within a few hours
Currently accepting new clients
More free SEO tools
Robots.txt Generator
Build a valid robots.txt with a visual editor. Includes AI crawler blocking presets.
Hreflang Tag Generator
Generate correct hreflang tags for multilingual sites in HTML or XML sitemap format.
Redirect Chain Checker
Follow and visualise the full redirect chain for any URL. Detect loops and 302s.