Skip to content

Product schema generator. Rich-result eligible.

Dedicated Product schema generator. Fill the form on the left; the right panel renders rich-result-eligible JSON-LD with offers, aggregateRating, brand, and identifiers. Inline validator runs on every keystroke. No fetch, no log.

offer · price + availability
aggregateRating · only if real reviews exist
JSON-LD output · live

              
    Sources used by this generator

    Generation runs entirely in JavaScript on your device. No JSON is sent to any external service.

    Privacy: form runs in-browser only. Your inputs never leave the device.

    § · written guide

    How to use the Product Schema Generator

    This generator turns a short product form into Product structured data in JSON-LD, the format Google reads for product rich results. It builds the Product object with a brand, identifiers, an Offer with price and availability, and an optional AggregateRating, then checks the result as you type. Use it for a product page on a custom site or a theme that does not output Product schema already.

    Step by step

    1. Replace the example product

      The form opens filled in with an example crewneck so you can see a complete result. Overwrite every field with your own product, including Brand and GTIN, so no example value ends up on your page.

    2. Describe the product

      Fill in Product name, Description and Image URL(s). For several images, separate the full URLs with commas. Add Brand and the Canonical URL of the product page; the URL is also copied into the offer.

    3. Add identifiers

      Enter the SKU you use internally, plus a GTIN (the UPC, EAN or ISBN on the barcode) or an MPN from the manufacturer if you have one. Category is optional free text, such as Apparel > Tops > Sweatshirts.

    4. Set the offer

      Enter the Price as a plain number, such as 78.00, with no currency sign, and a three-letter Currency (ISO-4217) code such as USD. Pick Availability, which starts at InStock. Price valid until is optional.

    5. Add ratings only if they are real

      Fill in Rating value (0 to 5) and Review count only when the page shows real customer reviews. Leave either one empty or at 0 and the rating block is left out of the output.

    6. Copy the markup

      The JSON-LD output panel updates as you type. Press the green copy button to copy the code wrapped in a script tag, ready to paste into the page, or Copy JSON only for the bare object. The button reads Copied for a moment when it works.

    Reading the result

    • With the example values the status line reads All 10 checks pass. A tick is a pass, an amber triangle is a recommendation and a red cross is a missing or invalid required field.
    • Name, description, at least one image, price and currency are treated as required. Every image must start with http:// or https:// or the image check fails.
    • brand.name and GTIN or MPN only warn when missing. Clear both GTIN and MPN and the line changes to 1 warning · 9 pass.
    • The offers block only appears once both Price and Currency are filled in, so with Currency empty the offers.price check fails even when Price has a value. Availability is written as a full schema.org address, such as https://schema.org/InStock.
    • The rating block adds bestRating 5 and worstRating 0, so a Rating value of 4.7 is read as 4.7 out of 5.

    Tips and common mistakes

    • The prices, rating and availability in the markup must match what the page shows. Update the schema whenever the price or stock changes.
    • The tool checks the currency format and the rating range, but it does not check that a GTIN has the right number of digits. Copy it from the barcode or your product feed.
    • For a product with several variant prices, this form makes one Offer with a single price. Use the starting price that the page shows, or write an AggregateOffer by hand.
    • After you publish, test the live page in Google's Rich Results Test. The checks here cover the fields in this form, not every rule Google applies.

    Privacy and limits

    The JSON-LD is built in your browser and nothing you type is sent to any server. The copy buttons use your browser's clipboard. The tool saves nothing, so a new visit starts again from the example product. Keep a copy of your markup before you leave.

    Back to the tool

    § 02 · what Product schema does

    Two rich results. One schema.

    Product rich result. The classic, price, availability, and a star rating shown directly under the title in the SERP. Eligibility requires name, image, description, offers (price + priceCurrency), and either GTIN or MPN. The aggregateRating block is optional but adds the visible star count, which is what drives the CTR uplift. Studies routinely report 30-90% CTR lift on product pages with the rich result vs without.

    Merchant listing experience. The expanded format, Google Shopping organic listings (free since 2020), Knowledge Panel Shopping carousel, image-search overlays. Eligibility requires GTIN (Global Trade Item Number, UPC, EAN, ISBN, JAN), shipping cost in offers, and return-policy structured data. The standard Product rich result above is a strict subset; if your product has GTIN, set it and Google routes the page through the merchant pipeline automatically.

    Identifier hierarchy: GTIN beats MPN beats SKU. GTIN is globally unique across retailers, the same product sold by Amazon, Walmart, and your store should have the same GTIN. MPN is manufacturer-side. SKU is your internal stock-keeping unit. Including all three you have gives Google maximum signal to disambiguate your product from competitors.

    aggregateRating discipline. Self-serving aggregateRating without real visible reviews is prohibited by Google's structured-data policy and risks a manual-action that removes ALL rich results across the site. The rule: aggregateRating must reflect real reviews on the same page (or aggregated from those visible reviews). If you don't have reviews yet, leave the field empty rather than fabricate it. Build a review program first; add the schema when the visible reviews are real.

    availability values use the schema.org URL form: https://schema.org/InStock, /OutOfStock, /PreOrder, /BackOrder, /Discontinued, /SoldOut. The bare enum (just "InStock") is older and still works but the URL form is canonical per current schema.org spec.

    § 03 · questions

    Six questions users ask.

    What does Product schema unlock?

    The Google Product rich result: price + availability + star rating shown directly in the SERP. Studies consistently report a 30-90% CTR lift for product pages with the rich result vs without. The schema also feeds Google Shopping (free organic listings since 2020), Knowledge Panels, and AI shopping assistants. Without it, your product page ranks but doesn't get the visual badges that drive click-through.

    Are GTIN, SKU, and MPN really needed?

    GTIN (Global Trade Item Number, UPC, EAN, ISBN, etc.) is required for the merchant-listing rich result and strongly recommended for the standard Product rich result. MPN (Manufacturer Part Number) is the fallback when no GTIN exists. SKU is your internal stock-keeping unit and is always optional from Google's standpoint but useful for analytics tagging. Including all three gives Google maximum signal to disambiguate your product from competitors selling the same item.

    Can I include aggregateRating without real reviews?

    No. Google's structured-data spam policy prohibits self-serving aggregateRating that doesn't reflect real customer reviews on the page. The rating must come from reviews visible on the same page (or an aggregated rating computed from those visible reviews). Submitting fake or aggregated-from-elsewhere ratings risks a manual structured-data action that removes ALL rich results across the site. If you don't have reviews yet, leave the aggregateRating fields empty.

    What availability values are valid?

    Schema.org URL form: https://schema.org/InStock, OutOfStock, PreOrder, BackOrder, Discontinued, SoldOut. The generator outputs the URL form, which Google requires. Some older docs show the bare 'InStock' enum value, but the URL prefix is the canonical form per current schema.org spec.

    What about price and priceCurrency?

    Price must be a numeric string (no currency symbol, that's what priceCurrency is for). priceCurrency must be a 3-letter ISO-4217 code: USD, EUR, GBP, INR, etc. Decimals are allowed (49.99). For products with variant prices, use lowPrice and highPrice in an AggregateOffer instead of a single Offer; this generator covers the common single-price case.

    Does this tool log my product data?

    No. The form runs entirely in JavaScript on your device. Nothing is sent to Digital Heroes servers. No signup, no email, no analytics beacon includes the product data.

    Published · Last updated .

    Priya sent you a message Online now

    Talk to a Developer Now

    Share your name and email to reply.

    Reply