JSON-LD Validator
Validate JSON-LD structured data and catch issues.
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Validate JSON-LD",
"author": {
"@type": "Person",
"name": "Jane Doe"
},
"datePublished": "2026-01-15"
}Free JSON-LD validator. Paste your structured data to check that the JSON parses and that required keys like @context and @type are present, with clear issues and a formatted view. Runs in your browser.
What a JSON-LD validator checks
A JSON-LD validator parses your <script type="application/ld+json"> block and reports two kinds of problems: syntax errors (invalid JSON — trailing commas, unescaped quotes, unbalanced brackets) and schema issues (unknown types, missing required properties, wrong value formats). Since structured data only produces rich results when it's valid, validating before you ship saves you from silently broken markup.
How to use it in a workflow
- Paste your JSON-LD or the page URL into the validator.
- Fix any JSON syntax errors first — a single stray comma invalidates the whole block.
- Resolve missing required properties for your
@type(e.g.Productneedsname; a review star needsoffersplusreview/aggregateRating). - Confirm
@contextishttps://schema.organd@typematches the content. - Re-run Google's Rich Results Test to confirm eligibility for a specific rich result — a validator checks correctness, but Google's tool checks feature eligibility.
Common mistakes it catches
- Trailing commas or single quotes (JSON requires double quotes).
- Unescaped special characters inside string values.
@typemisspellings (Prodcut,FAQpage) that schema.org doesn't recognize.- Dates not in ISO 8601 format.
- Referencing properties that don't belong to the chosen type.
Remember: valid markup is necessary but not sufficient — the data must also describe content that's genuinely visible on the page.
How to use the JSON-LD Validator
- 01Paste your JSON-LD structured data.
- 02See instantly whether the JSON is valid.
- 03Review issues for missing @context or @type.
- 04Use the formatted output to clean up your markup.
Frequently asked questions
What does this validator check?
It confirms the JSON parses correctly and that each entity has the required @context and @type keys, flagging structural problems. For full rich-result eligibility, also test in Google's Rich Results Test.
Does it verify every schema.org property?
No — it checks JSON validity and the core JSON-LD structure. It does not enforce every property requirement for a specific schema type, which varies by rich-result feature.