Skip to content

Schema markup validator: check JSON-LD by line, with fixes

Paste the JSON-LD from a page, or the page’s whole HTML, and the validator finds every structured data block, reports JSON mistakes with their line and column, and offers a repaired copy when the intent is clear. It then checks each item against the properties Google Search Central lists as required or recommended for that type, from Product and Article to Event, Job posting and Recipe, and flags values Google cannot read, such as prices with a currency sign or dates written 21/10/2026.

Quick answer

Paste your JSON-LD or the page source into the box. Syntax errors appear first with the line number and a plain explanation; press "Use the repaired copy" if one is offered. Then read each item’s list: errors are missing required properties or unreadable values, warnings are missing recommended properties. Fix them, re-check, then test the live URL in Google’s Rich Results Test.

Checked in your browser

Based on Google Search Central: structured data feature guides and general structured data guidelines · Page updated 23 October 2026

Editor: Abuzar, founder of NeedMyToolsHow we check facts

Try an example:

Checked in your browser. Nothing you paste is uploaded or stored.

Build it, then test the live page

Start new markup from a form in our schema markup generator. Once the page is published, Google’s own Rich Results Test shows what Googlebot reads from the live URL.

How to use the Schema markup validator

  1. Copy the JSON-LD, or open the page in your browser, choose View source, select all and copy. You can also open a saved .html or .json file.
  2. Paste it into the box. The check runs as you type; a large page takes about a second.
  3. Fix the JSON errors first. Each one names the line and the character, and the repaired copy can replace your text in one click.
  4. Work through each item’s errors, then its warnings. Suggested values show the format Google expects.
  5. Publish, then test the live URL in Google’s Rich Results Test, which is the final word on eligibility.

Two kinds of check: is it JSON, and is it what Google asks for

A structured data block can fail in two different ways. The first is plain syntax: one comma too many, a quote mark copied from a word processor, a comment left in by a developer. Browsers ignore a broken JSON-LD block silently, so the page looks fine while search engines read nothing. This validator parses each block with a strict JSON reader that stops at the first problem and says which line and column it is on, what it found there and what JSON expects instead. The second kind of failure is content: valid JSON that lacks what a search feature needs. Google’s documentation lists, for each feature, the properties that are required (without them the item is not eligible) and those that are recommended (they add information and can improve how a result looks). The validator applies those lists, so a Product with no offer, review or rating, an Event with no location or a Video with no upload date is reported as an error, while a missing brand or description is a warning.

The repaired copy, and what it will not guess

Most broken JSON-LD comes from a handful of mistakes, and the validator repairs those when the intent is clear: it removes // and /* */ comments, turns single and curly quotes into straight double quotes, adds quotes around bare keys, drops commas before a closing brace or bracket, inserts commas that are missing between items, changes True, False and None into true, false and null, converts Arabic-Indic digits in numbers to 0 to 9, and wraps two objects pasted one after another in a list. Every change is listed so you can see what happened. It does not invent values or close a bracket whose position cannot be known; in that case the line is marked and you fix it by hand. When a repair works, the items are also checked from the repaired copy, so one stray comma does not hide the rest of the report.

Which types are checked, and which Google no longer shows

The rules follow Google’s feature guides for Article, Breadcrumb, Event, Job posting, Local business (with its subtypes such as Restaurant or Store), Organization, Product snippet, Recipe, Review snippet, Software app, Profile page and Video, read on 23 October 2026; each item links to its guide and shows the date Google last updated it. Some rules have documented exceptions that the validator follows, for example the last breadcrumb level may leave out its URL, and a fully remote job can replace jobLocation with applicantLocationRequirements. Two common types now have no Google rich result at all: How-to results were withdrawn in September 2023, and FAQ rich results stopped appearing on 7 May 2026, after which Google removed their documentation, as its Search Central changelog records. FAQPage and HowTo markup is still valid schema.org, so the validator checks its structure and says plainly that it will not change how the page looks in Google. Types with no Google feature, such as WebSite or Person, get syntax and value checks only.

Values that fail quietly: dates, prices, currencies and Arabic digits

Many items pass a syntax check yet carry values search engines cannot use. Dates must be ISO 8601, such as 2026-10-23 or 2026-10-23T19:30+04:00, so 23/10/2026 is flagged with the corrected form; a time without a time zone is flagged where Google recommends one, because the default it would assume may not be Gulf time. Prices must be plain numbers, so "AED 1,200" becomes a suggestion of 1200 with AED in priceCurrency, and currencies must be three capital letters. Durations such as cook times need the PT30M format, ratings must sit inside their scale, relative URLs such as /images/a.jpg should be full addresses, and Arabic-Indic digits are converted in every suggestion. Arabic text itself is fine in JSON-LD and is never flagged; the box switches to right-to-left when the paste starts with Arabic.

Valid is not the same as shown

Google says clearly that correct structured data makes a page eligible for a rich result but does not guarantee one; its algorithms decide based on the search and the page. Its general structured data guidelines also require that the markup describes content visitors can see on the page, and items that break that rule can lose rich results through a manual action. This validator cannot see whether your page shows the same price, rating or date as the JSON-LD, and it cannot crawl a live URL, so use it while writing and editing, then confirm the published page with Google’s Rich Results Test. To write new markup from a form, use the schema markup generator, which builds JSON-LD for 12 types and links back here; for the title, description and share tags, the meta tag generator and the Open Graph checker.

Frequently asked questions

Is this schema markup validator the same as Google’s Rich Results Test?

No. It checks pasted code in your browser against Google’s documented properties and explains JSON errors by line. Google’s test fetches the live page and is the final word, so use both.

Why does my JSON-LD work in the browser but fail in the validator?

Browsers skip a broken JSON-LD block without any message, so the page looks normal. Search engines skip it too. The validator shows the exact line, for example a comma before a closing brace.

Does a missing recommended property stop rich results?

No. Only required properties decide eligibility. Recommended ones add detail, so they are shown as warnings, not errors.

Can I paste a whole web page instead of just the JSON-LD?

Yes. Paste the full HTML source and every application/ld+json script is found, with line numbers that match your source. Microdata and RDFa are counted but not checked.

Can I validate structured data written in Arabic?

Yes. Arabic names, descriptions and addresses are valid in JSON-LD. The validator only flags Arabic-Indic digits used as numbers or dates and suggests the 0 to 9 form.