What it does
JSON-LD is the format search engines recommend for structured data. It describes entities — an Article, Product, FAQPage, Organization — using Schema.org vocabulary. This validator checks that the JSON parses, that required properties are present and that the types match a known rich-result feature.
How it works
The markup lives in a script element with type application/ld+json. It must be valid JSON: no trailing commas, no comments, no unquoted keys. A single syntax error invalidates the whole block.
@context names the vocabulary, usually https://schema.org. @type names the entity. Required properties depend on the type: an Article needs headline and author, a Product needs name and offers, a FAQPage needs mainEntity questions with acceptedAnswer.
Multiple entities can be combined with @graph. Each node needs an @id when others reference it. Broken references are common: a publisher pointing at an Organization that is not defined in the graph.
Validation has two layers. Syntactic validity is objective; eligibility for a rich result is defined by each search engine and changes over time. Passing here does not guarantee a rich result, and a missing feature is not necessarily an error.
Do not generate JSON-LD from untrusted input without escaping. A closing script tag inside a string can break out of the block. Serialise with a JSON encoder and escape < as \u003c.
When to use it
- Validate FAQ or Article markup before publishing.
- Check a template that emits Product data.
- Find broken @id references after a refactor.
- Review which rich-result types a page is eligible for.
Glossary
- JSON-LD
- JSON for Linked Data, embedded in a script tag to describe entities.
- Schema.org
- The shared vocabulary of types and properties.
- @graph
- A container for multiple linked entities in one block.
- Rich result
- An enhanced search appearance enabled by structured data.
- @id
- A stable identifier used to reference an entity elsewhere in the graph.
Frequently asked questions
Does valid JSON-LD guarantee a rich result?+
No. Search engines also require the content to match, the page to be eligible and the feature to exist for that result type. Validation is necessary, not sufficient.
Can I use Microdata instead?+
Search engines support it, but JSON-LD is easier to maintain and less entangled with markup. Prefer JSON-LD unless your CMS makes it impractical.
Why does my FAQ markup not show?+
FAQ rich results have been restricted to authoritative sites in many markets. The markup may be valid and still not produce the feature.
Is duplicate markup a problem?+
Yes. Two blocks describing the same entity differently can confuse parsers. Use @id and one canonical description per entity.
Is validation done locally?+
Yes. Parsing and checks run in the browser; nothing is uploaded.
API & MCP
No API endpoint
This tool runs entirely in your browser. It is not available over the REST API or MCP.
Shareable result
https://100www.dev/tools/json-ld-validator?v=%7B%22%40context%22%3A%22https%3A%2F%2Fschema.org%22%2C%22%40type%22%3A%22WebSite%22%2C%22name%22%3A%22Example%22%7D

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


