JSON-LD Structured Data Validator

Paste HTML or raw JSON-LD to validate FAQPage, BreadcrumbList, and Article structured data. Instantly spot missing required properties and common Google Rich Results mistakes.

What is the JSON-LD Structured Data Validator

JSON-LD is a markup format that tells Google, in a machine-readable way, what a piece of page content actually is — an FAQ, an article, a breadcrumb trail, and so on. You write it as JSON inside a <script type="application/ld+json"> tag, so it adds structured data without touching the visible HTML at all. When implemented correctly, it can make your page eligible for Rich Results such as breadcrumb trails in search. Note that Google stopped showing FAQ rich results (the expandable FAQ snippets) in search on May 7, 2026.

This tool automatically extracts <script> blocks from pasted HTML (or accepts raw JSON-LD directly) and checks each FAQPage, BreadcrumbList, and Article-like entity (Article / NewsArticle / BlogPosting) for the required and recommended properties described in Google's structured data documentation (Schema.org itself does not define required properties). It also flags classic mistakes that are easy to miss — such as acceptedAnswer.text being an object instead of a plain string, or position values that are not sequential. Running this check before publishing, or right after a fix, catches problems earlier than waiting to spot them later in Search Console.

How to use the JSON-LD Structured Data Validator

  1. Get the HTML source or JSON-LD for your page Either the full "View Page Source" output of the page you want to check, or just the contents of a <script> tag, works as input.
  2. Paste it into the input box, or fetch it from a URL You can paste the text directly, or, for an already-published page, enter its URL and fetch it instead.
  3. Review the detected entities and their results If the input contains multiple <script> blocks or multiple @type entities, each one is listed and validated separately.
  4. Fix any property marked "Missing" or "Warning" Each property is marked OK, Warning, or Missing, so you can go straight to the corresponding spot in your original JSON-LD and correct it.
  5. Re-validate after fixing before you publish Paste the corrected JSON-LD back in and confirm every property shows OK before pushing the change live.

Tips for getting more out of it

  • For FAQPage, put the answer text in acceptedAnswer.text as a plain string. If you put an object or array there, search engines cannot read it as the answer.
  • For BreadcrumbList, keep position as a sequence starting at 1. Gaps or duplicates prevent it from being recognized as a valid breadcrumb trail.
  • Google's documentation defines no required properties for Article and sets no length limit for headline. Long titles may be truncated on some devices, though, so keeping the headline concise is a good idea.
  • You can paste an entire HTML page — the tool automatically extracts the contents of any <script type="application/ld+json"> block. Pasting just the raw JSON also works.
  • If a page has multiple structured data blocks, keeping each one in its own <script> tag makes them easier to maintain and debug.

When this tool comes in handy

Checking the structure of FAQPage markup

Catch the common structural mistakes in FAQPage, such as a malformed acceptedAnswer.text. Note that Google has not shown FAQ rich results since May 7, 2026, so this markup no longer changes how your page looks in Google Search.

Auditing breadcrumbs after a site restructure

When categories move or URLs change, confirm in one pass that BreadcrumbList position values are still in the right order.

Reviewing an Article schema on a blog post

Check in one pass for missing Article properties that Google recommends, such as headline, author, datePublished, and image.

Tracking down an error flagged by the Rich Results Test

When Google's official tool reports an error, narrow down exactly which property is at fault here first, then go fix the source.

Glossary

JSON-LD
A specification for writing structured data as JSON. It is embedded as an independent block inside a <script type="application/ld+json"> tag, so search-engine-facing information can be added without changing the existing HTML layout.
Schema.org
A shared vocabulary for structured data, jointly maintained by Google, Microsoft, Yahoo, and others. It defines types (@type), such as FAQPage or Article, and the properties each one supports.
FAQPage
A Schema.org type for frequently asked questions and their answers. Its mainEntity holds an array of Question entities, each with a name (the question) and acceptedAnswer.text (the answer). Google stopped showing FAQ rich results in search on May 7, 2026.
BreadcrumbList
A Schema.org type representing a breadcrumb trail — the page's position within a site's hierarchy. Its itemListElement holds an array of ListItem entities, each with a position, name, and item (URL). According to Google's documentation, item may be omitted for the last element, in which case the URL of the page itself is used.
Rich Results
Search results that show more than the usual title and description, such as a breadcrumb trail. Correctly implemented structured data is a prerequisite, but it does not guarantee that a rich result will be shown.
Required property
A property Google needs in order to display a given Rich Result at all; missing it means the Rich Result simply will not appear. A recommended property, by contrast, is not strictly required but improves how the result is shown.
Google Search Console
Google's official tool for monitoring a site's search performance and indexing status. Its Enhancements reports show how Google is actually interpreting the structured data on your published pages.

Frequently Asked Questions

JSON-LD stores structured data as JSON inside its own <script> tag, completely separate from the visible HTML. Microdata and RDFa instead embed markup directly into HTML attributes (such as itemprop), which requires changing the existing HTML structure. Google now recommends JSON-LD, and its simplicity of implementation has made it the dominant format.

Structured data is not a direct ranking factor. However, when markup such as BreadcrumbList is implemented correctly, your page may show Rich Results like breadcrumb trails, which can improve click-through rate (CTR). The expandable FAQ snippets are no longer shown: Google stopped displaying them on May 7, 2026.

Schema.org defines the text of an Answer as a string (the Text type). If it is mistakenly set to an object or array (for example, a nested structure like { "value": "the answer" }), search engines cannot read it as the answer text.

Yes, that is perfectly fine. FAQPage, BreadcrumbList, Article, and other schema types can each be written in their own <script type="application/ld+json"> block on the same page. This tool detects and validates multiple blocks and multiple entities from a single input.

Use the Enhancements reports in Google Search Console, or Google's official Rich Results Test tool, against your live published URL to see exactly how Google is interpreting it. This tool is best used as a self-check during drafting or right after making a fix, before publishing.
Tool-kun

Side Note — Why JSON-LD replaced Microdata and RDFa

JSON-LD (JSON for Linking Data) originated as a Linked Data format standardized by a W3C community group in the early 2010s. Unlike the older structured-data notations, Microdata and RDFa, which embed markup directly into HTML element attributes, JSON-LD lives entirely inside a <script> tag as an independent block of JSON. That means structured data can be added, edited, or removed without touching the surrounding HTML layout at all. Google began favoring JSON-LD as its recommended format around 2015, and its current Rich Results documentation is written almost entirely around the JSON-LD syntax.

This site's own FAQ sections work the same way: authors write each question and answer once, and a matching FAQPage JSON-LD block is generated automatically behind the scenes. There is no need to hand-write the same content twice — once for the human-readable accordion and once for the machine-readable schema — so the two never drift out of sync the way manually duplicated markup tends to.

Even syntactically valid JSON can fail to produce Rich Results (such as breadcrumb trails in search) if it is missing a property Google requires, or a property Google recommends. Deeply nested fields like acceptedAnswer.text are a classic place to get the structure wrong. Running a check like this before publishing catches those mistakes earlier than waiting to notice an error later in Search Console's Enhancements report.