Schema Markup Validator

Home › SEO Tools › Schema Markup Validator
✅

Schema Markup Validator

Check your JSON-LD structured data for valid syntax and common missing fields.

How the Schema Markup Validator Works

This tool checks whether your structured data (JSON-LD schema) is written correctly, both as valid JSON and against the fields that search engines typically expect for common content types like Article, Product, FAQPage, and LocalBusiness.

How this tool checks your code

Paste your schema code, with or without its surrounding script tags. The tool parses it as JSON, checks for required fields like @context and @type, and runs a few type-specific checks such as making sure a Product has pricing information or an Article has an author.

Common schema mistakes

  • Forgetting the @context field, without it, search engines cannot interpret the data as schema.org markup.
  • Describing content that is not actually visible on the page.
  • Missing required fields for a given type, such as a price for a Product or a headline for an Article.
  • Invalid JSON syntax, a stray comma or missing bracket will break the entire block.

How to read your results

The validator separates problems that stop your markup from working from suggestions that make it more complete. A syntax error, such as a missing comma or an unclosed bracket, invalidates the whole block, so fix those first. After that, add any missing fields the tool reports for your content type, for example a price for a Product or an author for an Article.

Frequent JSON-LD errors

  • A trailing comma after the last item in a list or object.
  • Curly quotation marks pasted from Word or a design app instead of straight quotes.
  • Unescaped double quotes inside a text value.
  • A missing @context or @type at the top of the block.
  • Dates written in a format other than the ISO style, for example 2026-10-20.

Why valid markup may still show no rich results

Passing validation means the code is correct, not that Google will show a rich result. Google also looks at whether the page meets its content guidelines, whether the markup matches visible content and whether the feature is available for your type of site. For a final check use Google’s Rich Results Test and the Search Console enhancements reports.

Frequently asked questions

Do I include the script tags when I paste?

You can paste with or without the surrounding script tags. The tool handles both.

What is the difference between an error and a warning?

Errors break the markup or miss required fields. Warnings point to optional fields that can improve your result.

Does the validator store my code?

No. It runs in your browser.

Need to create markup first? Use the Schema Markup Generator or the FAQ Schema Generator.