Product Schema Generator
Build Product JSON-LD with price, stock, GTIN checks, shipping, returns, reviews and variants.
Price and stock
Shipping and returns
Ratings and a review
Use only real reviews shown on the page. Google ignores ratings a business writes about itself.
Variants
How a product result can look
Google decides which details to show. Markup makes them eligible, not guaranteed.
How to use the product schema generator
Fill in the product details and the JSON-LD builds as you type. The checks catch errors before Google does.
- Add the name, description, images and brand.
- Enter the SKU and GTIN. The tool checks the barcode digit.
- Set the price, currency and stock status. Add a was price for a sale.
- Open Shipping and returns, and Ratings, if you show them on the page.
- Copy the code into the head of the product page.
Selling sizes or colours? Switch to Product with variants. Add one line per variant and the tool builds a ProductGroup.
What is product schema?
Product schema is structured data that describes an item for sale. It tells search engines the name, price, stock, reviews and delivery terms in a fixed format.
With it, a page can show richer results, such as price, rating stars and delivery details. It also helps Google match your page to shopping searches.
The properties that matter
| Property | Why it matters |
|---|---|
| name and image | Needed for nearly every product result |
| offers | Price, currency and availability |
| gtin, mpn or sku | Helps Google match the exact product |
| brand | Separates your item from similar ones |
| aggregateRating and review | Can add stars, if the reviews are on the page |
| shippingDetails and hasMerchantReturnPolicy | Can add delivery and returns to results |
GTIN check digits
A GTIN is the number under a barcode: 8, 12, 13 or 14 digits. The last digit is a check digit worked out from the others.
One wrong digit points to a different product, or to none. The tool tests the check digit and tells you the correct one.
Sale prices and variants
For a sale, add the old price as a was price. The tool marks it as a strikethrough price, next to the current price.
For variants, each size or colour becomes its own Product inside a ProductGroup. Each one keeps its own SKU, price and link, while sharing the name and brand.
Rules that keep you safe
- The price, stock and reviews in the markup must match what visitors see.
- Do not mark up reviews you wrote yourself, or reviews from another site.
- Use a plain number for the price, with no currency sign.
- Update the markup when prices change, or use your platform to do it.
Why this product schema generator is different
Many product schema markup generator tools allow one image, skip shipping and ignore variants. This one covers what modern merchant listings use.
- Several images, brand, SKU, GTIN and MPN.
- GTIN check digit validation.
- Sale prices, shipping times and return policies.
- ProductGroup variants for sizes and colours.
- A preview of the result and checks on every field.
Test the result with the JSON-LD Validator. For other page types, use the Schema Markup Generator.
Private by design
The product schema generator runs in your browser. Nothing you type or paste is sent to a server, and there is no sign-up.
Your last settings are saved on this device only. The tool is ready when you come back.
Frequently asked questions
What is product schema?
Structured data that describes a product for sale, including its price, stock, reviews and delivery terms.
Where does product schema go?
In the head or body of the product page, as a JSON-LD script.
Do I need a GTIN?
Add one if the product has a barcode. Handmade or custom items can skip it.
How do I show a sale price?
Enter the old price as the was price. The tool adds it as a strikethrough price.
How do I mark up sizes and colours?
Switch to Product with variants and add one line per variant. The tool builds a ProductGroup.
Can I add my own star rating?
Only if real customer reviews appear on the page. Do not mark up reviews you wrote.
Why is my price flagged?
The price must be a plain number, such as 39.00. Put the currency in its own field.
Is this generator free?
Yes. There is no sign-up and no limit.
Last reviewed 2026-11-30 · How we build and check our tools