XBKit·Shopify / SEO

JSON-LD Product Schema Generator

Create structured data markup for your products. Enables Google rich results — price, availability, reviews.

Product Details
JSON-LD Script
Fill in product name and price to generate structured data.

Paste this inside your page's <head> or <body>. In Shopify, add it to product.liquid or use a script tag in the theme. Validate with Google's Rich Results Test.

How to Use

  1. 1

    Fill in your product details

    Enter the product name, description, price, currency, availability status, and brand.

  2. 2

    Add optional fields

    Include SKU, GTIN (barcode), review count, and aggregate rating to unlock additional rich result types.

  3. 3

    Copy the generated JSON-LD

    The tool generates a complete <script type="application/ld+json"> block ready to paste into your HTML.

  4. 4

    Paste into your product page

    Add the script block inside the <head> or <body> of your product page HTML. Test it with Google's Rich Results Test tool.

Frequently Asked Questions

What is JSON-LD and why do I need it?

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for structured data markup. Adding Product schema to your pages can unlock rich results in Google Search — displaying price, availability, and star ratings directly in search snippets, which increases click-through rates.

Does structured data improve SEO rankings?

Structured data is not a direct ranking factor, but it can improve visibility through rich results. Rich snippets stand out in search results and typically achieve higher click-through rates than plain blue links, which signals quality to Google over time.

Where should I add the JSON-LD code?

Add the <script type='application/ld+json'> block anywhere in the <head> or <body> of your product page. Most Shopify themes support this via the product.liquid template. You can also use Shopify apps to add schema without editing theme code.

How do I test if my structured data is working?

Use Google's Rich Results Test (search.google.com/test/rich-results) to validate your JSON-LD. Paste your page URL or the code directly. Google will show any errors and preview how rich results might appear.

Related Tools