Schema Markup Validator: Free JSON-LD Structured Data Testing Tool
This schema markup validator checks your JSON-LD structured data against three layers of rules: JSON syntax, schema.org vocabulary, and Google Rich Results requirements. Paste your code above and get instant validation results with clear explanations and fix suggestions.
Unlike tools that only check syntax, this validator tells you why a property is required, what Google expects for rich result eligibility, and how to fix each issue — with ready-to-use code examples.
How to Use This Schema Validator
- Paste your JSON-LD code into the editor on the left. You can also click Paste to read from your clipboard, or click Example to load a sample Article schema.
- Review results instantly. Validation runs in real time as you type. The right panel shows detected schema types, a property checklist, and any errors or warnings.
- Click any error or warning to expand it. You will see a description of the problem, a code example showing the fix, and a link to the relevant Google documentation.
There is no submit button and no server processing. Everything runs locally in your browser, so your code never leaves your machine.
What This Tool Checks
The validator performs three levels of checks on your structured data. Specifically, each level builds on the previous one.
1. JSON Syntax Validation
First, the tool parses your input as JSON. If the syntax is invalid — trailing commas, missing brackets, unquoted keys — you will see a specific error with the line number, a description of the problem, and a suggestion for fixing it. Schema validation cannot proceed until the JSON is well-formed.
2. Schema.org Vocabulary Checks
Next, the validator confirms that your @context points to schema.org and that your @type is a recognized type. It also checks that nested objects (such as author, offers, or address) have valid @type properties and correct structure.
3. Google Rich Results Requirements
Finally, the tool checks every property against Google's structured data documentation. It distinguishes between:
- Required properties (red errors) — Google will not generate rich results without these.
- Recommended properties (yellow warnings) — Adding these improves the quality and likelihood of rich results.
In addition, the validator checks value formats: ISO 8601 dates, valid URLs, correct enum values, and ISO 8601 durations. As a result, you catch formatting issues that other validators miss.
Supported Schema Types
This schema markup validator currently supports 14 schema types that are eligible for Google Rich Results. These cover the majority of structured data used by websites.
| Schema Type | Rich Result | Common Use |
|---|---|---|
Article | Top stories, rich article results | Blog posts, news articles |
Product | Price, availability, reviews | E-commerce product pages |
LocalBusiness | Knowledge panel, Maps | Physical businesses, restaurants |
FAQPage | FAQ dropdowns in SERP | FAQ sections on pages |
HowTo | Step-by-step in SERP | Tutorials, instructions |
Event | Event listings | Concerts, conferences, meetups |
BreadcrumbList | Breadcrumb trail in SERP | Site navigation hierarchy |
Organization | Knowledge panel | Company and brand pages |
WebSite | Sitelinks searchbox | Homepage schema |
Recipe | Recipe card in SERP | Food and cooking content |
VideoObject | Video carousel | Video content pages |
JobPosting | Google for Jobs | Job listing pages |
SoftwareApplication | App information panel | Software and app pages |
Course | Course list in SERP | Online learning platforms |
Subtypes are also supported. For example, NewsArticle and BlogPosting validate as Article, while Restaurant validates as LocalBusiness.
Common Schema Markup Errors and How to Fix Them
After validating thousands of JSON-LD snippets, these are the errors that appear most often. Fortunately, most of them are easy to fix once you know what to look for.
Missing @context
Every JSON-LD block must begin with "@context": "https://schema.org". Without it, search engines cannot interpret the structured data. In fact, this is the most fundamental requirement of any JSON-LD implementation.
{
"@context": "https://schema.org",
"@type": "Article",
...
}
Missing Required Properties
Google requires specific properties for each schema type. For example, an Article requires headline and image. Similarly, a Product requires name plus at least one of offers, review, or aggregateRating. If these are absent, Google will not generate rich results for your page.
Invalid Date Formats
Dates must follow ISO 8601 format. For instance, common mistakes include using "February 24, 2026" or "24/02/2026" instead of the correct "2026-02-24". Similarly, durations should use the ISO format: "PT1H30M" for 1 hour and 30 minutes, not "90 minutes".
Trailing Commas in JSON
JSON does not allow a comma after the last property in an object or array. This is one of the most common syntax errors, especially for developers who write JavaScript. Consequently, {"name": "Test",} will fail to parse.
Missing @type in Nested Objects
Nested objects like author, publisher, and offers need their own @type. For example, an author should be {"@type": "Person", "name": "..."}, not just {"name": "..."}. While some search engines may still process incomplete nested objects, adding @type ensures compatibility across all platforms.
Relative URLs Instead of Absolute
URLs in structured data should be fully qualified. Use "https://example.com/image.jpg" instead of "/image.jpg". Google explicitly requires absolute URLs for properties like image, url, and logo.
JSON-LD Best Practices for Structured Data
Following these best practices will help you get the most out of your schema markup implementation. As a result, you will avoid common pitfalls and maximize your chances of earning rich results.
- Use JSON-LD format. Google recommends JSON-LD over Microdata and RDFa. It is easier to implement and maintain because the structured data lives in a separate
<script>block rather than being mixed into HTML attributes. - Place JSON-LD in the
<head>. Although Google can read JSON-LD anywhere in the HTML, placing it in the<head>ensures it is parsed early and avoids issues with JavaScript-rendered content. - Include all recommended properties. Required properties are the minimum for eligibility. However, adding recommended properties improves the richness and likelihood of your result appearing. More complete markup generally outperforms the bare minimum.
- Use specific types over generic ones. If you run a restaurant, use
Restaurantinstead of the genericLocalBusiness. More specific types provide richer signals to search engines. - Validate before and after deployment. Test your markup during development, then re-check the live page. JavaScript rendering, CMS modifications, and caching can alter what search engines actually see.
- Combine multiple schema types per page. A typical page might need
Article+BreadcrumbList+Organization. Use an@grapharray to include multiple types cleanly. This validator supports@graphout of the box. - Keep structured data consistent with visible content. Google penalizes markup that contradicts what users see on the page. The
name,description, and other properties must match the actual page content.
This Tool vs. Google Rich Results Test
Both tools validate structured data, but they serve different purposes. Therefore, understanding when to use each one will save you time.
| Feature | This Validator | Google Rich Results Test |
|---|---|---|
| Input method | Paste code (real-time) | URL or paste code |
| Validation speed | Instant (as you type) | Several seconds per test |
| Fix suggestions | Code examples + explanations | Error messages only |
| Property checklist | Visual required/recommended checklist | Not available |
| JavaScript rendering | No (code only) | Yes (full Chromium rendering) |
| Rich result preview | Not available | Visual SERP preview |
| Live URL testing | Code-only (for now) | Yes |
| Runs locally | Yes (browser-only, no server) | No (Google servers) |
Recommended workflow: Use this schema markup validator during development to write and debug your JSON-LD code with instant feedback. Then use the Google Rich Results Test on the live page to verify how Googlebot renders and interprets your markup.
Why Schema Markup Matters for SEO
Schema markup helps search engines understand the content and context of your pages. Without it, Google has to infer what your page is about from text alone. With structured data, you are telling Google exactly what entities exist on the page and how they relate to each other.
The practical benefits are significant. Pages with valid structured data can earn rich results — enhanced search listings with star ratings, prices, FAQ dropdowns, recipe cards, event dates, and more. These rich results typically achieve higher click-through rates than standard blue links.
Moreover, structured data is becoming increasingly important for AI-driven search. As search engines generate AI summaries and answer boxes, they rely more heavily on structured data to extract and verify facts. Consequently, pages with comprehensive, accurate schema markup are more likely to be cited and featured.
That said, schema markup is not a ranking factor by itself. It does not directly boost your position in search results. Instead, it qualifies your pages for enhanced presentation that can indirectly improve performance through higher CTR and engagement. For a deeper understanding of how search engines process your site, see our guide on crawl budget and how it affects your site.
Frequently Asked Questions
A schema markup validator is a tool that checks your structured data for correctness. It verifies that the JSON-LD, Microdata, or RDFa markup on your page follows the schema.org specification and meets search engine requirements for rich results. This validator specifically checks JSON-LD against both schema.org rules and Google's structured data guidelines.
All three are formats for embedding structured data in web pages. JSON-LD uses a JavaScript object notation block placed in a <script> tag, keeping it separate from the HTML. Microdata adds attributes directly to HTML elements. RDFa also uses HTML attributes but follows RDF (Resource Description Framework) syntax. Google recommends JSON-LD because it is easiest to implement, maintain, and debug.
Yes, completely free with no limits. There is no registration, no account required, and no restrictions on the number of validations. Furthermore, everything runs in your browser — your code is never sent to a server.
The validator currently supports 14 schema types that are eligible for Google Rich Results: Article, Product, LocalBusiness, FAQPage, HowTo, Event, BreadcrumbList, Organization, WebSite, Recipe, VideoObject, JobPosting, SoftwareApplication, and Course. Subtypes like NewsArticle, BlogPosting, and Restaurant are also recognized.
The Google Rich Results Test crawls a live URL and renders JavaScript, which this tool does not do. However, this validator provides instant feedback as you type, includes a visual property checklist, and gives actionable fix suggestions with code examples. The best approach is to use this tool during development and the Rich Results Test for final live-page verification.
Passing validation means your markup is technically correct. However, Google considers additional factors before displaying rich results: page quality, domain authority, user intent, and algorithmic decisions. In other words, eligibility does not guarantee display. Additionally, some rich result types have been restricted — for example, FAQ rich results are now limited to government and health authority sites.
Yes. This validator supports the @graph syntax, which allows multiple schema objects in a single JSON-LD block. For example, you can validate an Article, BreadcrumbList, and Organization together. The tool will show separate validation results for each type.
Schema markup is not a direct ranking factor. Google has stated this clearly. However, structured data qualifies your pages for rich results — enhanced SERP listings that often achieve higher click-through rates. This indirect benefit, combined with better content understanding by search engines, makes schema markup a valuable part of any technical SEO strategy.