⚡ SEO & Schema · Client-side · No data sent to server

Product Schema Generator

Fill in your product details to generate valid schema.org Product JSON-LD with nested Offer and optional AggregateRating. Everything runs in your browser; nothing is sent to a server.

A direct link to the product image.

Offer

Aggregate rating (optional)

JSON-LD output
 
✓ Copied!
100% private. The schema is generated entirely in your browser as you type. Empty optional fields are left out, and all values are escaped for safe use in a page.

About the Product Schema Generator

The Product Schema Generator builds valid schema.org Product structured data in JSON-LD format. You enter the product name, image, description, brand, SKU, price, currency, availability, and an optional aggregate rating, and the tool outputs a ready-to-paste script block with a nested Offer and, when supplied, an AggregateRating. It is built for WordPress and WooCommerce store owners, SEOs, and developers who want product rich results in search. Everything runs in your browser, so your product data is never uploaded.

How it works

  1. Fill in the product fields. Name is required; image, description, brand, SKU, price, currency, availability, and rating are optional.
  2. Watch the JSON-LD update live in the output panel as you type. Empty optional fields are left out, and a price adds a nested Offer.
  3. Add a rating value and rating count together to include an AggregateRating block.
  4. Click Copy and paste the script block into the <head> or <body> of your product page.

Features

  • Live JSON-LD output that updates as you type, wrapped in a ready-to-paste script type="application/ld+json" block.
  • Nested Offer with price, currency, and an in stock or out of stock availability value from schema.org.
  • Optional AggregateRating built from a rating value and rating count.
  • Empty optional fields are omitted, so the output stays clean and valid.
  • All values are escaped for safe inline use, and everything runs client-side with no uploads.

Frequently asked questions

What does this tool generate?

It generates schema.org Product structured data as JSON-LD, including a nested Offer for pricing and availability and an optional AggregateRating. The output is wrapped in a script type="application/ld+json" block you can paste straight into your page.

Which fields are required?

Only the product name is required. Image, description, brand, SKU, price, currency, availability, and rating are optional. Any optional field you leave blank is left out of the output.

How do I add a star rating?

Enter both a rating value (for example 4.8) and a rating count (for example 342). When both are present the tool adds an AggregateRating block. If either is missing, the rating is omitted.

Where do I put the generated code?

Paste the copied script block into the HTML of the matching product page, either in the head or the body. In WordPress you can add it through your theme, a custom HTML block, or a plugin that injects per-page markup.

Is my product data sent anywhere?

No. The schema is built entirely in your browser as you type. Nothing is uploaded or logged, and the tool keeps working after the page has loaded.