JSON-LD Validator

Validate JSON-LD structured data against Schema.org. Check syntax and structure for WebPage, FAQPage, and BreadcrumbList. Free online validator with clear error and warning messages. All validation runs locally in your browser.

How it works

What is JSON-LD?

JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding structured data using JSON. It is recommended by Google and other search engines for implementing schema markup on web pages. JSON-LD uses the Schema.org vocabulary to describe content in a way that search engines can understand, enabling rich results like FAQ snippets, breadcrumbs, and enhanced search listings.

How to Validate JSON-LD

Paste your JSON-LD into the input area and click Validate. The tool will first check for valid JSON syntax, then verify that required Schema.org properties are present. Errors indicate problems that must be fixed; warnings suggest improvements. The validator supports WebPage, FAQPage, and BreadcrumbList types commonly used for SEO.

Supported Schema.org Types

WebPage: Describes a web page. Requires @context and @type. Optional: name, description, mainEntity.

FAQPage: For FAQ content. Requires @context, @type, and mainEntity (ItemList with Question items containing acceptedAnswer).

BreadcrumbList: For navigation breadcrumbs. Requires @context, @type, and itemListElement (array of items with name and optionally item URL).

Examples

Example 1: Valid WebPage

{"@context":"https://schema.org","@type":"WebPage","name":"My Page","description":"A sample page"}

Example 2: Valid FAQPage

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is JSON-LD?","acceptedAnswer":{"@type":"Answer","text":"JSON-LD is a format for structured data."}}]}

Example 3: Valid BreadcrumbList

{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://example.com/"},{"@type":"ListItem","position":2,"name":"Tools"}]}

Frequently Asked Questions

What is JSON-LD?

JSON-LD is a format for embedding structured data in web pages using JSON. It helps search engines understand your content and can enable rich results in search.

Why validate structured data?

Invalid or malformed JSON-LD can prevent search engines from understanding your content. Validation helps catch syntax errors and missing required properties before deployment.

Which Schema.org types are supported?

This validator supports WebPage, FAQPage, and BreadcrumbList. These are among the most common types used for SEO and rich results.

How do I fix @context errors?

Ensure your JSON-LD includes "@context": "https://schema.org" at the root level. The @context tells search engines which vocabulary to use.

What if my type is not supported?

The validator will report the type as unsupported. You can still validate JSON syntax. Consider using Google's Rich Results Test for full Schema.org coverage.

Is my data sent to a server?

No. All validation runs entirely in your browser. Your JSON-LD never leaves your device.