Schema Markup Validator — Validate JSON-LD and Check Rich Results Eligibility
Paste your JSON-LD or enter a live URL to validate schema markup — check required fields, date formats, and whether your markup qualifies for Google rich results. Free, no signup.
What Does This Validator Check?
Schema markup validation has three distinct levels, and most tools only cover one or two of them. This tool covers all three.
JSON and JSON-LD syntax
The most basic level: is the markup valid JSON? Is @context set to schema.org? Is @type present? A single misplaced comma or missing bracket makes the entire block invisible to search engines — the most common mistake for developers writing JSON-LD by hand.
Schema.org compliance
Does the markup use real schema.org types and properties? Is Article a valid type? Is headline a valid Article property? Schema.org has 800+ types and thousands of properties — this layer checks that what you've written corresponds to real vocabulary.
Google rich result requirements
The strictest layer. Google's requirements are more specific than schema.org's general spec. For Product to show a price in the SERP, offers with price and priceCurrency are required — schema.org doesn't mandate this, but Google does. This validator checks Google's documented requirements for each of the 16 most common rich result types.
Google's Structured Data Testing Tool History
For years, the Google Structured Data Testing Tool (SDTT) was the standard for validating schema markup. In 2020, Google retired it in favour of the Rich Results Test, which only validates schema types that trigger Google-specific search features — not the full schema.org vocabulary.
After community pushback, Google migrated the legacy SDTT to Schema.org, where it now lives as the Schema Markup Validator (validator.schema.org). This official tool checks syntax and schema.org compliance but does not explain which fields are required for rich results, does not flag deprecated types, and does not provide fix guidance.
The Rich Results Test checks live-page rich result eligibility but requires a deployed URL and does not work with raw JSON-LD. It also executes JavaScript, which means it tests the rendered page rather than the static HTML — useful but different from static validation.
This tool fills the gap between the two official options: it validates raw JSON-LD without requiring a live URL, checks Google's rich result requirements (not just schema.org spec), explains what's wrong and how to fix it, and flags deprecated types that no longer produce rich results.
Common Structured Data Errors
Invalid JSON syntax
The most common error. A trailing comma after the last property, an unescaped quote inside a string value, or a mismatched bracket makes the entire JSON-LD block invalid. Search engines silently ignore malformed JSON — there is no visible error on your page, just missing rich results.
Relative URLs
Properties like image, url, and sameAs must use absolute URLs starting with https://. A relative path like /images/photo.jpg is valid HTML but invalid in structured data — platforms and crawlers cannot resolve it without the domain context.
Invalid date format
Schema.org dates must be ISO 8601 format: YYYY-MM-DD for dates, or a full datetime string like 2026-05-28T10:00:00Z. Writing 'May 28, 2026' or '28/05/2026' will fail validation.
Missing required fields
Each schema type has specific required fields for Google rich results. Product requires name and offers (with price and priceCurrency). Article requires nothing by schema.org spec, but Google recommends headline, author, and datePublished for Top Stories eligibility. These requirements are not always obvious from the schema.org documentation.
Deprecated types
FAQ rich results were deprecated by Google in May 2026; HowTo rich results were deprecated in September 2023. The markup is still valid JSON-LD but produces no visual SERP feature in Google. Many tutorials and templates still reference these types without noting the deprecation.
Frequently Asked Questions
What is the difference between this and Google's Rich Results Test?
Does passing this validator guarantee rich results in Google?
My markup validated here but Google's Rich Results Test shows errors. Why?
Can I validate RDFa and Microdata, not just JSON-LD?
What is a json-ld validator and how does it differ from a schema validator?
Need to create or fix schema markup?
Use the Schema Markup Generator to build valid JSON-LD for 16 types — Article, Product, FAQ, LocalBusiness, Event, and more. Then come back here to validate it.
Open Schema Markup Generator →