How to Test Structured Data: Three Tools, Three Questions

Each structured data tool answers a different question. Here's how to test markup in three layers, before launch, after launch and across the whole site, and why you should test templates, not pages.

Pixel-art magnifying glass held over a report, for checking the schema markup a site sends to search engines.

To test structured data, use three tools for three questions. The Schema Markup Validator checks that your markup is valid schema.org. Google's Rich Results Test checks whether a page can get a Google rich result. Search Console's rich result reports show what breaks across the whole site. Test before launch, after launch and every week.

Most teams test the wrong way. They paste one URL into one tool, see a green tick and move on. Then a theme update breaks the price on 900 product pages, and nobody notices for a month.

The fix is to test templates, not pages, and to test at three points in time. This guide covers what each tool does and doesn't check, a testing workflow you can run in an afternoon, the errors that matter, and how to catch breaks before Google does.

Key takeaways

  • Three tools, three questions. Valid schema, eligible for Google, and healthy across the site are different checks.
  • Test templates, not pages. Markup comes from templates, so one test per template covers thousands of pages.
  • Test the rendered page. Check what the server sends and what Google renders, not what you meant to ship.
  • A pass is not a promise. Valid markup makes a page eligible, never certain.
  • Watch the reports weekly. Search Console is where template breaks show up first.

What does testing structured data actually check?

Schema markup is code that describes a page in a format machines can read. It's usually a block of JSON in the page, called JSON-LD. It tells a search engine that a page is a product with a price, a recipe with a cook time or an article with an author.

Testing checks three different things, and people mix them up:

  • Is it valid? The code parses, and the types and properties exist in the schema.org vocabulary.
  • Is it eligible? It meets Google's rules for a specific rich result, with every required property in place.
  • Is it healthy at scale? Every page built from the same template still outputs it correctly after Google crawls it.

Google's general structured data guidelines add a fourth check no tool can run for you. Don't mark up content that readers can't see on the page. Markup that breaks these rules can lead to a manual action, which removes a page's eligibility for rich results.

Which tool answers which question?

Here's the map. Each tool has a clear job, and a clear blind spot.

Tool Question it answers What it misses
Schema Markup Validator Is this valid schema.org? Google's rules for rich results
Rich Results Test Can this page get a Google rich result? Types Google doesn't support for rich results
URL Inspection in Search Console What did Google find on the live URL? Every other URL on the site
Rich result status reports Which items are broken across the site? Pages Google hasn't crawled yet

The Schema Markup Validator

Google's old Structured Data Testing Tool began life in 2010 as the Rich Snippets Testing Tool. In May 2021, schema.org announced the Schema Markup Validator as its successor, hosted for schema.org by Google.

It checks JSON-LD, RDFa and Microdata against the schema.org vocabulary. It flags odd combinations of types and properties. The announcement is clear that it doesn't check your markup against the needs of any one service. So it's the right tool for types Google doesn't show as rich results, like Organization.

Google's Rich Results Test

The Rich Results Test checks a URL or a pasted snippet. It reports which Google rich result types it finds, with errors and warnings for each. It tests as a smartphone by default, and it reads the rendered page, so markup added by JavaScript shows up.

A few limits matter. It only covers the rich result types Google supports. It can't reach pages behind a password or a firewall, and robots.txt rules can block it. Its share links and test history last about 90 days. And Google says plainly that passing the test doesn't guarantee a rich result.

Search Console's rich result reports

The rich result status reports show valid and invalid items across your site, over time. An item is one piece of markup, like one Product, not one page. An invalid item has at least one critical issue, which blocks the rich result. Non-critical issues only limit how it can appear.

The reports show a sample, not every item. Example tables stop at 1,000 rows. To check one specific URL, use URL Inspection. The Google Search Console guide covers the rest of the tool.

How do you test structured data step by step?

Here's the workflow I'd run on any site. It follows the life of a template, from code to crawl.

Flow from the Schema Markup Validator to the Rich Results Test on code and on the live URL, then URL Inspection and weekly reports.Flow from the Schema Markup Validator to the Rich Results Test on code and on the live URL, then URL Inspection and weekly reports.
Each tool checks a different version of the page at a different time. Run them in this order for every template.

Before launch: test the code

Paste the JSON-LD into the Schema Markup Validator to catch syntax and vocabulary errors. Then paste it into the Rich Results Test with the Code option. Fix every error before the template ships.

If your staging environment sits behind a password, the Rich Results Test can't reach it. Copy the rendered HTML from your browser instead. Remove any comments inside the JSON-LD, too. Google's help page says the test ignores them, but they can cause errors in real use.

After launch: test the live URL

Run the Rich Results Test on one live URL per template. Then open URL Inspection in Search Console for the same URL. The first shows what a fresh fetch finds. The second shows what Google saw on its last crawl.

Also check the raw HTML the server sends. If markup only exists after JavaScript runs, some crawlers won't see it. A quick terminal check:

curl -s https://www.example.com/products/blue-mug \
  | grep -o '"@type": *"[A-Za-z]*"' | sort | uniq -c

You want each type once. Zero means the markup is added by scripts. Two of the same type usually means a plugin and a template both write it.

Every week: watch the reports

Open each rich result report in Search Console. Look for a jump in invalid items. A sudden jump almost always means a template or plugin change, not a content problem.

What should you do when the tools disagree?

They will, and it's usually not a bug. Each tool looks at a different version of the page, at a different time.

What you see Likely cause What to do
Validator passes, Rich Results Test finds nothing The type has no Google rich result Nothing, if the type is right for the page
Rich Results Test passes, report shows errors The report reflects an older crawl, or other pages Inspect an example URL from the report
Live test passes, URL Inspection shows old markup Google hasn't recrawled since your fix Request indexing, then wait
Code test passes, URL test fails Something on the live page changes the markup Compare the rendered HTML to your snippet
Report item count looks too low The reports show a sample Use URL Inspection on key URLs

Some gaps come from Google itself. Google's Search documentation updates log shows features being retired. In June 2025, it added phase-out notices to several types, including course info, estimated salary and vehicle listing. Practice problem markup was set to leave Search Console reporting and the Rich Results Test starting January 2026. And in May 2026, Google stopped showing the FAQ rich result, then removed its docs in June 2026.

So if a type stops showing up in the Rich Results Test, check that log first. The FAQ schema guide covers what that markup still does.

Worked example: testing templates instead of pages

Here's a made-up store to show the math. The numbers are assumptions, so plug in yours.

Testing every product page means 1,200 tests per release, while three samples for each of six templates means 18.Testing every product page means 1,200 tests per release, while three samples for each of six templates means 18.
Worked example from this guide: markup comes from templates, so 18 sample tests cover what 1,200 page tests would.

The store has 1,200 product pages. All of them come from one product template. It also has collection pages, blog posts and a few landing pages, on six templates in all.

Testing page by page would mean 1,200 product tests alone. Nobody does that, so nobody tests. Testing by template means three sample URLs for each of the six templates. That's 18 tests, and it takes about an hour.

Now say a theme update drops the price from the Product markup. The Search Console report shows 1,150 invalid items within a few weeks. The other items on the template haven't been crawled again yet.

Every one of those items comes from one template. So it's one fix, not 1,150. The Shopify technical SEO guide shows how a theme and an app can both write Product markup on a store.

Here's the GTM engineering version. Keep a list of sample URLs, three per template. After each deploy, a small script fetches each one and counts the JSON-LD types. If a count changes, it posts an alert to your team chat. That's a few lines of code, and it catches breaks weeks before the report does.

What are the common structured data testing mistakes?

Testing one page and calling it done. One product page passing tells you little about the template's edge cases. Test a product with variants, one on sale and one out of stock.

Trusting the code test alone. The live page can differ from your snippet. Plugins, apps and tag managers all change what ships.

Reading a missing type as an error. If the Rich Results Test doesn't list Organization, that's normal. Use the validator for types without a Google rich result.

Marking up what readers can't see. Ratings, prices and questions must match the visible page. That's a guideline breach, not a test failure, so no tool will flag it.

Ignoring warnings forever. Non-critical issues don't block a rich result, but they can limit how it looks. Clear them when you're in the template anyway.

Never checking after a release. Most breaks come from a theme update, a plugin or a migration. Add the template checks to your release list. The technical SEO audit guide covers the rest of that list.

What should you do this week?

For FAQ blocks, the FAQ schema generator writes clean JSON-LD you can test right away. For which types are worth adding at all, see schema markup for AI search and the SERP features they can earn. Our AI search visibility work and SEO and AEO service include this testing as part of technical SEO upkeep.

My take: test the system, not the snippet

A green tick on one URL feels like proof. It isn't. It proves one page, at one moment, in one tool.

Structured data is a system. Templates write it, plugins change it and Google crawls it on its own schedule. So test it like a system: by template, at three points in time, with a weekly look at the reports. That's an hour of setup, and it means you hear about breaks before your rich results quietly disappear.

FAQ

What is the best tool to test structured data?

There isn't one best tool, because each answers a different question. The Schema Markup Validator checks that your markup is valid schema.org. Google's Rich Results Test checks whether a page can get a Google rich result. Search Console's rich result reports show errors across the whole site after Google crawls it. Use all three, in that order.

What happened to Google's Structured Data Testing Tool?

Google retired it and handed the general checks to schema.org. In May 2021, schema.org announced the Schema Markup Validator as its successor, hosted for schema.org by Google. Google-specific checks moved to the Rich Results Test. If an old guide tells you to use the Structured Data Testing Tool, use those two instead.

Why doesn't the Rich Results Test show my schema?

The Rich Results Test only reports the types Google supports for rich results. Organization, BlogPosting on its own, or a deprecated type may not appear at all, even when the markup is valid. Check it in the Schema Markup Validator instead. If a supported type is missing, check that the page is public and not blocked by robots.txt.

Does passing the Rich Results Test guarantee a rich result?

No. Google says passing the test doesn't guarantee a result will appear as previewed. Its structured data guidelines add that Google doesn't promise to show markup at all. Valid markup makes a page eligible. Content quality, the query and Google's own choices decide whether the rich result shows up.

How do I test structured data before a page goes live?

Paste the code into the Rich Results Test or the Schema Markup Validator. Both accept a snippet, not just a URL. For a staging site behind a password, the Rich Results Test can't reach the page without a tunnel. So copy the rendered HTML from your browser and test that. Then test the live URL again after launch.

Can I still test FAQ schema in the Rich Results Test?

Google stopped showing the FAQ rich result in May 2026 and removed its documentation in June 2026. So don't expect a Google rich result from it. If you keep FAQ markup for other reasons, check it with the Schema Markup Validator, and make sure it matches the questions shown on the page.

More like this

Startup? Let's talk.

20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.