Free Schema.org Snippet Generator
Generate ready-to-use JSON-LD structured data for your e-commerce store. The same Schema.org markup powers Google rich results, UCP agent discovery, and ACP product feeds for ChatGPT.
What Schema.org Markup Does This Generate?
This tool generates two essential types of Schema.org structured data for e-commerce stores: return policy markup and shipping details markup. These JSON-LD snippets help Google display rich results and enable AI shopping agents to communicate your policies to customers.
MerchantReturnPolicy Templates
30-Day Free Returns
Full refund within 30 days, free return shipping included
14-Day Free Returns
Full refund within 14 days, free return shipping included
30-Day Paid Returns
Full refund within 30 days, buyer pays return shipping
No Returns
Final sale, no returns accepted on any items
OfferShippingDetails Templates
US Standard Shipping
Continental US delivery in 5-7 business days with flat rate
US Free Shipping
Free standard shipping to all US addresses
US Express Shipping
Express 1-3 business day delivery within the US
International Shipping
Worldwide delivery with configurable rates and transit times
Why Schema.org Matters for UCP and ACP
AI shopping agents like ChatGPT, Google AI Mode, and Microsoft Copilot rely on structured data to understand your store. Without Schema.org markup, these agents cannot accurately communicate your return policies or shipping options to customers.
- Google Rich Results: Return policy badges and shipping info appear directly in search listings
- AI Agent Compatibility: Agents parse structured data to answer customer questions about policies
- Higher Click-Through Rates: Enhanced search listings attract more clicks than plain results
- Reduced Support Tickets: Clear policy information reduces customer confusion before purchase
- ACP Product Feeds: ACP (ChatGPT) product feeds require similar structured data — titles, prices, GTINs, and images. Good Schema.org markup prepares you for both UCP and ACP
How to Add JSON-LD to Your Store
Adding JSON-LD structured data is straightforward. Copy the generated snippet and paste it into the <head> tag of your store pages, or use your platform's built-in structured data field.
Select Return Policy
Choose the return policy template that matches your store: 30-day free returns, 14-day free returns, 30-day paid returns, or no returns.
Select Shipping Details
Pick the shipping template for your fulfillment: US standard, US free, US express, or international shipping with custom rates.
Generate Snippets
Click generate to produce valid JSON-LD markup ready for your pages. Review the output to confirm it matches your actual policies.
Copy and Paste
Copy the <script type="application/ld+json"> block and paste it into your store's HTML head section or CMS structured data field.
Platform-Specific Installation
Each e-commerce platform has a different way to add JSON-LD markup. Here is where to paste your generated snippets on popular platforms:
- Shopify: Edit
theme.liquidand paste the snippet inside the<head>tag, or use the Shopify Admin under Online Store > Themes > Edit Code - WooCommerce: Add to
header.phpin your theme, or use a plugin like Rank Math or Yoast SEO to manage structured data - Magento: Add to your theme's
default_head_blocks.xmllayout file or use a structured data extension - Wix: Go to Settings > Custom Code and add the snippet to the Head section
- Squarespace: Go to Settings > Advanced > Code Injection and paste in the Header field
- BigCommerce: Edit the
header.htmltemplate in Storefront > Script Manager - Custom Sites: Paste the snippet directly into your HTML
<head>tag on every product page
Check Your AI Commerce Readiness
Schema.org markup is one piece of the puzzle. Validate your full UCP profile to ensure AI agents can transact with your store.
Validate Your UCP ProfileMore AI Commerce Tools
Frequently Asked Questions
What is Schema.org JSON-LD and why does my store need it?
Schema.org JSON-LD is a structured data format that helps search engines and AI agents understand your store policies. By adding JSON-LD snippets for return policies and shipping details, you enable Google rich results, improve SEO, and make your store compatible with AI shopping agents that rely on structured data to complete purchases.
What types of Schema.org markup does this generator create?
This generator creates two types of Schema.org markup: MerchantReturnPolicy (covering return windows, refund methods, and return shipping costs) and OfferShippingDetails (covering shipping destinations, delivery times, and shipping rates). These are the structured data types most important for e-commerce AI commerce readiness.
How do I add JSON-LD snippets to my store?
Copy the generated JSON-LD snippet and paste it into the <head> section of your store pages. For Shopify, add it to theme.liquid. For WooCommerce, add it to header.php or use a plugin like Rank Math. For custom sites, place the <script type="application/ld+json"> block in your HTML head. The snippet works on any platform that supports HTML editing.
Does Schema.org markup improve my Google search rankings?
Schema.org markup does not directly boost rankings, but it enables Google rich results such as return policy badges and shipping info in product listings. These enhanced results increase click-through rates, which can indirectly improve your search performance. Google also uses structured data to better understand your content.
How does Schema.org markup relate to UCP, ACP, and AI commerce?
While UCP profiles tell AI agents how to transact with your store, Schema.org markup tells them about your policies and products. AI shopping agents use MerchantReturnPolicy to communicate return terms and OfferShippingDetails to show delivery options. ACP (ChatGPT) product feeds also require structured product data (titles, prices, GTINs) that closely mirrors Schema.org Product markup. Good structured data prepares you for both UCP and ACP.
Can I use multiple return policy or shipping snippets on one page?
Yes. You can include multiple JSON-LD snippets on a single page. For example, if different products have different return policies or shipping options, generate a snippet for each and include them all. Search engines and AI agents will parse each script block independently.
Need More Structured Data?
Get access to advanced Schema.org templates, bulk generation, continuous monitoring, and priority support with a UCPtools subscription.
View Pricing Plans