Home / Free tools / Product JSON-LD generator
Product schema (JSON-LD) generator
Fill in your product facts and copy a schema.org Product with a nested Offer. It deliberately has no rating or review inputs: those must reflect real, visible reviews, so add them yourself only if they exist.
How to use it
- Enter the product facts. Use the same name, price and availability that appear on the page.
- Check the warnings. The tool flags missing image, malformed price and wrong currency codes.
- Paste into the page. Place the script block in the page HTML, one block per product page.
- Validate. Run the result through the JSON-LD validator here and a search engine rich results test.
What each property does
name, image and offers are the core of a Product. Inside the Offer, price must be numeric text, priceCurrency an ISO 4217 code and availability a schema.org URL such as https://schema.org/InStock. sku and brand help match your page to the same product elsewhere. priceValidUntil is optional and worth setting for sales.
Why there are no review fields
Marking up a rating that is not backed by real, visible reviews on the page breaks search engine guidelines and can lead to a manual action. We would rather the generator be unable to produce that than make it easy. If you do have genuine reviews, add aggregateRating yourself with the actual count and make sure customers can see them.
Keep markup and page in sync
Structured data that disagrees with the visible page (a price in the JSON-LD that differs from the price shown) is a frequent reason rich results disappear. If your prices change often, generate the block from the same data source as the page rather than pasting it by hand. Stores that sell digital products can use availability: InStock with a fixed price just like physical goods; see the AI Search Readiness Kit for eight ready JSON-LD templates and a checklist.
Worked example
This is what the tool produces for the sample input, so you can see the result without running it.
Input
Stitched A5 notebook, 120 pages of 100 gsm paper.
Result
No problems detected. Paste the block into the page head or body, and make sure the price and availability match what visitors see.
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Hand-bound Notebook A5",
"description": "Stitched A5 notebook, 120 pages of 100 gsm paper.",
"image": [
"https://shop.example/img/a5.jpg"
],
"url": "https://shop.example/notebooks/a5",
"sku": "NB-A5",
"brand": {
"@type": "Brand",
"name": "Paper Co"
},
"offers": {
"@type": "Offer",
"url": "https://shop.example/notebooks/a5",
"price": "14.50",
"priceCurrency": "EUR",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"priceValidUntil": "2027-06-30"
}
}
</script>Frequently asked questions
Does Product markup guarantee rich results?
No. It makes eligibility possible; search engines decide what to show.
Can I mark up several products on one page?
Use one Product per distinct product page. A category page should use ItemList, not many Product blocks with offers.
JSON-LD or microdata?
JSON-LD is the format search engines recommend and is easier to maintain because it sits apart from your HTML.
Is my data sent anywhere?
No. Everything is generated in your browser.
More free tools
- FAQPage JSON-LD generator: Turn plain Q and A text into valid FAQPage JSON-LD with escaping handled, plus checks for duplicates, empty answers and HTML. Notes rich-result limits.
- JSON-LD validator: Paste JSON-LD or a whole HTML page. Checks syntax and the commonly required properties for Product, Offer, Article, FAQPage, Organization and more.
- Open Graph and Twitter card generator: Generate Open Graph and Twitter card meta tags with a social card preview. Checks absolute https image URLs and the recommended 1200 by 630 size.