Product Schema Generator
Build Product JSON-LD schema with price, currency, availability and brand. Copy valid code that makes your products eligible for rich results.
// Your schema code will appear here after you click Generate.
Runs in your browser — nothing is uploaded.
Product Schema Generator
Product schema gives Google your price, currency and stock status in a readable format, so your listing can show price and availability directly in search results. Enter the same details your product page shows and copy the generated JSON-LD.
How to use
- Enter the product name and description as they appear on the product page.
- Add the main product image URL and brand.
- Fill in SKU or other identifiers if you use them.
- Enter the current price, currency and availability — exactly as a buyer sees them.
- Set the price-valid-until date if the price is an offer.
- Generate, copy, and paste the code onto that product's page.
Tips
- Update the schema whenever the price or stock changes — stale prices in results destroy trust and can be flagged.
- One Product schema per product page, describing that page's product only.
- Keep the currency in ISO format (USD, PKR, EUR) — the dropdown handles this for you.
Frequently asked questions
What does Product schema show in Google?
It can add price, currency and availability (for example "In stock") to your search result, making it stand out from plain listings.
Must the price match my page?
Yes — exactly. A different price in schema versus page is misleading and against Google's guidelines.
What availability values are allowed?
InStock, OutOfStock, PreOrder and BackOrder are the common ones offered in the dropdown.
Do I need a GTIN or SKU?
No, they are optional, but unique identifiers help Google match your product to its catalogue.
Which currencies are supported?
All ISO 4217 codes — pick from the dropdown or type your own three-letter code.
Is this generator free?
Yes, free with no sign-up, running in your browser.
Can I use this for digital products?
Yes — downloads, ebooks and software are products too. Set availability to InStock and skip physical-only fields you do not need.
What if my price changes daily?
Then update the schema daily, or leave Product schema off until prices stabilise — wrong prices are worse than none.
Where does the code go?
On the product page itself, in the head or before </body>.
Why is there no star-rating field?
Because ratings may only be marked up from real reviews collected on your own site. This generator will not help create ratings that do not exist.