schema markup check
Schema Markup Check: How to Validate and Fix Errors
Run a schema markup check that validates your JSON-LD, catches common errors and confirms Google and AI crawlers can read your structured data.
Published · Updated · By AnswerLion
You've shipped the schema. The JSON-LD sits in the page head, the tester went green, and the ticket closed weeks ago. Then a colleague asks an AI assistant what your company does, and the answer comes back with a service you retired, a region you don't serve, or a description so generic it could belong to any competitor.
That gap is what a real schema markup check exists to close. It isn't a hunt for a green checkmark. It's a test of whether machines can fetch your pages, parse the markup, agree on what the business is, and repeat it back accurately to a customer. Passing validation is one input into that test, and on its own it proves far less than commonly assumed.
Which Validator Answers Which Schema Question
Two browser tabs, two verdicts. The Schema Markup Validator returns zero errors on your Organization block, and Google's Rich Results Test throws a warning you don't recognize. Neither tool is broken. They're answering different questions, and knowing which question each one answers is the entire skill behind a check that holds up under scrutiny.
The Schema Markup Validator asks whether the markup is valid Schema.org. It parses the JSON-LD, RDFa or Microdata, confirms the types exist in the vocabulary, and checks that properties sit where the specification expects them. It has no opinion about Google's search features. The structured data documentation from Google Search Central recommends exactly this split: generic Schema.org conformance from the validator, rich-result eligibility from Google's own test.
Google's Rich Results Test asks a narrower question: can this page produce one of Google's enhanced search features, and if not, which required property is missing. It only covers the feature types Google supports, so a perfectly built Service or Organization block can pass through it with nothing to report. Silence from this tool is not failure. It means Google has no rich-result type for that markup, not that the markup is wrong.
| Validator | Question it answers | What it checks | When to run it |
|---|---|---|---|
| Schema Markup Validator | Is the markup valid Schema.org? | Syntax, types and property relationships | Before every release |
| Rich Results Test | Can Google show a rich result? | Required and recommended properties for Google features | Before and after template changes |
| Search Console URL Inspection | Can Google fetch and index the live page? | Crawl status, canonical URL and rendered HTML | After deployment |
| Enhancement reports | Are rich results detected and error-free? | Errors across all pages of one type | Ongoing monitoring |
The first two rows run against code you hand them. The last two show what Google received on the live URL, which is where the surprises live: markup that validated in staging but broke through templating, server rendering, escaping or canonicalization between deploy and crawl.
Working rule: the validator governs syntax, the Rich Results Test governs eligibility, and Search Console governs reality.
A clean result on all four is necessary, not sufficient. Correct markup doesn't guarantee a rich result, because eligibility, page quality, content policies, crawling and ranking systems still decide what appears. That distinction matters most for AI visibility: assistants like ChatGPT, Perplexity and Claude read markup as machine-readable context even when no rich result ever appears, so a type that reports nothing in Google's test can still shape how engines describe the business. If you want a reference for what each type should look like when it's built properly, this set of structured data examples is worth opening before you start testing.
How to Run a Schema Markup Check Step by Step
The procedure below takes about ninety minutes for a five-page sample and scales to hundreds of templates. Work through it in order, because each step removes a class of false confidence the next one would otherwise inherit.

The seven steps
Build the URL list. Pick one representative page per template: homepage, a service page, a location page, an article and the FAQ page. Pages built from the same template almost always share the same markup, so five URLs cover most of a mid-market site.
Copy the rendered source from the browser, not the CMS field. Open DevTools, copy the full HTML, and paste it into the Schema Markup Validator. The CMS field shows what you intended to publish; the rendered DOM shows what the server sent, including anything a plugin injected.
Run the same URLs through the Rich Results Test. Note every detected type, then sort findings into two piles: missing required properties, which are release blockers, and warnings, which you triage against the rich-result type each page targets. Google supports JSON-LD, Microdata and RDFa, and recommends JSON-LD, as its structured data policies confirm, so confirm the syntax on the rendered page matches what you chose.
Check that each page's primary entity matches its subject. Organization belongs on the about page, Service on service pages, Article on posts. Schema.org's broadest type, Thing, carries four core properties, name, description, url and image, and everything else descends from it, per the Schema.org getting started guide. One entity per page beats five thin ones stacked in the same block.
Inspect the live URL in Search Console. Confirm Google can fetch the canonical version you intend to index, then request indexing once fixes ship.
Log the result. Record URL, schema type, validator output, rendered HTML snapshot, canonical URL, crawlability status and Search Console state. The log is what turns a one-off test into a repeatable audit trail.
Repeat after every change to templates, hosting, CMS or content fields. Technically valid markup breaks after deployment, and Google's structured data introduction notes that templating and serving issues can invalidate pages after release. Review enhancement reports weekly for the first month after a migration.
What a clean run looks like
Zero critical errors across the sample. One primary entity per page, with no competing nodes fighting over the same identity. A log entry for every URL you touched, dated, so the next person can see what changed and when. That's the standard to hold, and it's achievable in a single working session.
Common Schema Errors and How to Fix Them
The errors that cost the most aren't syntax errors. They're semantic ones: markup that validates cleanly while claiming a review, price or author the visible page never shows. That distinction decides whether the work earns you a search feature or a policy problem, and Google's structured data general guidelines treat markup that misrepresents the page as ineligible regardless of how well formed it is.
The scale of the problem is worth keeping in perspective. A seven-month analysis of 14,784,536,534 web pages found Schema.org markup on 58.32% of pages, with 0.63% of all type occurrences invalid enough that a conforming parser would reject them, per the Schema.org at scale study. Small percentages at that volume mean hundreds of millions of broken statements. Your site doesn't need a meaningful error rate to lose machine trust. One broken template is enough.
| Error | How to spot it | Fix |
|---|---|---|
| Missing required property | Rich Results Test lists it as an error | Add the field the type requires, such as name for Organization |
| Unescaped quotes from the CMS | Schema Markup Validator reports a JSON parse error | JSON-escape dynamic fields before output |
| Markup missing from rendered HTML | Source contains the block, rendered DOM does not | Fix the template or server rendering |
| Wrong type for the page | Product markup sits on a service page | Switch to the page's primary entity type |
| Duplicate Organization nodes | Two nodes with different names or addresses | Merge into one node with a stable @id |
| Claims not visible on the page | Review or price in markup but absent from the copy | Match the markup to visible content or remove it |
Unescaped quotation marks are the most common cause of a block that suddenly stops parsing, because a single line break or apostrophe pulled from a CMS field can invalidate the whole script. Duplicate entities are the quietest: two Organization nodes disagreeing on a phone number give a crawler no reason to trust either one.
The pattern behind almost every fix: one primary entity per page, a stable @id built from the canonical URL, and structured claims that match visible copy, business listings and third-party profiles field by field.
Treat each fix as an implementation change rather than a copy edit. Page rewrites and technical changes are delivered to your site or handed to your developer, whichever your team prefers, because most of these errors live in templates, not in the words on the page.
Confirming Search and AI Crawlers Can Read Your Markup
A green validator tells you the markup is well formed. It tells you nothing about whether a crawler ever saw it. That's the assumption worth challenging directly, because a page can pass every syntax test while sitting behind a disallowed path, an empty client-side shell, or a canonical tag pointing somewhere else entirely.
Start with robots.txt. Confirm Googlebot and the AI crawlers you want to allow, such as GPTBot, ClaudeBot and PerplexityBot, aren't disallowed on the pages carrying markup. Then check that the URL appears in your XML sitemap and returns a 200 status, because a sitemap entry is still the cleanest signal that a page is meant to be indexed.

The next check catches more failures than any other: view the raw page source with JavaScript disabled. Many AI crawlers read raw HTML and never execute the scripts that inject schema, so markup that only appears after rendering is invisible to them even though the browser shows it perfectly. If your structured data arrives via tag manager or a client-side framework, you will discover it here.
| Check | Where to look | Passing result |
|---|---|---|
| robots.txt | /robots.txt on your domain | Googlebot and chosen AI crawlers are not disallowed |
| XML sitemap | /sitemap.xml | Tested URL is listed and returns 200 |
| Raw HTML | Page source with JavaScript disabled | Schema block is present without rendering |
| Canonical tag | rel=canonical in the page head | Points to the URL you intend to index |
| llms.txt | /llms.txt on your domain | File exists and describes the business accurately |
Canonical consistency deserves its own pass. When markup sits on three duplicate URLs, crawlers split the signal and none of the nodes carries full authority. Point every variant at one address and keep the @id consistent with it.
Finally, publish an llms.txt file that summarizes the business accurately, in plain sentences, with services, locations and contact details that match the markup. It gives assistants a clean description to quote instead of a scraped fragment. Getting robots.txt right is its own small project, and this walkthrough on how to generate a robots.txt file covers the crawler directives that matter for AI access.
The test that ties it all together: once the fixes are live and re-crawled, ask an AI assistant the three questions your customers ask most, and compare each answer against the markup you published. Mismatches tell you exactly what to fix next.
Deciding What to Keep in FAQ Markup After 2026
FAQ markup has a deadline, and most advice online hasn't caught up with it. Google's documentation states that FAQ rich results are scheduled to stop appearing on May 7, 2026, with the FAQ rich-result report and Rich Results Test support removed in June and Search Console API support removed in August, as recorded in the FAQPage structured data documentation.

Separate the two purposes before you decide anything. Visible question-and-answer content still clarifies products, services and policies for customers, and retrieval systems still read it. What declines is the Google display benefit attached to the markup. Deleting useful, truthful answers because one presentation format retires would be the wrong trade.
The sorting rule that works: keep FAQs that answer real customer objections, such as whether a clinic takes insurance or how far ahead a restaurant takes bookings. Remove thin, duplicated or keyword-stuffed blocks that exist only to fill a schema field. Then redirect engineering time toward supported types like Organization, Service and Article, where the markup still does a job.
Measure what actually moves. Indexed pages, branded and non-branded impressions, referral quality, conversions, and whether AI assistants describe the business correctly all tell you more than a rich-result count tied to a retired feature.
If you're weighing whether the markup is worth maintaining at all, this FAQ schema example shows the structure that keeps the content readable to machines even after the display feature goes away.
Run Your First Schema Markup Check This Week
Five days is enough to move from assumption to evidence. Here's the sequence I'd run, in order, without waiting for a redesign or a budget cycle.
Day 1: pick five URLs covering the homepage, one service page, one location page, one article and the FAQ page. Open a log entry for each with the date and the owner.
Day 2: run all five through the Schema Markup Validator and the Rich Results Test. Sort every finding into two columns, release blockers such as missing required properties and JSON parse errors, and warnings to review against the rich-result type each page targets.
Day 3: fix the critical errors first, then re-run the same five URLs and confirm one primary entity per page. Resist the urge to fix warnings before blockers; the blockers are what make a page ineligible.
Day 4: complete the crawl-access checklist on those URLs, from robots.txt through the canonical tag, and confirm llms.txt describes the business accurately.
Day 5: ask an AI assistant the three questions customers ask most, compare each answer with the markup you published, and log every mismatch as the next fix. That comparison is the outcome the whole exercise serves.
If gaps remain that can't be closed in-house, the first step with AnswerLion is an audit, which produces a written report before any changes are made. Nothing touches your site until you've seen the findings and approved each fix.
When the audit is done well, the result is a documented baseline: how AI assistants describe your business today, which pages carry markup they can read, and a prioritized list of fixes ranked by impact. AnswerLion runs that audit across every major AI engine and delivers a written report before a single line of your site changes. Visit AnswerLion to see how the audit, fix and tracking process works, and to book a starting point for your own schema review.