Skip to content
Free tools Let's talk

Free tool

Schema validator

Paste JSON-LD, or the HTML source of a page, and see broken syntax with its line number, and the required and recommended properties that each schema type is missing. It runs in your browser, so unpublished markup stays private.

1Paste your code

Checked as you type. To check a live page, open it, view the source (Ctrl+U, or Cmd+Option+U on a Mac), copy everything and paste it here.

2What we found

Paste code on the left to see syntax errors with their line, the types found and the properties missing for each one.

"No errors" means the code is valid JSON and has the properties Google documents for each type this page checks. It does not mean the code is valid for every schema.org type, nor that Google will show a rich result: valid structured data never guarantees one. This is a quick check written from Google's published documentation, not Google's own test. Before you rely on it, run the live page through the Rich Results Test and the Schema Markup Validator.

The code is checked in your browser. What you paste is only shared with DEMARCA if you choose to include your result in an enquiry and submit the form.

Beyond the tool

One valid block is a start. Every template on the site is the job.

We audit the structured data across your whole site, fix what your theme and plugins get wrong, and keep the markup true to each page.

Get an SEO proposalA fixed-price proposal within one working day

The guide

Schema Validator: the complete guide

Built and maintained by the designers and marketers at DEMARCA, an award-winning design studio in Portugal.

On this page
  1. How to validate schema markup
  2. Schema Markup Validator, Rich Results Test or this checker
  3. The most common schema errors and how to fix them
  4. Which schema types this checker covers
  5. Valid markup is not the same as markup that helps
  6. Methodology and limits
  7. Sources

How to validate schema markup

  1. Get the code. Copy the JSON-LD from your template or plugin, or open the live page, view its source and copy the whole thing. The checker finds every application/ld+json script in a full page by itself.
  2. Paste it on the left. The results update as you type. If the JSON is broken, you see the line and column where it stops making sense, a few lines around it and, when the cause is a common one, a plain-English hint.
  3. Read the results by level. Errors are things that stop a rich result: a missing required property or a value in the wrong format. Warnings are recommended properties that make the result richer. Tips are notes about how Google uses a type today.
  4. Test the live page too. Once the code is in the page, run the address through Google's Rich Results Test, which renders the page the way Google does and can see markup added by JavaScript. This page checks what you paste; it does not fetch your site.

People search for a schema validator, a schema markup validator, a JSON-LD validator and a structured data testing tool. They all mean this kind of check. It is not an XSD or JSON Schema validator, which are developer tools for checking data files against a schema definition.

Schema Markup Validator, Rich Results Test or this checker

Three different questions get called validation, and each tool answers one of them.

ToolQuestion it answersWhat it cannot tell you
This checkerIs the JSON valid, and does each type have the properties Google documents for it?Whether the page renders, whether the property names exist in schema.org, or whether Google will show anything
Schema Markup Validator (validator.schema.org)Are the types and properties real schema.org vocabulary, whether or not Google uses them?Whether a type is eligible for a Google rich result
Google Rich Results TestIs this page eligible for a rich result Google supports, as Google renders it?Whether Google will actually show the result: it decides that itself

Google retired its old Structured Data Testing Tool in 2021 and split the job between the two tools above. In practice, use this page while you write or edit code, the Schema Markup Validator when you use types Google does not feature, and the Rich Results Test on the published page before you consider the work finished.

The most common schema errors and how to fix them

What you seeWhat it meansFix
Syntax error with a line numberThe JSON does not parse. Usually a trailing comma, a missing comma or quote, a comment, or curly quotes pasted from a documentGo to the marked line, fix the character, paste again. The hint under the error names the usual cause
Add @contextThe block has no vocabulary, so a search engine cannot tell it is schema.orgAdd "@context": "https://schema.org" at the top of the object
Add an @typeThe object does not say what it describesAdd the type, for example "@type": "Product"
Missing required propertyThe type lacks something Google needs for its rich result, such as an address on a LocalBusiness or a start date on an EventAdd the property with a real value, or leave the type out if you cannot supply it
Price with a currency symbolProduct and offer prices must be plain numbersUse "price": "1499.00" and put the currency in priceCurrency as a three-letter code
Not an ISO 8601 dateDates such as "April 15, 2027" or "15/04/2027" are not machine-readableUse 2027-04-15, or 2027-04-15T18:00-07:00 with a time and UTC offset
Property is plain text instead of an objectAn author, address or location was written as a stringUse a nested object with its own type, such as a Person with a name
Sample addresses still in the codeThe markup still contains placeholder domains copied from a tutorialReplace them with your own addresses before you publish

Which schema types this checker covers

It checks 13 types against the properties Google documents, including every more specific subtype Google lists under them: Organization, LocalBusiness (and types such as Dentist, Restaurant or Plumber), Article (with BlogPosting and NewsArticle), Product, Event, FAQPage, BreadcrumbList, Person, WebSite, Recipe, JobPosting, VideoObject and SoftwareApplication. HowTo is recognised too, and the checker tells you Google stopped showing it in 2023. For any other type it checks the syntax and the context, and sends you to the Schema Markup Validator for the vocabulary.

The rules follow Google Search Central's documentation for each feature. Google changes them: it removed HowTo results, limited FAQ results to well-known government and health sites in 2023, and retired the sitelinks search box in 2024. The checker reflects those changes today, and the documentation is the page to trust when it differs.

Valid markup is not the same as markup that helps

A validator checks form. It cannot check truth, and Google's structured data policies are about truth: the markup must describe what visitors can see on that same page, ratings must come from real customers and not from the business about itself, and prices, dates and availability must be current. Markup that breaks those rules can lead to a manual action in Search Console that removes rich results from the whole site, even if every validator says it is perfect.

Dynamic sites need one more check. If a plugin or a script adds the markup after the page loads, a copy of the page source will not contain it. Paste the markup from the plugin's output instead, or test the live address in the Rich Results Test, which runs the page's JavaScript.

Methodology and limits

Extraction
If you paste a page or a script tag, the checker reads every script of type application/ld+json and parses each as JSON in your browser. If you paste bare JSON, it parses that. A @graph list is split into its items, and each item is checked on its own.
Syntax
Parsing uses the browser's own JSON parser. The line and column come from its error message or, when the message gives none, from the checker's own scan of the text, and the hints come from a short list of the usual mistakes: curly quotes, trailing commas, single quotes, comments and objects with no comma between them.
Properties
Each item's @type is matched to one of the 13 families, and the required and recommended properties from Google Search Central's documentation for that feature are tested, along with formats: ISO 8601 dates and durations, full URLs, plain-number prices, three-letter currency codes, ratings inside their scale, and valid GTIN check digits.
Limits
The checker does not fetch pages, run JavaScript, read Microdata or RDFa, or know every schema.org property name. A property it does not check is not reported as wrong. It follows Google's documentation as published when this page was last updated, and that documentation changes.

Sources

Show all 10 sources

FAQ

Questions people ask

What is a schema markup validator?

A tool that reads the structured data in a page, usually JSON-LD, and reports syntax errors and missing or wrongly formatted properties. This one checks the JSON and then the properties Google documents for 13 types. The official Schema Markup Validator at validator.schema.org checks markup against the full schema.org vocabulary.

How do I check if my schema is valid?

Paste the JSON-LD, or the source of the whole page, into the box above and read the errors, warnings and tips. Then test the live page in Google's Rich Results Test, which shows which rich results it can be eligible for, and in the Schema Markup Validator for general schema.org errors.

What is a schema validator?

In SEO, a schema validator checks structured data against schema.org and, for some tools, against Google's own requirements. The word is also used for JSON Schema and XSD validators, which check data files for developers and have nothing to do with search results.

How do I test my schema?

Test it at three levels: syntax first (does the JSON parse), then required and recommended properties for the type, then eligibility on the live page with Google's Rich Results Test. After you publish, the Enhancements reports in Google Search Console show what Google found across the whole site.

What does a schema validation error mean?

Usually a required property is missing, a value has the wrong format (a date that is not ISO 8601, or a price with a currency symbol), or the JSON itself is broken. The message names the property and, for syntax errors, the line, so you can go straight to it.

How do I resolve a validation error?

Fix errors first, because they can stop a rich result, then warnings. Add the missing property with a real value taken from the page, correct the format, and paste the code again until the errors are gone. Do not add properties for content the page does not show: that breaks Google's guidelines.

Does valid schema guarantee a rich result?

No. Valid markup only makes the page eligible. Google decides whether to show a rich result, based on the type, the quality of the page and its own policies, and it has dropped several result types over the years.

Can this checker test a live URL?

No, on purpose: it checks what you paste, in your browser, so unpublished markup stays private. To test a live address, use Google's Rich Results Test, which also runs the page's JavaScript and so sees markup that a plugin adds after the page loads.

More free tools

See all 52 tools

Structured data audit

Let's make something matter.

We audit the structured data across your whole site, fix what your theme and plugins get wrong, and keep the markup true to each page. Independent design and marketing studio in Portugal. Senior-led projects, transparent pricing and clearly defined deliverables for international clients.

  • A reply from a designer within one working day
  • A fixed-price proposal before any work starts
  • Senior-led work with clearly defined deliverables
  • Clients in Portugal, across Europe and further afield

Request a quote

Prefer email? hello@wearedemarca.com