Free Online Schema Markup Validator
Check JSON-LD structured data for errors and missing fields, and see which Google rich results it can qualify for.
Test your structured data
Fetch a live page, or paste its code
Paste the contents of a <script type="application/ld+json"> tag, or a whole page. It is checked in your browser.
How to use
Paste your JSON-LD or the page source, or open an HTML or JSON file, then choose Run test.
Read the verdict at the top: errors to fix, or valid with warnings.
Open each schema in the Detected list to see what to fix and the data it holds, and use Show in the code to find it.
Fix the markup and choose Run new test. When it is clean, run the live page through Google's Rich Results Test for the final word.
Why use this tool
Finds every schema
Reads script tags in a page, a list of objects or an @graph.
Plain-words errors
Invalid JSON with the line number, and a hint for curly quotes or trailing commas.
Type checks
Required and recommended fields for 15 common types, the same rules as the Schema Generator.
Value checks
ISO dates, full web addresses, plain-number prices and ratings on their scale.
Code and data views
Numbered code with problem schemas shaded, and a property and value table for each schema.
About this tool
The Schema Markup Validator checks JSON-LD structured data. Paste the JSON or the whole page source and run the test: it shows the JSON-LD it found as numbered code, lists every schema it detected with its errors and warnings, and checks each known type (article, FAQ, product, local business, event, recipe, video, job and more) for the fields Google needs. It also catches invalid JSON with the line, bad dates, relative addresses, prices with currency symbols and misspelled types, and says which Google results the markup can qualify for.
Frequently asked questions
No. It checks your markup against the requirements Google documents, in your browser. Google's own tool tests the live page and has the final say on what is shown.
Not yet. Browsers do not let one site read another site's page, so paste the page source or the JSON-LD instead.
Article, FAQ page, how-to, product, local business, organization, person, event, recipe, breadcrumbs, video, job posting, software app, website and course. Other types are checked for syntax only.
No. It makes the page eligible, and Google decides what to show. The markup must also match what visitors see on the page.
No, only JSON-LD, which is the format Google recommends. It tells you when it sees Microdata or RDFa instead.
The Schema Generator builds JSON-LD from a form and checks it as you type.