structured-data-validator
A structured data validator parses the structured data on a page (JSON-LD, Microdata, or RDFa), validates it against the schema.org vocabulary, and checks Google's rich-result eligibility rules β the additional required fields beyond schema.org's baseline. The ZTools Structured Data Validator covers all common types (Article, BlogPosting, FAQPage, HowTo, Product, Recipe, LocalBusiness, Organization, BreadcrumbList, Event, Person, Review, Course, JobPosting, SoftwareApplication, VideoObject, ImageObject, WebSite, WebPage), flags missing required and recommended fields, and links each error to the exact spec.
Use casesβ
Pre-publish check that your JSON-LD will trigger rich resultsβ
You added FAQPage schema to a help article. Will Google show the FAQ-rich result? The validator confirms required fields (question text, accepted answer, etc.) and warns on recommended-but-missing extras.
Diagnosing why GSC reports schema errorsβ
GSC says "Article: missing dateModified." Paste the page; the validator shows the exact JSON-LD block and the missing field, faster than navigating GSC's coverage report.
Migrating from Microdata to JSON-LDβ
Validate the existing Microdata, generate equivalent JSON-LD, validate the new version produces the same entities. Removes the risk of regression during the migration.
Building a Product page that qualifies for the merchant rich resultβ
Product schema has many required fields for the rich result (price, availability, currency, image). The validator flags exactly which are missing before you publish.
How it worksβ
- Paste a URL or raw JSON-LD/HTML β URL: the tool fetches the page and extracts every structured-data block. Raw input: validates directly.
- Each block is parsed and identified by @type β Article, FAQPage, Product, etc. The tool finds the schema definition and required-field list.
- Validation runs against schema.org and Google rules β Schema.org: which fields are valid. Google rich-results: which fields are required for eligibility (often a stricter superset of schema.org).
- Errors and warnings are listed per block β Errors: invalid types, malformed values, missing required fields. Warnings: missing recommended fields (eligibility OK but quality lower).
- Each issue links to the spec β Click any error for the schema.org definition or the Google rich-result requirement.
Examplesβ
Input: JSON-LD Article with @context, @type, headline, author, datePublished
Output: VALID. Warnings: missing dateModified (recommended), missing image (required for rich-result eligibility).
Input: JSON-LD FAQPage with 3 questions
Output: VALID. Eligible for FAQ rich-result. Each Question has acceptedAnswer with text β minimum requirements met.
Frequently asked questionsβ
JSON-LD vs Microdata vs RDFa β which should I use?
JSON-LD is Google's recommended format and the easiest to maintain (lives in a single <script> block in <head>). Microdata and RDFa interleave attributes with HTML, harder to manage. Use JSON-LD for new sites; convert legacy Microdata when refactoring.
Is rich-result eligibility the same as actually getting the rich result?
No. Eligibility is necessary but not sufficient. Google chooses when to show rich results based on additional quality signals (E-E-A-T, content depth, site reputation). Pages can be 100% valid and never trigger the rich result.
Can I have multiple JSON-LD blocks on one page?
Yes β and you should, when the page legitimately represents multiple entities (e.g., an article that's also a HowTo, or a product page that's also a BreadcrumbList). Each <script type="application/ld+json"> block is parsed independently.
How does this differ from Google's Rich Results Test?
This validator runs entirely in your browser, supports more types (including non-rich-result types like Person, Organization), and gives you the spec citations inline. Google's test is the canonical "will this render in SERP" check; use both.
What about FAQPage abuse β is it still indexed?
In August 2023 Google narrowed FAQ rich-results to only government and health sites. Other sites can still emit FAQPage schema (good for AI search citations and general structured data) but the SERP rich-result is rare.
Will the validator flag duplicate or conflicting schema?
Yes β duplicate @id values across blocks, conflicting types for the same entity, and contradictory property values are all flagged.
Tipsβ
- Standardize on JSON-LD; deprecate Microdata as you refactor.
- For Article/BlogPosting, always include both
datePublishedANDdateModifiedβdateModifiedis the freshness signal. - For Product schema, include all required fields the first time β eligibility errors block the whole rich-result.
- Re-validate after every CMS template change; a single template bug nullifies schema across the whole site.
Try it nowβ
The full structured-data-validator runs in your browser at https://ztools.zaions.com/structured-data-validator β no signup, no upload, no data leaves your device.
Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub