Magento Services | Certified Magento 2 & Hyvä Development Agency
🔧 Free SEO Tool

Schema Markup Generator

Generate valid JSON-LD structured data for Magento 2, Shopify, and WordPress — instantly. Enable Google rich results with one click.

✓ Product Schema ✓ FAQ Schema ✓ BreadcrumbList ✓ Organization ✓ Article ✓ LocalBusiness

Select Schema Type

Fill in Fields
Generated Code
How to Install
Product name is required
Price is required
Product URL is required
JSON-LD Output — Ready to Copy
✏️
Fill in the required fields firstGo to the "Fill in Fields" tab, complete the starred (*) fields, then your JSON-LD will appear here.
Test your schema with Google's Rich Results Test or Schema.org Validator

Choose your platform to see installation instructions:

Magento 2
Shopify
WordPress
Plain HTML
1
Copy the generated JSON-LD code above.
2
In your Magento 2 theme, open or create app/design/frontend/Vendor/Theme/Magento_Theme/layout/default_head_blocks.xml
3
Add: <block class="Magento\Framework\View\Element\Template" name="schema.jsonld" template="Magento_Theme::schema.phtml"/> inside the <head> element.
4
Create app/design/frontend/Vendor/Theme/Magento_Theme/templates/schema.phtml and paste the script tag with your JSON-LD inside.
5
Run bin/magento cache:flush — then test with Google's Rich Results Test.
1
Copy the generated JSON-LD code above.
2
In Shopify Admin go to Online Store → Themes → Edit Code.
3
Open theme.liquid. Paste the script tag just before the closing </head> tag.
4
For product pages, use product.liquid instead and use Liquid variables like {{ product.title }} to make it dynamic.
5
Save and test with the Google Rich Results Test tool.
1
Copy the generated JSON-LD code above.
2
In your child theme's functions.php, add the schema via wp_head action hook.
3
Alternatively, paste directly into the page/post using a Custom HTML block in the Gutenberg editor.
4
For WooCommerce products, add to woocommerce/single-product.php in your child theme for dynamic values.
5
Save and test with Google's Rich Results Test. Use Yoast SEO or RankMath as an alternative for automated schema.
1
Copy the generated JSON-LD code above.
2
Paste it inside the <head> section of your HTML page — anywhere before </head>.
3
The <script type="application/ld+json"> tag is invisible to users and only read by search engines.
4
You can place multiple JSON-LD blocks on the same page — one for Organization, one for BreadcrumbList, etc.
5
Test your implementation at search.google.com/test/rich-results

Schema Markup Gives You Rich Results in Google — Free

Schema markup (structured data) is JSON-LD code that tells search engines exactly what your content means. Google uses it to display rich results — star ratings, FAQs, prices, and breadcrumbs — directly in search. Pages with rich results get up to 30% higher click-through rates.

🛍️

Product Schema

Show price, availability, and star ratings directly in Google search results.

FAQ Schema

Expand your search result with Q&A dropdowns — doubles your SERP real estate.

🗂️

BreadcrumbList

Show your site structure under the page title in search results.

🏢

Organization

Build brand trust in Google's Knowledge Panel with logo, contact, and social links.

📰

Article Schema

Mark up blog posts with author, date, and image for better indexing.

📍

LocalBusiness

Show address, hours, and ratings in local search and Google Maps.

Schema Markup for Magento 2

Magento 2 stores benefit enormously from structured data. Product schema enables star ratings and pricing in Google Shopping and organic results. BreadcrumbList schema shows category paths. The Hyvä theme makes adding JSON-LD straightforward via layout XML. Our team adds full schema markup as part of every Magento 2 SEO project.

Schema Markup for Shopify

Shopify includes basic product schema by default, but it is often incomplete — missing review aggregation, correct availability values, or brand information. Custom JSON-LD added to theme.liquid gives you full control over all schema properties and enables richer results than Shopify's built-in implementation.

Schema Markup for WordPress & WooCommerce

WordPress sites can add schema via functions.php hooks, custom page templates, or plugins like Yoast SEO and RankMath. WooCommerce product pages benefit from Product, Offer, and AggregateRating schema. For maximum control and performance, hand-coded JSON-LD is more efficient than plugin-generated markup.

Free Tools to Grow Your eCommerce Store

Used by Magento 2, Shopify & WordPress merchants worldwide. No signup. No limits.