Free Product Schema Generator

Generate valid Product JSON-LD structured data for your store, with offers, price, availability, and ratings. Fill in your details and copy the markup. Free, no sign-up required.

Build Your Product Schema

Product basicsThe core details of the product you are marking up.

The exact product name as it appears on the page. Required.

The canonical URL of the product page. Used as the top-level URL and inside the offer.

Your internal stock-keeping unit for this product.

The brand this product belongs to. Adds a Brand object.

ImagesUse high-resolution product images (at least 1200px wide). Multiple angles help rich results.

Price & availabilityThe offer for this product. Powers price and availability in search.

The number only, no currency symbol.

The 3-letter ISO code, such as USD, EUR, or GBP.

Rating (optional)An aggregate rating built from real reviews shown on the page.

Enter your product name and product page URL above and your JSON-LD will build here automatically.

Generated JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>

How to add it to your site

  1. Copy the code above.
  2. Paste it inside the <head> section of the product page (or your product template).
  3. Validate it with the Google Rich Results Test or the Schema.org Validator.
  4. Deploy, then request indexing in Google Search Console to speed things up.

Build better product pages around your schema

Structured data tells search engines what your product is. These free widgets make the page better for shoppers.

Explore More Free Tools

Other free tools to help you optimize and grow.

How It Works

How to use this free product schema generator

No account needed, no sign-up, completely free. Fill in your product details, and valid JSON-LD structured data builds live, ready to copy into your page.

1

Enter your product details

Add the product name, page URL, description, and a high-resolution image. Include the SKU and brand if you have them. The product name is the one field you must fill in.

2

Add price, availability, and ratings

Turn on the offer to set price, currency, and stock status, and add a price-valid-until date if you run promotions. Add an aggregate rating only when real reviews are shown on the page. Everything you type builds the markup live, with no empty fields left in.

3

Copy and validate

Copy the generated JSON-LD, paste it into the head of your product page, and confirm it with the Google Rich Results Test. No sign-up, completely free.

The Basics

What is product schema, and why does it matter?

Search engines read your product pages, but structured data tells them exactly what they are looking at: the product name, its price, whether it is in stock, and how it is rated.

The idea

Your product details → schema.org vocabulary → JSON-LD in your <head>

Result: search engines understand your product as data, not just text

Product schema is structured data that describes a single item for sale using the shared schema.org vocabulary. Instead of hoping Google infers the name, price, and stock status from your HTML, you state them explicitly in a format built for machines to read.

The recommended format is JSON-LD: a small block of JSON placed in the head of the page. It lives separately from your visible content, so it is easy to add without touching your design. This generator builds the Product type with a nested Offer for price and availability, a Brand, and an optional AggregateRating for reviews.

Structured data does not guarantee rankings or rich results, but it makes your product unambiguous to search engines and to the AI assistants that increasingly help people shop. Clear data means your listing is easier to represent, and cite, correctly.

Product Fields

The fields this generator creates

The Product type and the properties that matter most. Here is what each one does and when to use it.

FieldWhat it doesWhen to useRole
nameThe product name, exactly as it appears on the page. The one required field.Every product you mark up.Required
offersAn Offer with price, currency, and availability. Powers price and stock status in search.Any product a shopper can buy.Recommended
imageOne or more high-resolution product images that Google can show alongside the listing.Every product page.Recommended
aggregateRatingA rating score and review count summarizing real reviews shown on the page.Products with genuine on-page reviews only.Optional
brandThe brand the product belongs to, added as a Brand object.Branded products.Optional

Based on the schema.org Product type and Google Search structured data guidelines, 2026.

What It Can Unlock

What product schema can do for you

Structured data makes your products eligible for search features and helps machines understand your listing. Eligibility is never guaranteed, but the groundwork matters.

💲

Price in search

A valid Offer lets Google show your price directly in the listing, so shoppers see it before they click.

📦

Availability status

Stock status in your markup can surface an in-stock or out-of-stock label, setting expectations before the click.

Star ratings

An aggregate rating from real reviews can earn review stars in the listing, which help your result stand out.

🛒

Merchant listing eligibility

Complete product data with offers and availability supports eligibility for Google merchant listing experiences.

🖼️

Image in results

A high-resolution image in your markup gives Google a clear candidate to show alongside your product.

🤖

AI shopping clarity

Structured product data makes your listing easier for AI answer engines to read, compare, and cite accurately.

Avoid These

Six product schema mistakes that cause problems

Structured data helps only when it is accurate and valid. Steer clear of these common errors, and never fake ratings or prices.

🚫

Name that does not match

The product name in your schema must match the visible product name on the page. A mismatched or keyword-stuffed name violates Google guidelines.

Match the visible name

Faking ratings or reviews

Never invent a rating or review count, and never show ratings that are not visible on the page. Fake review markup can trigger a manual action.

Never fake ratings
💲

Wrong or stale price

The price in your schema must match the price on the page and stay current. A mismatched or outdated price can get your markup ignored.

Keep the price accurate
📦

Missing availability

Leaving out availability, or listing the wrong status, means shoppers can see stock information that does not reflect reality.

Set honest availability
🖼️

Low-resolution or missing image

Google recommends high-resolution images. A tiny image, or none at all, weakens your eligibility for rich results.

Use images 1200px+ wide

Never validating

Always run your markup through the Rich Results Test and Schema.org Validator. A single syntax slip can invalidate the whole block.

Validate before you ship

Get More From It

6 tips for effective product markup

Practical ways to make your schema work harder. All CommonNinja widgets mentioned are free to start.

01

Put the markup on the product page

Product schema belongs in the head of the individual product page, not your homepage. Add it to your product template so every product gets it automatically.

02

Pair it with site-wide schema

Product markup describes one item. Your Organization and WebSite schema describes the whole store. Use both. Our free Website Schema Generator builds the site-wide part.

Try the Website Schema Generator
03

Keep price and stock in sync

When you change a price or sell out, update the markup too. Prices and availability in your schema must match what shoppers see on the page.

04

Show reviews on the page before marking them up

Only add an aggregate rating when real reviews are visible on the product page. Testimonials on the page back up the rating your schema reports.

Try the Testimonials widget
05

Add a price-valid-until date for sales

When you run a promotion, set priceValidUntil so search engines know when the sale price expires. It keeps your offer honest and current.

06

Validate after every change

Re-run the Rich Results Test whenever you edit your markup or redesign the product template. It catches errors before Google does.

Glossary

Key product schema fields

A quick reference for the properties behind product markup.

FieldDefinitionExampleWhen It Matters
nameThe product name. It must match the visible name on the page and is the one required Product field.Executive Office ChairEvery product you mark up
offersAn Offer object holding price, priceCurrency, and availability. Powers the price and stock shown in search.Offer + priceAny shoppable product
availabilityThe stock status, as a schema.org URL such as InStock or OutOfStock. Tells shoppers whether they can buy now.schema.org/InStockEvery offer
aggregateRatingA summary of real reviews shown on the page, with a ratingValue and reviewCount. Never invent these numbers.4.6 from 128Products with on-page reviews
brandThe brand the product belongs to, added as a Brand object with a name.Brand + nameBranded products

FAQ

Product schema markup is structured data that describes a single item for sale, its name, image, price, availability, brand, and ratings, to search engines using the schema.org vocabulary. Instead of leaving search engines to guess these details from the page, you state them explicitly in a machine-readable format. This generator creates Product JSON-LD with a nested Offer and an optional AggregateRating.
The offer is a nested Offer object inside your Product markup that holds the commercial details: the price, the currency, the availability status, an optional link to the product page, and an optional price-valid-until date. It is what lets search engines show a price and stock status alongside your listing. This tool includes an offer by default, and you can turn it off for products that are not directly for sale.
Enter the price as a number with no currency symbol, and set the currency as a three-letter ISO code such as USD, EUR, or GBP. For availability, pick the status that matches the page: in stock, out of stock, pre-order, or back-order. The tool converts your choice into the full schema.org URL that Google expects. Keep both in sync with what shoppers actually see on the page.
Yes, but only honestly. Add an aggregate rating solely when real reviews are visible on the product page, and use the true rating value and review count. Never invent ratings, never reuse ratings from another site, and never mark up reviews that are not shown on the page. Fake or misleading review markup violates Google guidelines and can trigger a manual action against your site.
JSON-LD is the format Google recommends for structured data: a small block of JSON inside a script tag. Copy the generated code and paste it into the section of the individual product page, or into your product template so every product gets it automatically. It lives separately from your visible HTML, so it will not change how your page looks.
No. Structured data makes your pages eligible for certain rich results, like price, availability, and review stars, and helps search engines understand your products, but Google decides when to show rich results, and schema is not a direct ranking factor. It is best thought of as making your product data clearer and easier to represent accurately.
Paste your page URL or the generated code into the Google Rich Results Test or the Schema.org Validator. Both are free and show errors, warnings, and which rich results you may be eligible for. Always validate after adding or editing your markup.

Trusted by