Skip to main content

Product Schema Generator

Runs in your browser Nothing stored Free, no signup

Enter your product details and get valid Product JSON-LD with an offer and optional rating. Copy it straight into the product page.

JSON-LD output
Add a product name (required).
Add a price and currency to qualify for price rich results.
An image is strongly recommended.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>

Paste this into your page's <head>. Then validate it with Google's Rich Results Test before you ship — a schema with a missing required field won't earn a rich result.

Accurate markup, not wishful markup

Product schema is powerful because Google can surface price and stock right in the results — but that power comes with scrutiny. Price, availability, and especially ratings must reflect what's truly on the page. The fastest way to lose rich results (or earn a manual action) is markup that claims a 4.9 rating the page can't back up.

Fill only the fields you can honestly support, validate with Google's Rich Results Test, and keep the markup in sync when prices change. Need structured data for other page types? Try the breadcrumb or LocalBusiness generators.

Frequently asked questions

What is Product schema?

Product structured data describes an item you sell — name, image, description, brand, price, availability, and optionally ratings. It helps Google show price and availability in search and Shopping surfaces.

What fields are required?

For a basic valid Product you need a name. To qualify for price-related enhancements you also need an offer with price, priceCurrency, and availability. Image and description are strongly recommended.

Can I add review stars?

Only if genuine reviews exist and are visible on the page. Google prohibits self-serving or fabricated aggregateRating markup, and it can trigger a manual action. Fill the rating fields only when the reviews are real and on-page.

Where do I put the code?

Paste it inside the <head> of the individual product page it describes. Use one Product block per product page, with details that match the visible content.

Related tools

This tool solves one thing.

Scan a live URL against 100 on-page checks — with the code to fix each issue.

Analyze any URL free