Product Schema Generator
Turn product details into valid Product JSON-LD, with the offer block built correctly and missing required fields named rather than guessed.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Product Schema Generator does
Use this product schema generator to turn product details into valid Product JSON-LD, with the offer block built correctly and missing required fields named rather than guessed. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for marking up a product page so the price and stock state can appear in search results. More utilities in this area are collected on FreeToolStation.org.
How to use it
- Write one field per line: name, price, priceCurrency, availability.
- Add image, sku and brand if the page shows them.
- Paste the output into the head of the product page, unchanged.
How it works
Product markup is what puts a price, an availability state and sometimes a review snippet into a search result. The type itself is simple — a name and an Offer carry most of the weight — but the Offer is where almost every implementation goes wrong. Price and priceCurrency belong inside the Offer, not on the Product, and availability is a schema.org URL rather than a word: "InStock" has to become https://schema.org/InStock, which this tool does for you whichever form you type.
Everything you see in the output came from a line you wrote. Nothing is defaulted. That matters more here than for most types, because Google checks Product markup against the page it sits on and treats a mismatch as a reason to distrust your structured data generally — a price in the markup that is not the price on the page is worse than omitting the price. If a required field is missing the tool names it in a comment at the top rather than inventing one.
Ratings are deliberately absent from this generator. aggregateRating and review are legitimate properties, but they are only legitimate when the reviews exist and are shown on the same page, and a generator that offers to fill them in invites exactly the markup that gets a site a manual action. If you have real reviews on the page, the Review schema generator produces that block separately.
When to use it
- Marking up a product page so the price and stock state can appear in search results.
- Checking the shape of an Offer block before handing it to a developer.
- Producing markup for a store platform that does not emit structured data itself.
- Learning which properties a Product actually needs, by seeing what the tool reports as missing.
Common mistakes to avoid
- Putting price on the Product instead of inside the Offer. It belongs to the Offer.
- Writing availability as "in stock" rather than a schema.org value. The tool normalises InStock, OutOfStock, PreOrder and the rest, but the value has to be one of them.
- Marking up a price that differs from the one rendered on the page. Google compares the two.
- Adding aggregateRating for reviews that are not shown on the page. That is the single most common cause of a structured-data manual action.
Frequently asked questions
Which fields are required?
name, plus a valid Offer with price and priceCurrency, are what Google needs to show a rich result. image and description are strongly recommended. The tool lists anything required that you have not supplied.
How do I write availability?
Use the schema.org term: InStock, OutOfStock, PreOrder, BackOrder, Discontinued, LimitedAvailability, SoldOut or InStoreOnly. The tool prefixes it with https://schema.org/ for you.
Can I add reviews here?
Not from this tool. Review and aggregateRating only belong on a page that actually displays those reviews, so they are generated separately and deliberately.
Does this guarantee a rich result?
No. Valid markup makes a rich result possible; whether one is shown is Google's decision and depends on the page, the query and your site overall. No tool can promise otherwise.