Product schema generator
JSON-LD for the product page
Product markup with 7 properties and an offer at 129 USD.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trailhead 40L Waterproof Hiking Backpack",
"image": [
"https://www.example.com/images/trailhead-40-1x1.jpg",
"https://www.example.com/images/trailhead-40-4x3.jpg",
"https://www.example.com/images/trailhead-40-16x9.jpg"
],
"description": "A 40-litre hiking pack with a roll-top waterproof main compartment, a padded hip belt and a sleeve for a 3-litre water bladder.",
"brand": {
"@type": "Brand",
"name": "Trailhead"
},
"sku": "TH-40-GRN",
"gtin": "4006381333931",
"offers": {
"@type": "Offer",
"url": "https://www.example.com/packs/trailhead-40/",
"price": 129,
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
}
}
</script>- Note: Ratings and reviews are not part of this form. Add aggregateRating or review only for real reviews that visitors can read on this page.
- Note: Shipping and return policies are best set once for the whole shop in Organization markup, which Google recommends over repeating them on every product.
How to use it · free, no signup
How to use the Product Schema Generator
Fill in the product and its price to get Product JSON-LD for a shop page, with the GTIN’s check digit tested and every value checked against Google’s rules. Runs in your browser.
01
Describe the product
Name, images, description and brand, as the page shows them.
02
Add the identifiers
SKU and the GTIN from the barcode, if it has one.
03
Set the offer
Price as a number, currency as a code, availability and condition.
What a product page needs
Product markup tells Google what is on sale, for how much and whether it is in stock. For a page where people can buy, Google’s merchant listing documentation sets out what is required and what is recommended:
| Property | Status |
|---|---|
| name | Required |
| image | Required, at least one |
| offers: price above zero, priceCurrency | Required |
| description | Strongly recommended |
| brand, gtin, availability, itemCondition | Recommended |
The starting example fills in all of them for a hiking pack. Pages that review products rather than sell them use a different set, built around the review.
Prices, currencies and barcodes
The price is a number, without a currency sign or thousands separator: 1299.00, not £1,299.00. The currency goes in its own field as the three-letter ISO 4217 code, so £ becomes GBP. A GTIN, the number under the barcode, ends in a check digit worked out from the others; if one digit is mistyped, the check fails, and this page says so before Google does.
What is left out, and why
- Ratings and reviews. They may only describe real reviews that visitors can read on the page. Add aggregateRating or review only from those.
- Shipping and returns. Google recommends declaring them once for the whole shop in Organization markup, rather than on every product.
- Variants. A product sold in several sizes or colours can be marked up as a group; this form covers one product.
Checking and placing it
Put the script in the product page’s HTML and test the page with Google’s Rich Results Test. Every value should match what shoppers see: the same name, price and availability. For the shop-wide details, the Organization schema generator builds that markup, and the breadcrumb schema generator marks up the category path above the product.
Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.
Questions
What people ask about the Product Schema Generator
What does Google require in Product markup?
How should I write the price?
What is a GTIN?
Why is there no rating field?
Where do shipping and returns go?
Related tools
Breadcrumb Schema Generator
BreadcrumbList markup from a typed trail
Open itOrganization Schema Generator
Organization markup with logo, contacts and profiles
Open itSERP Preview Tool
See where a title and description will be cut
Open itMeta Tag Generator
Title, description, canonical and sharing tags in one block
Open itRobots.txt Generator
A clean robots.txt from the paths you want blocked
Open itRobots.txt Tester
Which rule allows or blocks a URL, and why
Open it