Product schema markup generator
Fill in one product and copy the JSON-LD for its page: price, stock, return policy and shipping, the facts shoppers ask assistants about. Nothing you type leaves your browser.
Your markup
Fill in a product to see its markup.
Google requires
Assistants also read
JSON-LD for the page
It writes markup for one product. To check a live page, use the product data checker.
What Product schema is
Product schema is a block of JSON-LD in a product page that states the product's facts in a fixed format: name, images, price, stock, brand, barcode, return policy and shipping. Google reads it to build product results, and shopping assistants read the same facts from your page instead of guessing them from the layout.
It sits in a <script type="application/ld+json"> tag. Shoppers never see it, so it has to match what the page shows: the same price, the same stock, the same policy.
What Google requires and recommends
- Required for a merchant listing
- Name, image, and price with its currency.
- Recommended
- Stock status, brand, GTIN or part number, description, SKU, condition, sale end date, return policy, shipping and ratings.
A product with only the required fields is valid. The recommended ones are what let a shopper, or an assistant, decide without opening the page.
Why return policy and shipping are in the tool
Shoppers ask an assistant "can I return it?" and "what does shipping cost?" before they pick a store. An assistant can only answer from what it can read, and most stores leave both out of their product markup. Many generators do too.
This one writes both. Under Returns you set the window, the country, the method and who pays. Under Shipping you set the price, where it ships and how many days it takes.
Keep it the same as your policy page
If your returns page says 30 days, the markup says 30. A page and its markup that disagree are worse than markup left out.
Our guide, return and shipping policy schema for WooCommerce stores, covers publishing the pages first and which of Google's two places to put the markup in.
Where to paste it
The block describes one product. A store needs the values to come from each product, so check what your theme already prints before you paste anything.
WooCommerce
WooCommerce already prints Product markup on every product page. Don't add a second Product block. Use the checklist to see what is missing, then add those fields to the existing markup with your SEO or schema plugin, or a small code snippet. The free Agent Ready Shops plugin audits your products and shows what is missing. WooCommerce SEO covers what core prints and what it leaves out.
Easy Digital Downloads
Run the product data checker on a download page first, to see whether your theme or SEO plugin prints Product markup. If it prints none, paste the block into that page with a header and footer scripts plugin. Turn on the digital switch.
Shopify
Many Shopify themes print Product markup from the product template. Open the theme code editor and look there before you add anything. To add fields, change that template so it fills each value from the product, with the returns and shipping set once for the store.
Test it before you rely on it
- Check the barcode on its own with the UPC and GTIN checker. The generator leaves out a GTIN with a wrong check digit.
- Once the markup is on a live page, run the product data checker on it to see what an assistant reads.
- Paste the page's address into Google's Rich Results Test to see whether Google reads the Product and its offer.
What it does not do
It does not fetch your page, publish anything or look up a product. It does not know your real price or stock, so it cannot tell you the numbers are right. The sale end date is dropped if it has passed, because Google ignores an offer whose price has expired.
See which products are missing these fields.
The audit is free, needs no account and runs on your own site. It scores your store 0 to 100 and ranks the three fixes that matter most.
Then read the product data checklist.
Questions
What is Product schema markup?
It is a block of JSON-LD on a product page that states the product's facts in a form a machine can read: name, image, price, stock, brand, barcode, return policy and shipping. Google reads it for product results, and shopping assistants read the same facts from your page.
Does the generator send my product details anywhere?
No. Everything you type stays in your browser. The page makes no requests with your product details, stores nothing and has no account.
Which fields does Google require?
For a merchant listing Google requires a name, an image, and a price with its currency. Stock status, brand, GTIN, description, return policy, shipping and ratings are recommended. The checklist beside the tool shows each one as you fill it in.
Do I need a GTIN?
Not for the markup to be valid, but you should add one if the product has one. A GTIN, or a brand with a manufacturer part number, lets Google and assistants tell your product apart from similar ones. A product you make yourself may have none.
Will this make an AI assistant recommend my products?
No one can promise that. Complete markup gives an assistant facts it can read without guessing, such as the price, whether you take returns and what shipping costs. Whether it recommends the product is up to the assistant.
Can I paste one block on every product?
No. The block describes one product, so the same block on another page would state the wrong name, price and image. For a store, the values must come from each product, through your theme or a schema plugin. Use the generator to see which fields to add.