What does a JSON-LD validator check?
A JSON-LD validator checks three layers. First, the code must be valid JSON. Second, types and properties must exist on schema.org. Third, features such as Google product results have their own required fields. A snippet can pass the first two and still miss the third.
Common JSON-LD errors and fixes
| Error | Example | Fix |
|---|---|---|
| Trailing comma | "price": "20",} |
Delete the last comma |
| Curly quotes | “name” |
Use straight quotes |
| Wrong case | "@type": "product" |
Write Product |
| Missing context | No @context line |
Add https://schema.org |
| Wrong date format | 24/11/2026 |
Use 2026-11-24 |
| Price with a symbol | "$20" |
Use "20" and priceCurrency |
Curly quotes usually come from pasting through a word processor. They look fine to people and break the whole block.
Which schema validator should you use?
Use this one while you're writing, since it accepts drafts and explains fixes. Use the schema.org validator to check vocabulary in detail. Use Google's Rich Results Test on the live page to see whether Google supports a result for that type.
Why doesn't valid schema show in Google?
Passing a test makes the page eligible. Google also looks at content quality, whether the markup matches what people see, and whether it still supports that result. It can take days for a page to be crawled again after a fix.
Need a clean starting point? Build one with the schema markup generator. For general JSON size and cost, the JSON token counter is the better fit, and the AI readiness audit checks structured data on a live home page.