Alle artikelen
19 november 2026

Structured data validation: a testing workflow before you ship, 2026

Test structured data in three steps: Rich Results Test for Google eligibility, Schema Markup Validator for syntax, Search Console to monitor the live site.

Three colleagues working at laptops in a bright office, a calm setting for testing structured data before launch

Structured data validation takes three tools in a fixed order. Test the snippet in the Rich Results Test before deploy, check generic syntax in the Schema Markup Validator, then watch the live site in Search Console. Each tool answers a different question, and a pass in one does not replace the others.

This is the workflow we use before a page with schema markup goes live, as of November 2026. It assumes your JSON-LD is already written. If you are still choosing types, start with our guide to dispensary schema markup with LocalBusiness and Store JSON-LD.

Before you start

You need three things: the markup itself, a staging URL that renders the page the way production will, and a list of the page types you are marking up (articles, products, FAQs, local business pages). Testing one page per type is enough for the first pass.

Which tool answers which question

The three tools overlap in what they read, but not in what they tell you.

  • Rich Results Test: answers "is this page eligible for a Google rich result?" It accepts a URL or a code snippet and supports JSON-LD, RDFa and Microdata, according to Google's Rich Results Test help.
  • Schema Markup Validator: answers "is this valid schema.org?" It checks syntax and compliance without Google-specific rules.
  • Search Console rich result reports: answer "what does Google see across the whole site over time?"

The split has a history worth knowing. In December 2020 Google announced it was "refocusing the Structured Data Testing Tool and migrating it to a new domain." The refocused tool checks schema.org syntax only. By August 2021 the Schema Markup Validator had stabilized and the old tool redirected to a landing page that helps you choose the right tool, per Google's Search Central Blog. If an old guide tells you to use the Structured Data Testing Tool, that advice is out of date.

Step-by-step

1. Test the snippet in the Rich Results Test

Paste the JSON-LD into the code tab before it ever reaches a template. The test lists which rich result types it found and any errors or suggestions. A typo caught here costs seconds. Caught after deploy, it costs a re-crawl.

2. Read errors versus warnings

Treat the two differently. Errors disqualify the page from a rich result. Warnings do not block eligibility. A missing optional image property, for example, can still produce a rich result, just without an image.

Fix every error. For each warning, decide: add the property if the data exists and is visible on the page, and leave it out if it does not. Do not invent a value to clear a warning.

3. Validate generic syntax in the Schema Markup Validator

Run the same snippet through the Schema Markup Validator. This step matters most for types Google does not turn into rich results, and for confirming that property names and nesting are valid schema.org. Google's own announcement used a type it does not consume, ExercisePlan, as the example of a case where the validator is the right tool.

If the Rich Results Test passes but the validator doesn't, a property is probably in the wrong place. Fix it anyway. Other consumers of schema.org read the same markup.

4. Test the rendered staging URL

A snippet that passes can still fail on the page. Frameworks sometimes render JSON-LD differently from how you wrote it: escaped characters, a block injected twice, or data that only appears after client-side code runs. Run the staging URL through the Rich Results Test and compare what it found with what you pasted in step 1.

Then check the markup against the page itself. Google's general guidelines say structured data must be "a true representation of the page content" and that you should not mark up content that is not visible to readers. Open the page, read the markup next to it, and confirm every price, rating, question and answer in the JSON-LD appears on screen.

5. Ship, then watch Search Console rich result reports

After deploy, the rich result reports under Enhancements show valid and invalid items over time. Product snippets and merchant listings sit under Shopping instead. A report for a type appears only when Google finds valid markup for a supported type, so an empty menu is not a bug.

Four details change how you read them, according to Search Console's rich result report overview:

  • Counts reflect items, not pages. One page can hold several items.
  • The reports show a sample of detected items, and issue example tables are limited to 1,000 rows.
  • An invalid item has at least one critical issue preventing a rich result.
  • After you fix an issue you can start validation and track its status.

For one specific URL that is missing from a report, use the URL Inspection tool rather than waiting.

If you run a wider technical review, fold these checks into the same pass as the rest of your AEO audit checklist.

Common mistakes

Marking up what the page does not show. Google's guidelines state that "violating a quality guideline can prevent syntactically correct structured data from being displayed as a rich result." Valid syntax is not the same as eligible markup. Reviews are the usual trap, and we cover the details in self-serving review schema. The general structured data guidelines also warn against fake reviews and misleading content.

Skipping required properties. Items missing required properties are not eligible for rich results. The Rich Results Test flags these as errors, which is one more reason to treat errors as blockers.

Treating a pass as a promise. Google states that structured data enables a feature but does not guarantee it will appear. A clean test means you are eligible. It says nothing about whether Google will show the result for any given query.

Ignoring manual actions. A page with a structured data issue can receive a manual action, which removes eligibility for rich results. Google notes that a manual action does not affect how the page ranks in web search. Check the Manual Actions report in Search Console after launch, not only the rich result reports.

Reading item counts as page counts. If a report shows 40 valid items, that does not mean 40 pages. Compare against your sitemap before you draw conclusions.

Make the workflow repeatable

Run steps 1 to 4 on every release that touches templates, not only on new pages. A template change can break markup on hundreds of pages at once, and the first signal will be an invalid-item spike in Search Console days later. If you want this wired into your release process, our SEO and AEO work includes the checks described above, and you can reach us through the contact page.

Frequently asked questions

Which tool should I use to test structured data?

Use the Rich Results Test first for Google eligibility, then the Schema Markup Validator for generic schema.org syntax. After launch, use the Search Console rich result reports to monitor the live site. They answer different questions, so a pass in one is not a pass in all three.

Does a passing test guarantee a rich result?

No. Google states that structured data enables a feature but does not guarantee it will appear in search results. A clean test means the page is eligible, not that Google will show the result.

Are warnings a problem?

Warnings do not block eligibility, while errors do. A missing optional property such as an image can still produce a rich result without that element. Add the property only when the data is real and visible on the page.

What happened to the Structured Data Testing Tool?

Google refocused it on schema.org syntax in December 2020 and moved it to a new domain as the Schema Markup Validator. In August 2021 the old address was redirected to a landing page that helps you pick the right tool.