hackerdb

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

  1. Paste your markup. Either just the JSON or the whole page source; script blocks are found automatically.
  2. Fix errors first. "error" means the JSON does not parse; "missing" means a core property is absent.
  3. Consider advice rows. Recommended properties are not mandatory but make the data more useful.
  4. 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

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).

ResultTypeDetail
okProductRequired properties present.
adviceProductRecommended but absent: description, brand, sku
warnProductimage is not an absolute URL: /lamp.jpg
okOfferRequired properties present.
adviceOfferRecommended but absent: availability, url
formatOfferprice should be a plain number, got "$29".
okArticleRequired properties present.
adviceArticleRecommended but absent: datePublished, author, image, dateModified
okFAQPageRequired properties present.
missingQuestionMissing required: acceptedAnswer
okOrganizationRequired properties present.
adviceOrganizationRecommended 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

All free tools