# Test with the Rich Results Test and Schema Markup Validator

- Check 15.21 · Schema.org structured data · Important
- Source: https://checklist-seo-geo.com/en/schemaorg-structured-data/test-rich-results-test-schema-markup-validator
- Test your structured data with the Rich Results Test and the Schema Markup Validator: which tool for which case, reading errors and a test log per template.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/schemaorg-structured-data/test-rich-results-test-schema-markup-validator.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Two complementary free tools validate structured data. Google's Rich Results Test tells you whether a page is eligible for the rich results Google supports, based on the rendered page. The Schema Markup Validator, maintained by schema.org, checks the whole schema.org vocabulary, without Google's specific requirements. Once the check is done, every marked-up template has been tested in both tools, without errors, and the results are recorded in a dated log.

## Why it matters

JSON-LD can be syntactically correct and still useless: a misspelled property, an unknown type, a field required by Google that is missing, a value in the wrong format. Nothing shows in the browser; only testing tools reveal it.

The two tools do not answer the same question:

| | Rich Results Test | Schema Markup Validator |
|---|---|---|
| Publisher | Google | Schema.org |
| Address | `search.google.com/test/rich-results` | `validator.schema.org` |
| Question | Is the page eligible for Google's rich results? | Does the markup follow the schema.org vocabulary? |
| Types covered | Only search features supported by Google | All schema.org types |
| Input | Public URL or code | URL or code |
| JavaScript | Page rendered by Google-InspectionTool | Processing not documented |
| Formats | JSON-LD, Microdata, RDFa | JSON-LD, Microdata, RDFa |

Google presents the Rich Results Test as the tool to start with, and the Schema Markup Validator as the generic validation tool, without Google-specific warnings. Neither checks truthfulness: a wrong but well-formed price passes without error. Google points this out in its guidelines: the tools detect most technical errors, not quality issues.

For GEO (Generative Engine Optimization), no generative engine publishes a markup testing tool. Markup that is valid according to schema.org is the best starting point for every automated reader, with no guarantee that it will be used.

## What it improves

- **Eligibility for rich results**: blocking errors are detected before Google reports them in Search Console.
- **Vocabulary quality**: properties and types that are valid for every reader, not just Google.
- **Turnaround**: an issue caught in staging costs less than an error report covering thousands of pages.
- **Traceability**: the test log serves as a reference after a redesign or a plugin change.
- **Rankings**: no direct effect.

## How to check

Take stock in twenty minutes:

1. List one URL per marked-up template: home page, article, product page, category, location page, author page.
2. Run each one through the Rich Results Test in URL mode.
3. Expected result: the summary shows valid items for each expected type, with no invalid items. Warnings about optional properties are acceptable if you do not have the data.
4. Run the same URLs through the Schema Markup Validator. Expected result: zero errors, and each expected entity appears with its properties.

If an expected type does not appear in either tool, the markup is not in the page, or it is injected by a script that did not run: see [check rendered structured data](https://checklist-seo-geo.com/en/javascript-html-rendering/check-rendered-structured-data).

## How to implement

### Before you start

Set up the test log, in a shared spreadsheet:

| Date | Template | URL tested | Tool | Result | Issues found | Action | Share link |
|---|---|---|---|---|---|---|---|
| 2026-11-25 | Product page | `/thes/sencha-bio/` | Rich Results Test | 2 valid types, 1 warning | `priceValidUntil` missing (optional) | None, data not available | Link from the Share button |
| 2026-11-25 | Product page | `/thes/sencha-bio/` | Schema Markup Validator | 0 errors | — | — | — |
| 2026-11-25 | Article | `/blog/choisir-the-vert/` | Rich Results Test | Invalid | `author.name` empty | Fix the author's public name | Link from the Share button |

Also test each template's edge cases: out-of-stock product, product with variants, article with several authors, page without an image.

### Step 1 — Test a URL with the Rich Results Test

1. Open the [Rich Results Test](https://search.google.com/test/rich-results), paste the full URL and run the test. The default user agent is smartphone; a menu lets you choose desktop, which is useful if the two versions differ.
2. Read the summary: number of valid items, items with warnings and invalid items, for each type of rich result detected.
3. Open each type, then each item: errors make the item ineligible, warnings flag recommended properties that are missing or badly filled. Clicking a property highlights the matching line in the rendered code.
4. Open "View tested page" to see the rendered HTML, the screenshot and the resources that could not be loaded. JSON-LD missing from the rendered HTML often comes from a blocked script.
5. Use the results preview when it is offered: it shows a possible appearance in search, on mobile or desktop.
6. Click "Share" and paste the link into the log. Google keeps test history and share links valid for about 90 days.

The test respects robots.txt: a page or resource blocked for Googlebot is also blocked for the tool, which accesses pages as Google-InspectionTool.

### Step 2 — Test code before going live

The Rich Results Test cannot read a local page (`localhost`) or a password-protected staging site. In these cases:

1. Get the page's rendered HTML, for example with `curl -s https://preprod.example.com/blog/article/ -u username` or by copying the DOM from the developer tools.
2. In the Rich Results Test, choose code input and paste the full HTML or just the JSON-LD block.
3. Fix and rerun: the tab lets you edit and retest as many times as needed.

Google recommends URL input as soon as the page is public: code input does not faithfully reproduce JavaScript processing. Also remove any comments from the JSON-LD: the tool ignores them, but they make the JSON invalid for other readers.

### Step 3 — Validate the vocabulary with the Schema Markup Validator

1. Open the [Schema Markup Validator](https://validator.schema.org/), choose URL input or code snippet input, then run the test.
2. On the left, the code; on the right, each detected entity, with its type and properties, plus the number of errors and warnings.
3. Expand each entity: check that the `@id` identifiers and the relationships (`publisher`, `author`, `isPartOf`) really connect the expected entities, and that no property is flagged as unknown for its type.

This is the only one of the two tools that checks types Google does not use for rich results: `WebSite` beyond the site name, `Service`, `Person` outside a profile page, or the relationships between entities described in [connect entities](https://checklist-seo-geo.com/en/schemaorg-structured-data/connect-entities). Since how it processes JavaScript is not documented, paste in the raw HTML obtained with `curl` when you want to test what bots read without rendering.

### Step 4 — Interpret the messages

Exact wording changes; here are the families of messages and how to handle them:

| Message (in substance) | Probable cause | Fix |
|---|---|---|
| Missing required field | Property required by Google is missing (`name`, `offers`, `itemListElement`…) | Add the property in the template; otherwise the item is ineligible |
| Missing recommended field | Optional property missing | Add it if you have the data; never make it up |
| Invalid value or object type | Text instead of an object, relative URL, badly formed quoted number | Use the type expected by the documentation |
| Invalid date format | Local date (`12/03/2026`) | ISO 8601: `2026-03-12T09:30:00+01:00` |
| Parsing error, missing comma or brace | Broken JSON | Serialize the JSON with the site's language, never by concatenating strings |
| Unknown property for this type (Schema Markup Validator) | Typo or a property from another type | Check the type's page on schema.org |
| No items detected | Markup missing from the rendered HTML, or type not supported by Google | Check the rendered HTML, then the Schema Markup Validator |

> **Good to know:** a valid result in the Rich Results Test makes the page eligible, it does not guarantee display. Google decides case by case, depending on the query and the device.

### Step 5 — Confirm what Google has indexed

Both tools test the page as it is now. To find out what Google has kept, open [URL Inspection](https://search.google.com/search-console?action=inspect) in Search Console: the enhancements section lists the structured data detected in the indexed version, and "Test live URL" runs the test again on the current version. Site-wide monitoring is covered in [monitor Search Console errors](https://checklist-seo-geo.com/en/schemaorg-structured-data/monitor-search-console-errors).

### With Screaming Frog or a crawler

To test hundreds of URLs, a crawler that validates structured data saves testing page by page. In Screaming Frog (paid version), enable JSON-LD, Microdata and RDFa extraction as well as schema.org and Google validation in the extraction configuration, then start the crawl: the Structured Data tab lists errors and warnings per URL. Keep the Rich Results Test to confirm a doubtful case: it is Google's reference tool.

### Without paid tools

The Rich Results Test, the Schema Markup Validator and URL Inspection are free. For a site with a few dozen templates, they are enough. To automate tests on every deployment, see [automate validation after each deployment](https://checklist-seo-geo.com/en/schemaorg-structured-data/automate-validation-after-each-deployment).

## Common mistakes

- **Testing a single page**: each template, and each special case of a template, produces different markup.
- **Testing the code instead of the URL** when the page is public: you validate your copy, not what Google fetches.
- **Relying on the Rich Results Test alone**: types Google does not use do not appear in it, and their errors go unnoticed.
- **Filling warnings with made-up values** to get a result without alerts.
- **Concluding that a valid result guarantees stars or the price in Google.**
- **Blocking resources in robots.txt**: scripts or APIs essential to rendering, which the tool then cannot load.
- **Forgetting to retest after an update** of the theme, an SEO plugin or an app.

## Frequently asked questions

### What is the difference between the Rich Results Test and the Schema Markup Validator?

Google's Rich Results Test tells you whether a page is eligible for the rich results Google supports, based on the rendered page, and flags properties that Google requires but are missing. The Schema Markup Validator, maintained by schema.org, checks the whole schema.org vocabulary, including types Google does not use, without any Google-specific requirement. Use both: they answer two different questions.

### What should I do with Rich Results Test warnings?

Rich Results Test warnings flag recommended properties that are missing or badly filled; they do not prevent eligibility. Add the property if you have the real data, for example a brand or a GTIN. If you do not have it, leave the warning: making up a value to clear it would make the markup misleading, which is far more serious than a warning.

### Can the Rich Results Test check a local or staging page?

No, the Rich Results Test cannot read a page on localhost or a password-protected staging site, because Google must reach it from the internet. Get the page's rendered HTML and paste it into the tool's code input, or test only the JSON-LD block. As soon as the page goes live, run the test again with the public URL, which faithfully reproduces Google's rendering.

### Does a valid result guarantee that a rich result will be shown?

No, a valid result only means that the page is eligible. Google decides whether to show a rich result depending on the query, the device and the perceived quality of the page, and may choose a plain display. The markup must also follow the quality guidelines, which the tools do not check: visible content, accurate data, authentic reviews.

## Resources

- [Search Console Help: Rich Results Test](https://support.google.com/webmasters/answer/7445569?hl=en)
- [Google Search Central: How structured data works](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data?hl=en)
- [Google Search Central: Test your structured data](https://developers.google.com/search/docs/appearance/structured-data?hl=en)
- [Schema.org: Schema Markup Validator](https://validator.schema.org/)
- [Google Search Central: General structured data guidelines](https://developers.google.com/search/docs/appearance/structured-data/sd-policies?hl=en)

Next steps: [monitor Search Console errors](https://checklist-seo-geo.com/en/schemaorg-structured-data/monitor-search-console-errors) and [automate validation after each deployment](https://checklist-seo-geo.com/en/schemaorg-structured-data/automate-validation-after-each-deployment).
