Product Schema Generator

Builds Product markup with offers, availability, price validity, ratings, reviews and a GTIN. The GTIN check digit, the currency code and the price format are validated before output.

Use the tool

Why this tool exists

A wrong GTIN or a price like "€89,99" makes product markup useless for shopping features. The tool validates the GTIN against the GS1 check digit rule (8, 12, 13 or 14 digits) and names the right property, checks the currency against the ISO 4217 list known to your browser, and requires a plain decimal number for price.

Availability accepts the short names from Google's documentation and expands them to full Schema.org URLs. The output is checked against both the product snippet and the merchant listing requirements, because they differ.

How to use it

  1. Fill name, image, price, currency and availability.
  2. Add a GTIN, brand and sku if you have them.
  3. Add ratingValue and ratingCount only if real reviews are shown on the page.
  4. Copy the script tag onto the product page.

Frequently asked questions

How is the GTIN checked?

With the GS1 mod 10 rule on the last digit. The tool picks gtin8, gtin12, gtin13 or gtin14 by length.

Which availability values are valid?

BackOrder, Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, PreSale and SoldOut, as listed by Google.

Do I need ratings?

Google product snippets need one of offers, aggregateRating or review. Ratings must be genuine and visible.

Why is price a plain number?

Both Google and Schema.org expect digits with a point. Currency goes in priceCurrency.