Structured data

Schema Generator

Fill in the fields for a common schema type and copy the JSON-LD. Paste it into your page head so search engines and AI answers can read your content cleanly. Nothing you enter leaves your browser.

JSON-LD output

Test the result in Google's Rich Results Test after you add it to a live page.

How Structured Data Affects Your SEO

Structured data is code that labels what your content is, such as an article, an FAQ, a product, or a breadcrumb trail. Search engines read it to understand a page with less guessing, and they use it to build rich results like star ratings, FAQ drop-downs, and breadcrumb links. Those richer listings take up more space and earn more clicks, so schema markup rarely lifts rankings directly, yet it often lifts traffic by making your result stand out. AI answers lean on it too, since clean JSON-LD gives an assistant a labeled fact it can quote and attribute.

The safest format is JSON-LD, the script block this tool produces, which Google recommends and which sits in your head without touching the visible page. Two rules keep you out of trouble. Mark up only what the page actually shows, because schema that claims a review or price the reader cannot see can trigger a manual penalty. And avoid duplicate markup, since a theme and a plugin both describing the same product create conflicting data that Google may ignore. Always confirm the output in Google's Rich Results Test on a live URL.

How to Add JSON-LD on Shopify, WordPress, and Custom Sites

Shopify

Most Shopify themes already output Product and Organization schema through theme.liquid, so check your page source before you add more. If the theme markup is missing fields or you need FAQ or Article schema for content pages, paste this tool's JSON-LD into the relevant template or a custom Liquid block. Watch for schema apps that inject a second Product block, since two competing Product schemas on one page is a common cause of missing rich results.

WordPress

Yoast and Rank Math build a connected schema graph for your pages automatically, which covers Article, Breadcrumb, and Organization for most sites. Add this tool's output only for types your plugin does not handle, such as a hand-built HowTo or a specific FAQ, and place it so it does not duplicate the plugin's graph. If you see two of the same type in testing, disable one source.

Custom sites

Add the JSON-LD script to the head of each page, generated from the same data that renders the visible content so the two never drift apart. Use one block per type, keep URLs absolute, and validate every template with the Rich Results Test before you ship. For a blog, Article plus Breadcrumb plus a real FAQ section covers most of what earns rich results.

Pick the type that matches the page, fill the fields here, and copy the block. Structured data works best as a layer on top of a clear, well-written page, not as a substitute for one.

Which Schema Types Matter Most for SEO

You do not need every schema type, just the ones that match your pages. Article suits blog posts and news, and it pairs well with a clear author and date. FAQ markup adds an expandable question block to your result and feeds the exact question-and-answer pairs that AI answers like to quote, so it is one of the highest-value types for content pages. Breadcrumb markup turns your URL path into a tidy trail in the result, which helps both readers and crawlers see your structure. Product schema drives the price, availability, and review stars that shape a shopper's click on an ecommerce listing.

Match the type to intent. A recipe, a how-to, a local business, and an event each have their own schema that can earn a richer result when the page genuinely offers that content. Adding a type the page does not support, or marking up content a visitor cannot see, is against Google's guidelines and can cost you the rich result entirely. Start with the one type that fits, confirm it, then layer a second only if the page truly warrants it.

Common Structured Data Mistakes to Avoid

The most frequent error is duplicate markup, where a theme and a plugin both describe the same page and leave two competing blocks. Pick one source per type. The second is invalid or incomplete JSON, where a missing comma or an empty required field makes Google skip the whole block, which is why testing every template in the Rich Results Test matters. The third is stale data, such as a price or availability in the markup that no longer matches the page, which erodes trust and can trigger a manual action.

Keep the markup honest and in sync with the visible page, generate it from the same content that renders on screen, and validate before you ship. Used this way, structured data is a low-risk, high-value layer that helps search engines and AI systems read your pages correctly and present them more prominently.

How to Test and Track Your Structured Data

Never trust markup you have not validated. Paste the finished JSON-LD or the live URL into Google's Rich Results Test to confirm it parses and qualifies for a rich result, and use the Schema Markup Validator for types Google does not preview. Both catch the small errors, a missing required field or a stray comma, that make Google skip the whole block. Test one page per template rather than every page, since pages built from the same template share the same markup.

After the markup is live, track it in Search Console. The Enhancements reports list your FAQ, Product, Breadcrumb, and other valid items, along with any errors or warnings that appear as Google recrawls. A rise in valid items usually lines up with richer listings and more clicks, while a spike in errors points you straight to the template that broke. Re-validate whenever you change a template or add a type, and keep the markup matched to what the page actually shows so a redesign never leaves your structured data describing content that is no longer there.

Site search

Find research and resources

Type at least two characters to search.