Schema Markup Validator

What is schema markup?

Schema markup is structured data added to a web page's HTML to help search engines understand its content. It uses vocabulary from Schema.org — a collaborative project by Google, Microsoft, Yahoo, and Yandex — to describe entities like articles, products, events, recipes, local businesses, and people. Well-implemented schema markup can unlock rich results in Google Search, which appear more prominently than standard links and have higher click-through rates.

Rich results test and schema validation

Google's official tool for checking structured data is the Rich Results Test at search.google.com/test/rich-results. It checks whether a page's schema is eligible for specific rich result types and shows any errors. Use this schema validator to quickly check what JSON-LD is present on any page and whether it parses cleanly — then use the Rich Results Test to confirm eligibility for specific rich result features.

Both tools check JSON-LD. If this validator finds parse errors, the Rich Results Test will also fail. Fix JSON syntax errors first, then validate against Google's requirements for each schema type.

JSON-LD vs. Microdata vs. RDFa

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for schema markup. It is placed in a <script type="application/ld+json"> block in the <head> or <body> and requires no changes to visible HTML. Microdata and RDFa embed attributes directly in HTML elements — valid but harder to maintain. JSON-LD is strongly preferred for new implementations.

Why structured data matters for SEO

Correct schema markup can enable rich results in Google Search — enhanced listings that include star ratings, FAQ dropdowns, breadcrumbs, event dates, product pricing, and more. Rich snippets (the visual enhancements shown in search results) are only available when Google can parse the correct schema type for that content. Schema markup does not directly improve rankings, but rich results significantly improve click-through rates.

Common schema types

Frequently asked questions

How do I test my schema markup?

Use this validator to check that JSON-LD is present and parses cleanly — no syntax errors, valid JSON structure. Then use Google's Rich Results Test to check eligibility for specific rich result types. For existing pages already indexed, Google Search Console's Rich Results report shows which pages have valid schema and any errors Google found during crawling.

What are rich snippets?

Rich snippets (now called rich results by Google) are enhanced search result listings that show additional information beyond the standard title, URL, and description. Examples: star ratings for products and reviews, FAQ dropdowns, event dates, recipe cooking times, breadcrumb navigation, and job posting details. They require correctly implemented schema markup of the matching type.

Does schema markup improve SEO rankings?

Schema markup is not a direct ranking factor. Google has confirmed it does not use structured data as a ranking signal. However, rich results (enabled by schema) significantly improve click-through rates — and higher CTR can indirectly improve rankings by sending positive engagement signals.

What is the difference between schema.org and JSON-LD?

Schema.org is the vocabulary — the definitions of types (Product, Article, etc.) and their properties (name, price, author). JSON-LD is the serialization format — the way schema.org vocabulary is embedded in a page. JSON-LD uses JSON syntax inside a <script type="application/ld+json"> block.