Product Schema Generator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free product schema generator. Create Product JSON-LD with price, availability, brand, GTIN (check digit verified) and review ratings.

Product structured data (JSON-LD)

Only add a rating if the reviews are shown on the page. Then test the page with Google's Rich Results Test.

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the product schema generator

Fill in what's on your product page: the product name and page address, image addresses, a short description, the brand, the SKU and the GTIN (barcode number) if it has one, the price and currency, availability and condition, and, if your page shows customer reviews, the average rating and number of reviews. The generator writes Product JSON-LD as you type.

It checks the details that most often cause errors in Google's reports:

  • The price must be a plain number with a full stop for decimals, like 6.50, with no currency symbol or thousands separator.
  • The currency must be a three-letter ISO code such as USD, GBP, EUR or BDT.
  • The GTIN is checked by its check digit. A UPC, EAN or ISBN-13 with one mistyped digit is caught immediately, and the generator uses the right property name (gtin8, gtin12, gtin13 or gtin14) for its length.
  • Ratings need both an average from 1 to 5 and a whole number of reviews.
  • Images and addresses must be full addresses starting with https://.

Nothing you type leaves your browser.

What product schema does

Product schema is structured data that describes a product in a format search engines read reliably: what it is, what it costs, whether it's in stock and what customers think of it. With it, Google can show your product with extra details in search results, such as the price, availability and star ratings, and can include it in shopping experiences.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Seeded rye loaf, 800g",
  "image": ["https://crumbandco.example/img/seeded-rye.jpg"],
  "brand": { "@type": "Brand", "name": "Crumb & Co." },
  "offers": {
    "@type": "Offer",
    "price": "6.50",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>

Those extra details make a result stand out and answer the shopper's first questions (how much, and can I get it?) before they click.

Product snippets and merchant listings

Google uses Product markup in two ways:

  • Product snippets add price, availability and review stars to a normal search result. They apply to pages about a product, including review pages. A product snippet needs the name plus at least one of: offers, a review, or an aggregate rating.
  • Merchant listings are for pages where people can buy the product. They can appear in the Shopping tab and other shopping features, and need the name, image and an offer with price and currency. Extra details like shipping and return policies help.

The product schema generator writes the core properties both use. If you sell many products online, also consider Google Merchant Center, which takes a product feed and can show your products in more places.

The properties, explained

name and description

Use the product's real name, as shown on the page. The description should be a sentence or two about the product, not a list of keywords.

image

One or more images of the product itself. Use full addresses, and make sure the images aren't blocked from Google in robots.txt.

brand, SKU and GTIN

  • Brand is the brand that makes the product. For your own products, that's your business.
  • SKU is your own stock code.
  • GTIN is the global barcode number: a UPC (12 digits) in North America, an EAN (13 digits) elsewhere, an ISBN-13 for books, or a GTIN-14 for cases. Google uses GTINs to match your product with the same product elsewhere. Only add a real GTIN assigned by GS1 or the manufacturer; never make one up.

The last digit of every GTIN is a check digit calculated from the others, so a typo is easy to catch. That's what the generator does: enter 4006381333937 instead of 4006381333931 and it tells you the check digit should be 1.

offers

The offer describes the sale: price, currency, availability, condition and the page where it can be bought.

  • Availability: In stock, Out of stock, Pre-order, Back order, Limited availability, Sold out or Discontinued. Keep it up to date; marking a sold-out product as in stock misleads shoppers and can lead Google to ignore your markup.
  • Condition: New, Used or Refurbished. Leave it out if it doesn't apply.
  • Price valid until: add a date if the price is a time-limited offer.

aggregateRating

The average rating and the number of reviews. Only include it if:

  • the reviews are shown on the product page,
  • they're genuine reviews from customers,
  • the numbers match what the page shows.

For products, reviews collected on your own site can appear as stars. (Google doesn't show stars for reviews a business collects about itself on its own LocalBusiness or Organization pages, but product reviews are different.)

Where to add it

Paste the JSON-LD into the product page's HTML. Many platforms already add Product markup:

  • Shopify themes usually include it in the product template.
  • WooCommerce adds it automatically, and SEO plugins extend it.
  • Wix, Squarespace and BigCommerce add basic Product markup to product pages.

View your product page's source and search for "@type": "Product" before adding more. If your platform's markup is missing something, such as the GTIN or brand, it's usually better to fix it in the platform settings than to add a second set. The generator is ideal for hand-built pages, landing pages and checking what your platform should be producing.

After adding it, test the page with Google's Rich Results Test and check the Merchant listings and Product snippets reports in Search Console.

Mistakes to avoid

  • Prices that don't match the page. The price in the markup must be the price a shopper sees.
  • Currency symbols in the price. $6.50 should be 6.50 with USD as the currency.
  • Thousands separators. 1,299.00 should be 1299.00.
  • One page, many products. Product markup is for a page about a single product (or variants of one product), not a category page listing many.
  • Invented ratings or ratings copied from another site.
  • Out-of-date availability after a product sells out.

Product schema and the rest of your page

Structured data supports a good product page; it doesn't replace one. The basics still matter:

  • good photos from several angles,
  • the price, delivery and returns information in plain view,
  • breadcrumb schema showing the product's category,
  • a canonical tag so filtered and tracked versions point to the main product address.

Pricing is part of it too: the profit margin calculator shows what each sale earns, and the sales tax calculator works out prices with tax.

A worked example

A bakery sells an 800 g seeded rye loaf online for $6.50. In the product schema generator, the owner enters the name, page address, one image, the brand "Crumb & Co.", the SKU "RYE-800", the price 6.50 and currency USD, In stock and New. The bakery's own loaves have no GTIN, so that field stays empty.

The page shows 126 reviews averaging 4.8 stars, so the owner adds those too. The generator produces Product JSON-LD with an Offer and an AggregateRating, and a "Looks good" note. The Rich Results Test detects a valid product snippet and merchant listing, and within a few weeks the loaf appears in search with its price, stock status and stars.

Search ads for the searches that matter now

Good markup helps your pages rank over time. Google Ads puts the same pages in front of buyers today. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Frequently asked questions

What is product schema?

It's structured data, usually JSON-LD, that describes a product's name, images, brand, price, availability and reviews, so search engines can show those details in results.

Will product schema show stars in Google?

It can, if your page shows genuine customer reviews and the markup includes an aggregate rating that matches them. Google decides when to show rich results.

Do I need a GTIN?

Not for the markup to be valid, but if your product has an official barcode number, add it. It helps Google match your product. Never invent one.

How should I write the price?

As a plain number with a full stop for decimals, like 24.00, and put the currency in the currency field as a three-letter code.

Can I use product schema on a category page?

No. Product markup is for pages about a single product. Category pages listing many products shouldn't use it for each item.

Is the product schema generator free?

Yes. It's free, needs no sign-up, and runs entirely in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep