- Home
- Free tools
- Schema and structured data validator
Schema validator and structured data testing tool
Enter a page address, or paste your JSON-LD below. We check the syntax and the required fields for common schema.org types, and tell you what to fix.
Paste code instead of a URL
How to use it
- Enter a page address, or open "Paste code instead of a URL" and paste JSON-LD or HTML.
- Read the table: each JSON-LD block gets a result, and the fix list explains every error.
- Fix the markup, then confirm eligibility for rich results with Google's Rich Results Test.
What it checks
- JSON syntax, with line and column of the first error
- @context and @type on every block, including @graph
- Required and recommended properties for 15 common types
- ISO 8601 dates and absolute URLs
- FAQPage, BreadcrumbList and Product structure
- Microdata and RDFa detected (not validated)
Limits
- Validates JSON-LD against 15 common schema.org types and their usual required fields. Microdata and RDFa are detected but not validated.
- A page can pass here and still not qualify for a Google rich result. Google applies extra rules and often limits which types it shows.
- Pasted markup is checked as text and cannot be matched against what is visible on the page.
Public pages only, one page at one point in time. See the methodology and terms.
Frequently asked questions
Can I paste code instead of testing a live page?
Yes. Open "Paste code instead of a URL" above the results and paste JSON-LD or the page's HTML. It is checked in the same way and nothing is fetched or stored, which is handy before you publish.
Does valid structured data guarantee a rich result?
No. Valid markup makes a page eligible, but Google decides whether to show a rich result. This tool checks syntax and required fields only, so use Google's Rich Results Test (search.google.com/test/rich-results) to confirm eligibility.
Which format should I use?
JSON-LD. Google recommends it, it sits in one script block, and it is easier to maintain than Microdata or RDFa.
Where does JSON-LD go?
In a script element with type application/ld+json, in the head or the body. It does not have to be visible to users, but it must describe content that is on the page.
Are FAQ rich results still shown?
Google now shows FAQ rich results mainly for well-known government and health sites, so most sites will not see them even with valid markup. The markup is still valid and harmless.
Why does the tool say a required property is missing?
Each type has fields Google needs, for example a Product needs a name and one of offers, review or aggregateRating. The message names the field so you can add it.
Does it execute JavaScript?
No. It reads the HTML your server sends. Markup that is injected by JavaScript after load is not seen here.