S SCHEMA.BIZ

Last updated:

Product Schema Generator

This product schema generator writes Product JSON-LD from one short form: the name, description, price, currency, stock status, brand, identifiers, rating and image. Fill it in from a single product page, clear the warnings in the panel beside the code, and paste the script tag into that page.

Reference: Product schema

Product: Use on a product's page. Where shoppers can buy it, tick Merchant listing for Google's shopping results, with shipping and returns; on a review or information page, leave it off for a product snippet.

Basic Info
Pricing
Availability
Shipping & Returns
Reviews
Media

What Google shows for Product markup

  • Product snippet: shown in Google Search; Google's last documented change was on May 1, 2024.
  • Merchant listing: shown in Google Search; Google's last documented change was on July 7, 2026. Only pages where a shopper can buy the product. Price must be above 0.

Google reads Product markup for two features. A product snippet adds details such as the price, stock status and review stars to an ordinary result; it needs the product's name plus an offer, a rating or a review. Merchant listings cover pages that let a shopper buy the item: it needs a name, an image and an offer whose price is above zero, and Google strongly recommends a description and every global identifier the product has. This form writes all of those; tick Merchant Listing for the second, and it adds shipping and returns too.

Valid markup makes the page eligible, and no more: Google doesn't guarantee that any feature will appear, and it expects the markup on a page about one product.

How to fill in each field

Name, brand and identifiers

Use the name the page's heading shows, including the model and the variant you sell, such as Trailhead 40L Backpack, Slate. Put the brand in its own field; the generator wraps it as a Brand with a name. SKU is your own stock code, GTIN the barcode number (digits only, 8 to 14 of them) and MPN the maker's part number. Give each one the product has. The product URL also becomes the offer's URL.

Price and currency

Type the price as a plain number with a decimal point: 1249.00, not $1,249. Choose the three-letter currency code from the menu; if yours isn't listed, pick any and change priceCurrency in the copied code.

Availability and condition

Pick the one stock status that's true today, such as In Stock or Pre-Order; Google takes a single value. Price Valid Until is the last day a sale price holds. Leave it empty for a price with no end date: Google may not show the result once that date has passed, so a stale date is worse than none. Set the condition for used or refurbished stock.

Shipping and returns

Tick Merchant Listing only where shoppers can buy the item. Ships To is a two-letter country code, Shipping Cost a number in the price's currency (0 for free), and handling and transit are ranges of days, which Google needs for shipping details. For returns, pick the window, its countries and, for a set window, its days.

Ratings and image

Fill in the rating only if customers' ratings appear on the page: the average, and the number of ratings or written reviews, at least one of which Google requires. Best Rating is 5 unless you set it, so enter 10 if you rate out of ten. The image is required: link a crawlable, full-size photo of the product itself, not a logo or a banner.

The form marks 6 fields as required and 6 as recommended:

  • Product Name (required): The name of the product.
  • Description (required): A detailed description of the product.
  • Price (required): The price of the product. Use numerals only (no currency symbol).
  • Currency (required): The currency of the price in 3-letter ISO 4217 format. Shipping costs and return fees use it too.
  • Availability (required): Whether the product is in stock.
  • Image URL (required): A URL to an image representing this item. Google recommends images be at least 1200px wide.
  • Brand (recommended): The brand name of the product.
  • SKU (recommended): The product's stock keeping unit identifier.
  • Product URL (recommended): The canonical URL of the product page.
  • Price Valid Until (recommended): The date after which the price may change.
  • Rating Value (recommended): The numeric rating (e.g. 4.5).
  • Number of Ratings (recommended): Total number of ratings.

Example: A backpack in stock, with ratings

A single product page's details: brand, SKU, GTIN and MPN, a price with an end date, the stock status, the condition, a rating from 212 customers and a product photo.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trailhead 40L Backpack, Slate",
  "description": "A 40-litre hiking pack with a ventilated back panel, a rain cover and hip-belt pockets, weighing 1.3 kg.",
  "image": "https://northfold.example/images/trailhead-40l-slate-front.jpg",
  "url": "https://northfold.example/packs/trailhead-40l-slate/",
  "brand": {
    "@type": "Brand",
    "name": "Northfold"
  },
  "sku": "NF-TH40-SLT",
  "gtin": "0614141123452",
  "mpn": "TH40-SLT-2026",
  "offers": {
    "@type": "Offer",
    "price": "149.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "priceValidUntil": "2027-03-31",
    "itemCondition": "https://schema.org/NewCondition",
    "url": "https://northfold.example/packs/trailhead-40l-slate/"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.6,
    "bestRating": 5,
    "ratingCount": 212,
    "reviewCount": 87
  }
}

5 common mistakes

  1. A symbol or comma in the price. $1,249 isn't a number. Type 1249.00 and let the currency field say which currency it is.
  2. Ratings the page doesn't show. Google wants marked-up reviews to be easy to find on the page itself, and it doesn't accept ratings gathered from other websites. Leave the rating fields empty rather than fill them with numbers shoppers can't see.
  3. Markup on a category page. A grid of many products isn't a product page. Generate one block per product and put each on that product's own page.
  4. A price that drifts out of date. When the price on the page changes, the markup must change with it. If your JSON-LD isn't generated from the same data as the page, update both together.
  5. A zero price for an item you don't sell online. Merchant listings need a price above zero. If shoppers can't buy on the page, leave the price empty; a page that shows customer ratings can still qualify for a product snippet.

How to test your Product markup

The panel beside the code says which of the two features the product qualifies for and what each still needs. Paste the code into the Schema Validator for the full report, and once the page is live, check its URL in Google's Rich Results Test.

Frequently Asked Questions

Why don't my product's stars show in search results?

Markup makes a page eligible, but Google decides whether to show a rich result and doesn't promise one. Check that the rating fields are filled in, that the same rating is visible on the page, and that Google has crawled the page since you added the code.

Can I add shipping costs and a return policy?

Yes: tick Merchant Listing and the form writes them into the offer. If your store's standard policies are already in its Organization markup (the Organization generator has an Online Store option), fill these in only for products that differ. When both exist, Google uses the product's own return policy.

Is there a template to start from?

Yes. Open Templates and choose E-commerce Product, or Online Store Product for a merchant listing with shipping and returns. Each fills the form with an example to overwrite field by field.

Other schema generators