Validating structured data
The Schema Markup Validator checks markup against schema.org; Google's Rich Results Test checks only the features Google Search supports. How to use both, what Search Console adds, and why valid markup can still be ignored.
Type: IntermediateOn this page
Structured data can fail at three levels. The JSON may not parse. The JSON may parse but use the schema.org vocabulary wrongly. Or the markup may be valid schema.org that Google Search does not use, or will not use on that page. No single tool covers all three, which is why the two main validators give different answers for the same page.
{
"@context": "https://schema.org",
"@type": "techArticle",
"headline": "Installing Example Widgets",
"datePublished": "2026-11-18",
}The tools
| Tool | Run by | Checks | Use it for |
|---|---|---|---|
| Schema Markup Validator | schema.org | JSON-LD, Microdata and RDFa against the whole schema.org vocabulary, from a URL or a pasted snippet | Syntax errors and vocabulary mistakes, for any type |
| Rich Results Test | Only the structured data features Google Search supports, and their required and recommended properties | Whether a page is eligible for a Google rich result | |
| Search Console rich result reports | Markup Google found while crawling a verified site, grouped by feature, with errors and warnings per URL | Monitoring after a page is live | |
| URL Inspection in Search Console | The HTML Googlebot fetched for one URL, including markup added by JavaScript | Confirming that Google sees the markup the browser shows |
The split dates from 2020. On 15 December 2020 Google announced that its Structured Data Testing Tool would move to a new home serving the schema.org community, without the Google-specific checks, and pointed users to the Rich Results Test for those. Schema.org announced the Schema Markup Validator at validator.schema.org on 11 May 2021, and on 9 August 2021 Google redirected the old tool to a page that helps users choose between the two.
Checking a page before release
Make sure the JSON parses
Paste the contents of each script element into the Schema Markup Validator as a code snippet, or give it the page URL. A parse error stops everything else, so fix it first.
Check the vocabulary
In the same validator, confirm that every type and property is recognized. Unknown names usually mean a typo or wrong capitalization, since schema.org names are case-sensitive.
Check Google's features
Run the URL or code through the Rich Results Test. It lists the rich result types it detected and the required properties that are missing. A page with no supported type shows no detected items, even if the markup is valid.
Compare with what readers see
Read the markup against the visible page. Every name, date, price or rating in the JSON-LD should appear on the page itself.
Watch it after release
Once the page is crawled, check the Search Console rich result reports and use URL Inspection on any URL that reports errors.
Valid is not the same as used
Passing both validators does not make a page eligible for rich results. Google's general structured data guidelines add conditions that no syntax check can test:
- The structured data must be a true representation of the page content.
- Markup must not describe content that is not visible to readers of the page.
- Markup must not describe irrelevant or misleading content, such as fake reviews or content unrelated to the focus of the page.
- Items missing required properties are not eligible for rich results.
Google can apply a structured data manual action to a site that breaks these rules. Google says such an action removes eligibility for rich results but does not affect how the page ranks in web search. Even with correct markup, Google does not guarantee that structured data will show up in results.
Features that were narrowed or removed
Rich result types change, and a validator only reports what Google supports today. Two changes in 2023 show how far this can go:
| Markup | Change | Date |
|---|---|---|
| FAQPage | FAQ rich results limited to well-known, authoritative government and health websites. Other sites generally no longer see them. | Announced 8 August 2023 |
| HowTo | Shown on desktop only from August 2023, then no longer shown on desktop either from 13 September 2023. Google described the type as deprecated and scheduled its Search Console report and Rich Results Test support for removal 30 days later. | 8 August 2023 and 14 September 2023 |
FAQPage and HowTo remain valid schema.org types, so the Schema Markup Validator still accepts them, and other consumers may still read them. What changed is how Google Search displays them.
See also
- JSON-LD basics: @context, @type and @idHow schema.org structured data is written in JSON-LD 1.1: the script element that carries it, the four keywords most pages need, and the choice between nesting a node and referring to it by @id.
- Schema.org types for documentation sitesWhich schema.org types describe a documentation page and the site around it: TechArticle for the page, BreadcrumbList for its place in the hierarchy, WebSite and Organization for the site and its owner, and SoftwareSourceCode for code examples, with a complete JSON-LD block.
- Publishing JSON files: media type, encoding and parsingThe rules a published JSON file has to follow under RFC 8259, how to serve it over HTTP, and how to write, read, format and validate it with Python's json module without producing output that other parsers reject.
References
- Schema Markup Validator. schema.org validator.schema.org
- Rich Results Test. Google Search Console search.google.com
- An update on the Structured Data Testing Tool. Google Search Central Blog, 15 December 2020, with updates of 11 May and 9 August 2021 developers.google.com
- General structured data guidelines. Google Search Central developers.google.com
- Changes to HowTo and FAQ rich results. Google Search Central Blog, 8 August 2023, updated 14 September 2023 developers.google.com
- Introduction to structured data markup in Google Search. Google Search Central developers.google.com