The Schema Markup Validator parses pasted JSON-LD or HTML and checks syntax, the @context value and required and recommended properties for common types such as Article, FAQPage, Product and Organization. It is a fast structural check, not a replacement for Google's tests.
Key takeaways
- Check JSON-LD for syntax errors and missing properties.
- Runs entirely in your browser. Nothing you enter is uploaded.
- Free to use with no sign-up and no API key.
- Watch out: Trailing commas in JSON.
What does the Schema Markup Validator do?
Use it while writing markup, or to inspect a snippet before you publish. For final confirmation also run Google's Rich Results Test and the schema.org validator.
How do you use the Schema Markup Validator?
- Paste JSON-LD, or a full HTML snippet.
- Run the validator.
- Fix errors, then warnings.
- Confirm with the official tools.
How do you read the results?
Red items break the markup, such as invalid JSON or a missing @context. Amber items are recommended properties that are missing or malformed.
A type this tool has no rules for will show as an info line, with the syntax still checked.
What mistakes should you avoid?
- Trailing commas in JSON.
- Curly quotes copied from a document.
- Relative URLs for images and logos.
Frequently asked questions
Is this the official validator?
No. It is a quick structural check. Use the Rich Results Test and validator.schema.org for official checks.
What causes invalid JSON?
The usual causes are trailing commas, unescaped quotes and curly quotation marks.
Does it fetch pages?
No. Paste the markup. To pull markup from a live page, use the schema extractor.