JSON-LD Validator.
Extract and check the JSON-LD structured data of a page or pasted HTML against schema.org rules.
Uses serverAbout JSON-LD Validator
JSON-LD Validator finds every script type="application/ld+json" block on a page and checks the structured data inside. Enter a URL to fetch the page from our server, or paste HTML or a bare JSON-LD object to check markup before it ships. Each block is parsed as JSON first, so a trailing comma or an unescaped quote is reported with the block's line number. Arrays and @graph containers are expanded into their items, and each item must have an @context pointing to schema.org and an @type. For common types the validator then checks the properties search engines need for rich results: a Product needs a name and one of offers, review or aggregateRating; an Article needs a headline and should have an image, datePublished and author; an Event needs a name, startDate and location; FAQPage, BreadcrumbList, JobPosting, Recipe, VideoObject, LocalBusiness, Organization and several others are covered too. Missing required properties are errors and missing recommended ones are warnings. For example, a product page whose JSON-LD lists price at the top level instead of inside an Offer gets an error for the missing offers property. Common mistakes are injecting JSON-LD with JavaScript after the crawler has read the page, copying http://schema.org into new markup, and marking up content that visitors cannot see on the page.
How to Use
- Enter a page URL, or paste HTML or a JSON-LD object into the text area.
- Run the validator.
- Fix items marked error first, then the warnings, and validate again.
Frequently Asked Questions
Is this the same as Google's Rich Results Test?
It checks the same basics (valid JSON, schema.org context and type, and the key required properties) but not every rule or eligibility condition. Use Google's test as the final check for rich results.
Can I paste JSON-LD without the script tag?
Yes. If the pasted text starts with { or [, it is treated as one JSON-LD block.
Does it check Microdata or RDFa?
No, only JSON-LD, which is the format Google recommends.
Is the pasted HTML sent to your server?
Yes, the check runs on our server. Pasted HTML is not fetched from anywhere, not cached beyond five minutes and never logged.
Related Tools
Preview how a link looks when shared and check its Open Graph and Twitter Card tags.
Pretty print, minify, and validate JSON.
Check whether robots.txt lets a crawler such as Googlebot fetch a URL, and which rule decides.
Validate an XML sitemap or sitemap index - structure, URLs, lastmod dates and limits.
See the response headers, status code and redirects of any URL.
Look up A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and SRV records.