JSON-LD Validator

Validate JSON-LD structured data: find syntax errors, missing @context or @type, and missing recommended properties for common schema types.

Tool

Was this tool useful?

About this tool

About JSON-LD Validator

Paste a JSON-LD block, or the HTML of a whole page, and this validator checks the JSON syntax and the most important properties for Article, Product, FAQPage, BreadcrumbList, Organization, LocalBusiness, Event, Recipe and more.

How it works

Checks: valid JSON, @context is schema.org, @type present, and required/recommended properties for each type (based on Google Search Central documentation).

Example

A Product without offers, review or aggregateRating is flagged, because Google needs at least one of them for a product rich result.

How to use this tool

  1. Paste JSON-LD or page HTML containing <script type="application/ld+json"> blocks.
  2. Click Validate.
  3. Fix any errors and warnings, then confirm with Google’s Rich Results Test.

Frequently asked questions

Is this the same as Google’s Rich Results Test?

It checks the same common rules quickly in your browser, but Google’s own test is the final word. Use both.

Is my code sent anywhere?

No. Validation runs in your browser.

Will using the JSON-LD Validator improve my rankings?

The JSON-LD Validator helps you get the technical details right, which removes problems that can hold a page back. Rankings still depend mostly on helpful content, links and user experience, so use it as part of a wider SEO plan.