Import existing JSON-LD(paste code or read it from a URL)
Paste a Product JSON-LD block, several script tags or a whole page's HTML. The form fills with what it finds so you can edit and improve it.
Product basics
Identifiers
Auto-mapped to (none, enter 8/12/13/14 digits) based on length (8/12/13/14 digits).
Attributes (recommended for merchant listings)
Product images
Brand
Reviews
Overall rating from your reviews app (optional)
Fill these when the page shows a total from Judge.me, Yotpo, Trustpilot or similar. They replace the average of the reviews typed above.
Offer (pricing & availability)
Shipping & returns (optional, used for merchant listings)
Added inside the Offer as shippingDetails and hasMerchantReturnPolicy. Needs a price to appear. Use two-letter country codes such as US, GB or IN.
Variants (optional, outputs a ProductGroup)
Add one row per size, color or other option sold on this page. With at least one named variant the output becomes a ProductGroup with hasVariant, the format Google uses for product variants. Shipping and return settings are copied to each variant offer.
- Add at least one image. Merchant listings require it.
- Add a price. Merchant listings need an Offer with a price.
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product"
}
</script>How to use
Auto-fill from the product page
Paste the product URL and press Auto-fill from product URL. Chips confirm what was found, such as price, brand, image count and review count. Your own edits are kept.
Complete the offer and extras
Set currency, price, availability, condition and price valid until. Optionally fill Shipping and returns with cost, destination country, handling and transit days, and your return window and fees.
Add proof, then copy
Add images, genuine reviews and any variants, clear the errors in the Validation panel, press Copy script, then use Test in Google Rich Results Test to see which product features the block qualifies for.
Why Product Schema Generator
- Reads Product markup from a live URL or from pasted JSON-LD.
- Sale prices, AggregateOffer ranges and ProductGroup variants.
- Shipping details and a return policy for merchant listings.
- Validation for required and recommended fields, JSON-LD or microdata output.
Product snippet or merchant listing: which fields each needs
Google uses the same Product type for two features. The table shows what each one needs, based on Google's documentation, and which card in this generator fills it. Shipping and return details are recommended for merchant listings; Google can also take them from Merchant Center or Search Console settings.
If the page is a review rather than a shop, fill the reviews and leave the offer and shipping empty. The block then fits product snippets only.
| Field | Product snippet | Merchant listing | Card here |
|---|---|---|---|
| name | Required | Required | Product basics |
| image | Not required | Required | Product images |
| offers.price and priceCurrency | One of offers, review or rating | Required | Offer |
| review or aggregateRating | One of offers, review or rating | Recommended | Reviews |
| gtin, mpn, sku, brand | Recommended | Recommended | Identifiers, Brand |
| shippingDetails | Not used | Recommended | Shipping and returns |
| hasMerchantReturnPolicy | Not used | Recommended | Shipping and returns |
Common questions
Which Product schema fields does Google require?
What is the difference between a product snippet and a merchant listing?
How do I add shipping details to Product schema?
How do I add a return policy to Product JSON-LD?
How does the product schema generator handle GTIN numbers?
Can Product JSON-LD include review stars?
How do I show a sale price in Product schema?
Does the Product autofill work on Shopify and WooCommerce pages?
How do I mark up product variants such as sizes and colors?
More Schema tools
View allAutomatic Schema Markup Generator
Crawl your site, auto-detect + generate JSON-LD for every page
Schema Markup Generator
JSON-LD or microdata for 10 types, plus a validator
FAQ Schema Generator
Build FAQPage JSON-LD by hand, paste or URL import
Article Schema Generator
Build Article, BlogPosting or NewsArticle JSON-LD