Product schema generator

Answer five questions about one product. Copy Product schema with the offer, shipping, returns and identifiers that AI shopping tools read.

Five questions

Sample answers are filled in.

1. What is the product?
2. Where does it live?
3. What does it cost?
4. How does it ship?
5. Returns and reviews

Paste this into the product page template

  

    Every value must match what the page shows. On Shopify and most platforms, the theme fills these from your product data, so fix the data rather than hard-coding the numbers.

    How the product schema generator works

    The generator writes one Product in JSON-LD, the format Google recommends for structured data.1 It includes an Offer with price, currency, stock and condition, plus shipping details and a returns policy.

    Shipping and returns matter more than they used to. Google reads both for merchant listings.2 AI shopping tools compare stores on the same facts. The checks under the code show what's still missing.

    Use it to check what your theme outputs, or to fix a product template. Then run the page through the AI shopping readiness checker. Why this matters is in the AI for ecommerce guide.

    Questions people ask

    Where do I put product schema?

    In the product page template, so every product gets its own. On Shopify, WooCommerce and most platforms, the theme or an app fills it from your product data.

    Do I need a GTIN?

    Use one if the product has a barcode. GTINs let Google and AI tools match your product to the same item elsewhere. Your own products can use an MPN or SKU instead.

    Can I add reviews to the schema?

    Only reviews that visitors can see on the page. Marking up hidden or invented reviews breaks Google's rules and can cost you rich results.

    Is anything sent to a server?

    No. The code is written in your browser and nothing is stored or sent.

    Sources

    1. "Introduction to structured data markup in Google Search," Google Search Central. developers.google.com
    2. "Merchant listing (Product, Offer) structured data," Google Search Central. developers.google.com

    Where to next

    AI shopping readiness checker

    Test a live product page.

    Check a product page

    How to use AI in ecommerce

    The six steps to a store AI can sell.

    Read the guide

    Product data for AI shopping

    The fields AI shopping tools read.

    Read the definition
    Book a 20-minute call