Home / Articles

Article

How to test structured data: two tools, two jobs

By Nick Quick, with the Be In GEO lab Published: Dec 1, 2026 Last checked: Nov 12, 2026

Be In GEO article card: "How to test structured data: two tools, two jobs", with curly braces around lines of structured data.

Short answer

Test structured data with Google’s Rich Results Test first, to see which Google rich results your page can get, and use the Schema Markup Validator for general schema.org checks without Google-specific rules. (Google Search Central) After launch, keep an eye on the rich result status reports in Search Console, because markup can break after deployment. (Google Search Central)

That’s the whole system. The rest of this page is which tool to open when, and how to read what it tells you.

Which tool answers which question

QuestionTool
Can this page get a Google rich result?Rich Results Test (Google Search Central)
Is this valid schema.org, any type?Schema Markup Validator (Google Search Central)
Is it still working on the live site?Rich result status reports in Search Console (Google Search Central)
Has Google found the markup on this URL?URL Inspection tool (Google Search Central)

The Schema Markup Validator is what became of the old Structured Data Testing Tool. Google removed its Google-specific checks and moved it to a new domain. (Google Search Central) Google’s 2020 announcement said the refocused tool would check syntax and compliance with schema.org standards, and would no longer check for Google Search rich result types. (Google Search Central)

Google’s own example: for Event markup aimed at Google’s event features, the Rich Results Test and Search Console are the best tools. (Google Search Central) For a type Google doesn’t use, such as ExercisePlan, use the validator. (Google Search Central)

Running the Rich Results Test

  1. Pick URL or Code. You can submit a full URL, or choose Code and paste a snippet, then rerun as often as you like. (Google Search Console Help)
  2. Pick a device. The default user agent is smartphone. (Google Search Console Help)
  3. Read the status line. It reports things like valid items detected, items with warnings, invalid items, or URL cannot be crawled. (Google Search Console Help)
  4. Open each item. If there are errors or warnings, expand the item and click the description to jump to that spot in the code. (Google Search Console Help)

The test supports JSON-LD, RDFa and Microdata. (Google Search Console Help) Google’s general advice is to use whichever is easiest to maintain, which in most cases is JSON-LD. (Google Search Central)

Watch out

Watch out: the test ignores comments inside JSON-LD, but that isn’t supported by the JSON-LD standard, so remove comments before you publish. (Google Search Console Help)

Why a URL test fails

The tool fetches your page as Google-InspectionTool, not as you, so a robots.txt rule can block it. (Google Search Console Help) If Google is prevented from crawling the page, for example by robots.txt or a noindex directive, the page can’t be tested with this tool. (Google Search Console Help)

Other common blockers, per Google:

ErrorWhat it means
Behind a firewall or passwordResources must be reachable by an anonymous user (Google Search Console Help)
Invalid server SSL certificateGoogle won’t test an HTTPS URL unless the certificate is valid (Google Search Console Help)
Robots.txt unreachableGoogle won’t crawl a site whose robots.txt is present but not reachable (Google Search Console Help)
Invalid JSON documentThe JSON had a top-level syntax error (Google Search Console Help)
Incorrect value typeFor example, a string where a number or array was expected (Google Search Console Help)

Note

Note: for a page on your own machine or behind a firewall, Google suggests testing it by exposing a tunnel, or just paste the code instead. (Google Search Console Help)

After launch: Search Console

Google says to check structured data with the Rich Results Test during development, and with the Rich result status reports after deployment, because pages can break later through templating or serving issues. (Google Search Central) To confirm Google found the markup on a specific page, use the URL Inspection tool. (Google Search Central)

Our read: a template change months later is the usual culprit. Put a reminder in your calendar to look at the status reports after any theme or plugin update.

Valid isn’t the same as shown

Passing a test means your markup is eligible. It doesn’t mean Google will show the feature. Google’s AI optimization guide adds that structured data isn’t required for its generative AI search features, though it’s still a good idea because it helps with rich results eligibility. (Google Search Central)

Key takeaway

What to do next

  1. Paste your markup into the Rich Results Test using Code before publishing. (Google Search Console Help)
  2. Fix errors first, then decide whether warnings matter for the feature you want. (Google Search Console Help)
  3. For types Google doesn’t use, run the Schema Markup Validator. (Google Search Central)
  4. After launch, test the live URL and check URL Inspection. (Google Search Central)
  5. Review the rich result status reports after every template change. (Google Search Central)

Get the worksheet

Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.

Read how Be In GEO works for how we source and check our pages.

FAQ

Is the Structured Data Testing Tool gone?

Its job moved. Google migrated it to the Schema Markup Validator without Google-specific checks. (Google Search Central)

Do I need structured data to appear in AI Overviews?

Google says structured data isn’t required for generative AI search, and there’s no special schema.org markup you need to add. (Google Search Central)

Sources