Skip to content
AvocadoScore

Free tool · instant · no signup

Product schema JSON-LD generator

Build valid Product structured data in seconds. Fill in the fields, copy the block, paste it into your page.

Describes something you sell: name, price, stock status and rating. It is the markup behind product rich results and lets AI shopping answers quote real price and availability.

Digits only — no currency symbol.

Only include ratings shown on the page.

Your JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product"
}
</script>

Still needed: Product name.

Adding Product JSON-LD to your site

JSON-LD sits in a <script type="application/ld+json"> tag and describes the page in the shared schema.org vocabulary. Search engines and AI answer engines read it to understand entities and relationships without guessing from layout. The markup must match what visitors can actually see on the page.

For the full picture — which types to add first, and how AI engines use them — read the structured data guide. To see whether the rest of your site is readable by AI crawlers, run the AI bot checker or a full audit, which flags pages missing structured data.

Other schema types

Questions, answered

What does Google require for Product rich results?+

A name, plus at least one of offers (price), aggregateRating or review. This generator adds offers when you enter a price and aggregateRating when you enter both a rating and a review count.

How do I write the price?+

Use digits with a dot as the decimal separator (129.00), no currency symbol, and put the currency in priceCurrency as an ISO 4217 code such as USD or EUR. The price must match what visitors see on the page.

Can I mark up ratings I made up?+

No. Ratings and review counts must reflect real, visible reviews on the page. Marking up invented or hidden ratings breaks Google’s structured data guidelines and can cost you rich results.

What is JSON-LD?+

JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for structured data. You put a small block of JSON in a script tag, using schema.org types, to tell search engines and AI answer engines exactly what a page is about — an article, a product, a business, an FAQ.

What is the difference between JSON-LD and JSON?+

JSON-LD is JSON with a few reserved keywords (@context, @type, @id) that tie the data to a shared vocabulary such as schema.org. Every JSON-LD document is valid JSON, but plain JSON has no @context, so a crawler cannot tell what your keys mean. The @context and @type lines are what turn your data into structured data.

Where do I put the JSON-LD code?+

Inside a <script type="application/ld+json"> tag, in either the <head> or the <body> of the page it describes. Google reads both. In a framework, render it server-side so crawlers get it without running JavaScript.