MentorMakers Login Sign up

Do More with MentorMakers

Free tools. Powerful features. Built for a smarter tomorrow.

  • 129 Free Tools
  • Most tools — no signup
  • Temporary files handled for processing
  • AI Assistant built in
  • Made in Pakistan 🇵🇰
Explore All Tools
SEO & Website Optimization Sep 25, 2026 · 2 min read

How to Test Your Structured Data

How to test structured data to confirm it's valid, which tools to use for each type of schema, and what to do when errors appear.

M By the Mentor Makers team
How to Test Your Structured Data

Adding schema to a page is only half the process — confirming it's valid and readable by Google is the other half. A single missing required field or a JSON syntax error can silently prevent rich results from appearing.

The Primary Tool: Google's Rich Results Test

URL: search.google.com/rich-results

Two options:

  1. URL test — enter a published page URL. Google fetches the page and reads its structured data.
  2. Code snippet — paste raw HTML or just the JSON-LD block. Useful for testing before publishing.

The test shows:

  • Which structured data types were found.
  • Whether they are valid (all required fields present, correct format).
  • Errors (schema won't work) and Warnings (optional fields missing, schema still works).
  • A preview of what rich results might look like.

Schema.org Validator

The secondary tool is validator.schema.org, which provides a stricter technical check. This is useful if the Rich Results Test passes but you want to confirm the schema matches the schema.org specification exactly.

Common Errors and Fixes

ErrorMeaningFix
Missing required fieldA required property isn't presentAdd the missing field
Invalid URLA URL field doesn't start with https://Correct the URL
Invalid valueA field has the wrong type (text where a number is expected)Correct the value
JSON syntax errorThe JSON block is malformedCheck for missing commas, brackets
Schema doesn't match visible contentFAQ answers in schema don't match page textAlign schema with visible content

Where to Get Help Fixing Errors

Use the generators to create clean schema from scratch rather than writing JSON manually — this eliminates most syntax errors:

For understanding what each schema type does, see what is schema markup? A beginner's guide.

When Rich Results Don't Appear After Valid Schema

Valid schema is a prerequisite for rich results — not a guarantee. Google makes its own decision about whether to show enhanced formats based on factors including page quality, content relevance and its assessment of whether the schema accurately represents the page content. If a page has valid schema but no rich results appear after a few weeks, consider whether the page content fully justifies the rich result type. For FAQs, this means genuinely useful questions with substantive answers. For breadcrumbs, it means the hierarchy is consistent with the site structure. The generators produce correctly structured code — FAQ Schema Generator, Breadcrumb Schema Generator, Local Business Schema Generator — and testing confirms validity. Showing the rich result from there is Google's decision.

#test structured data #rich results test #schema validation

Frequently Asked Questions

What is the Rich Results Test?

Google's free tool (search.google.com/rich-results) that checks whether a URL or code snippet has valid structured data and whether it's eligible for rich results in search.

Does passing the Rich Results Test guarantee rich results in search?

No. Google decides which pages to show rich results for based on multiple factors. Valid schema makes you eligible; it doesn't guarantee the feature appears.

Can I test schema on a page that isn't published yet?

Yes. The Rich Results Test has a "Code snippet" option where you can paste raw HTML to test it without publishing.

What do "Errors" vs "Warnings" mean in the test?

Errors mean the schema is invalid or missing required fields — rich results won't work. Warnings are about optional recommended fields that could improve the schema but don't prevent rich results.

Try it yourself

Do it in seconds Free

Every tool on MentorMakers is free — or just tell the AI Assistant what you need.

Browse all tools

0 Comments

Log in to comment

← Back to blog

Advertisement
Processing your file…
This can take a few seconds for larger files.
Bookmark this page
Press Ctrl+D for quick access next time