Home / Free tools / JSON-LD validator
JSON-LD structured data checker for common types
Paste JSON-LD, or the full HTML of a page, and see each block parsed with type-by-type checks for required and recommended properties. It checks structure, not eligibility for any specific rich result.
How to use it
- Paste your markup. Either just the JSON or the whole page source; script blocks are found automatically.
- Fix errors first. "error" means the JSON does not parse; "missing" means a core property is absent.
- Consider advice rows. Recommended properties are not mandatory but make the data more useful.
- Confirm with a search engine tool. Eligibility for a specific rich result has extra rules this simple check cannot cover.
What gets checked
The tool parses every application/ld+json block, walks nested nodes and @graph arrays, and for each recognised type compares the properties present with a short list of required and recommended ones. It also catches the mistakes that most often make structured data useless: invalid JSON (trailing commas, smart quotes), relative URLs, a price written as "$29" instead of "29.00", a missing @context, and an Offer without a currency.
Frequent causes of broken structured data
- Template placeholders left in. Values like
{{ product.price }}that never rendered. - Duplicated blocks from a theme and a plugin both emitting Product data with different prices.
- Markup that contradicts the page: a stale price or an availability that is out of date.
- Fabricated ratings. The tool flags any rating so you remember they must be real.
Limits
This is a structural linter, not an eligibility test. It does not fetch the page, render scripts or know the latest search-engine feature policies. Use it to catch the obvious, then confirm with an official testing tool. To build blocks from scratch, try the Product or FAQ generator.
Worked example
This is what the tool produces for the sample input, so you can see the result without running it.
Input
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Product","name":"Lamp","image":"/lamp.jpg","offers":{"@type":"Offer","price":"$29","priceCurrency":"USD"}},{"@type":"Article","headline":"Hello"},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Q?"}]},{"@type":"Organization","name":"Acme"}]}</script>Result
1 block(s), 6 typed node(s), 2 problem(s).
| Result | Type | Detail |
|---|---|---|
| ok | Product | Required properties present. |
| advice | Product | Recommended but absent: description, brand, sku |
| warn | Product | image is not an absolute URL: /lamp.jpg |
| ok | Offer | Required properties present. |
| advice | Offer | Recommended but absent: availability, url |
| format | Offer | price should be a plain number, got "$29". |
| ok | Article | Required properties present. |
| advice | Article | Recommended but absent: datePublished, author, image, dateModified |
| ok | FAQPage | Required properties present. |
| missing | Question | Missing required: acceptedAnswer |
| ok | Organization | Required properties present. |
| advice | Organization | Recommended but absent: url, logo, sameAs |
Required properties here follow schema.org and common search engine documentation for the type, simplified. Rich-result eligibility has extra rules: test with the search engine's own tool as well.
Frequently asked questions
Does valid markup guarantee rich results?
No. Valid markup makes a page eligible; search engines choose whether to display enhancements.
Which types are supported?
Product, Offer, Article, BlogPosting, NewsArticle, FAQPage, Question, Answer, Organization, WebSite, Person, BreadcrumbList, ListItem, HowTo, HowToStep, SoftwareApplication, WebApplication, LocalBusiness and Event.
Why does it warn about ratings?
Review and rating markup must be backed by real reviews on the page; fabricated ratings break guidelines.
Is the page content uploaded?
No. Parsing runs locally in your browser.
More free tools
- Product JSON-LD generator: Generate valid schema.org Product JSON-LD with an Offer: name, image, SKU, brand, price, currency and availability. No fake review fields, by design.
- FAQPage JSON-LD generator: Turn plain Q and A text into valid FAQPage JSON-LD with escaping handled, plus checks for duplicates, empty answers and HTML. Notes rich-result limits.
- llms.txt validator: Paste your llms.txt and check it against the proposed format: one H1, a blockquote summary, H2 link sections, absolute URLs, duplicates and size.