Product Schema Generator

Fill in the product, offer, and optional rating details and get Product JSON-LD ready to paste. Empty fields are omitted, and the validation list flags anything that would block price or star rich results.

UPC, EAN, or ISBN. Helps Google match the product in Shopping.

     

    Where to paste this

    Paste the whole block, script tags included, into the head or body of the product page it describes. One block per page, on the page itself, not on category or search pages. After publishing, run the URL through Google's Rich Results Test to confirm the Product type is detected and the offer parses.

    What makes price and star snippets appear

    • Image and offer are the gatekeepers. Google's product snippet needs at least one image plus an offer with price and currency. Miss either and you get nothing.
    • Availability uses schema.org URLs. The generator writes the full https://schema.org/InStock form for you, the bare word is invalid.
    • Stars need aggregateRating with both numbers. A ratingValue between 1 and 5 and a reviewCount above zero, both backed by reviews that actually exist on the page.
    • Identifiers help matching. SKU and GTIN are optional for rich results but let Google connect your page to the right product entity in Shopping.

    Keep the markup honest

    Everything in this block must match what a visitor sees on the page: the same price, the same stock status, the same rating. Schema that disagrees with the visible page is the fastest route to losing rich results, so wire the markup to the same data source as the page template rather than hand-editing it after price changes.

    Frequently asked questions

    Do I need reviews to get star ratings in results?

    Yes, and they have to be real. Stars come from aggregateRating markup backed by actual reviews collected on your site. Fabricating a rating or inflating the review count violates Google's structured data policies and is a common cause of manual actions that strip rich results from the whole site.

    Product vs Offer vs AggregateOffer, which do I use?

    Product describes the item, Offer describes one price for it, which is what this generator builds and what most product pages need. AggregateOffer is for a price range, for example when multiple sellers or variants put the same product at different prices, and it carries lowPrice and highPrice instead of a single price.

    Does Product schema get me into Google Shopping?

    It gets you into free organic product results. Valid Product markup with price and availability makes your page eligible for product snippets and the organic shopping tab. Paid Shopping ads are separate and require a Merchant Center account and a product feed.

    My price changed but the schema still shows the old one. Does it matter?

    Yes. Google compares the marked-up price against the visible page price, and a mismatch gets the rich result suppressed or, repeated at scale, treated as misleading markup. Generate the schema from the same source of truth as the displayed price so they can never drift apart.