Free Tool

JSON-LD Schema Validator

Validate your structured data against Google's guidelines. Paste your JSON-LD or scan any URL to get a validation score with detailed error reports.

Google Guidelines

Checks required and recommended properties per Google's structured data documentation.

17 Schema Types

Supports Organization, Product, Article, LocalBusiness, FAQ, Recipe, Event, and more.

Instant Results

100% programmatic validation. No API keys needed, no cost, instant feedback with a score.

What Is JSON-LD and Why Does It Matter?

Without Structured Data

Example Corp - Official Website

https://example.com

Example Corp provides innovative solutions for businesses of all sizes. Learn more about our products and services.

With Structured Data

Example Corp - Official Website

https://example.com

4.8 (2,340 reviews)
In Stock$29 - $99/mo

Example Corp provides innovative solutions for businesses of all sizes. Learn more about our products and services.

JSON-LD stands for JavaScript Object Notation for Linked Data. It is a lightweight format for adding structured data to web pages — essentially, a way to describe your content in a language that search engines and AI systems can read directly.

When a search engine crawls your page, it sees HTML. It can extract text, follow links, and read meta tags. But it has to guess what the content actually represents. Is this page about a business? A product? A recipe? An event? HTML alone does not provide that context explicitly.

JSON-LD solves this problem by embedding a block of structured information directly in your page's code. This block tells search engines exactly what the page represents, using a standardized vocabulary from Schema.org — a shared project maintained by Google, Microsoft, Yahoo, and Yandex.

Google has officially recommended JSON-LD as the preferred format for structured data since 2015. It is easier to implement than older formats like Microdata and RDFa because it lives in a separate script tag rather than being woven into your HTML.

In practical terms, JSON-LD does three things for your website. It makes your content eligible for rich results in Google — those enhanced search listings with star ratings, prices, FAQ dropdowns, event dates, and other visual elements that increase click-through rates. It helps search engines understand the relationships between entities on your site. And increasingly, it helps AI search engines like ChatGPT, Perplexity, and Gemini understand your business clearly enough to cite and recommend you.

Check your site's authority score with our Authority Checker to see how structured data impacts your overall score.

What Does a Schema Validator Check?

  1. Syntax validation — JSON-LD must be valid JSON. Properly formatted brackets, commas, quotes, and data types. A single misplaced comma makes your entire block invisible to search engines.
  2. Schema.org compliance — Every type has required and recommended properties. An Organization without name or url is incomplete. A Product without image or offers won't qualify for rich results.
  3. Google Rich Results requirements — Google has specific requirements beyond Schema.org. Article schema needs headline, image, datePublished, and author. Organization needs logo. The validator checks these Google-specific rules.
  4. Best practices — Using @graph structure, including sameAs properties, adding dateModified, implementing BreadcrumbList. Not errors, but optimizations that strengthen your implementation.

Common Schema Markup Errors

  • Missing @context or @type. Every JSON-LD block needs @context (always "https://schema.org") and @type. Without these, the block is meaningless.
// Wrong — missing @context
{
  "@type": "Organization",
  "name": "Acme Corp",
  "url": "https://acme.com"
}

// Correct — @context included
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Acme Corp",
  "url": "https://acme.com"
}
  • Wrong data types. Schema.org expects specific types. A price should be a number, not a string with currency. A date should be ISO 8601 format.
// Wrong — price is a string, date is not ISO 8601
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Pro Plan",
  "offers": {
    "@type": "Offer",
    "price": "$39/month",
    "availability": "InStock"
  },
  "datePublished": "March 15, 2025"
}

// Correct — price is a number, date is ISO 8601
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Pro Plan",
  "offers": {
    "@type": "Offer",
    "price": 39,
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  },
  "datePublished": "2025-03-15"
}
  • Missing required properties. Each type has Google-required properties. Product needs name, image, offers. Article needs headline, author, image, datePublished.
  • Inconsistent @id references. When using @graph, entities should have unique @id values, and cross-references must match exactly.
// Wrong — @id mismatch ("org" vs "#organization")
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "#org",
      "name": "Acme Corp"
    },
    {
      "@type": "WebSite",
      "@id": "#website",
      "publisher": { "@id": "#organization" }
    }
  ]
}

// Correct — @id references match exactly
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "#org",
      "name": "Acme Corp"
    },
    {
      "@type": "WebSite",
      "@id": "#website",
      "publisher": { "@id": "#org" }
    }
  ]
}
  • Duplicate schema types without differentiation. Having two Organization blocks with different info confuses search engines.
  • Outdated or deprecated properties. Schema.org evolves. Properties valid three years ago may have been replaced.

Schema Types Every Website Should Have

Organization

Tells search engines about your business entity. Include official name, URL, logo, description, and social profiles via sameAs. This powers Google's knowledge panels and helps AI engines identify your business.

WebSite

Describes your website as a whole, typically on the homepage. Include site name, URL, and a potentialAction with SearchAction for the sitelinks search box.

WebPage

Provides page-specific metadata: name, URL, description, datePublished, dateModified. While not required for a specific rich result, it helps search engines understand page freshness.

BreadcrumbList

Describes your site's navigation hierarchy. Google uses this to display breadcrumb navigation in search results, improving click-through rates.

Beyond these four baseline types, add schema based on your content: Product for e-commerce, Article for publishers, LocalBusiness for physical locations, FAQPage for FAQ content.

Compare your schema implementation against a competitor with our Domain Compare tool.

How Structured Data Affects AI Search Engines

Structured data was originally designed for traditional search engines, but it has become equally important for AI search engines in 2026.

When ChatGPT, Perplexity, Gemini, or Claude need to answer a question about a business, product, or service, they look for structured, unambiguous information. A page that says "Contact us today!" does not help an AI engine understand what your business does. But an Organization schema that states your name, description, address, phone number, and social profiles gives the AI exactly the structured context it needs.

AI engines also use structured data to resolve ambiguity. If someone asks "What does Acme do?" the AI needs to determine which Acme. Organization schema with a unique URL, logo, and description makes disambiguation straightforward.

Product schema helps AI engines recommend your products in comparison questions. FAQPage schema provides ready-made answers. Service schema helps AI engines understand what you offer and where.

The connection between structured data and AI visibility is not theoretical. Analysis shows a strong correlation between comprehensive schema markup and AI citation frequency. This makes structured data one of the highest-leverage investments you can make — easy to implement, free to maintain, and effective on both traditional and AI search engines.

How to Use This Validator Effectively

For checking a live website

Use the "Scan URL" option. Enter any URL and the validator fetches the page, extracts all JSON-LD blocks, and analyzes each one. This is the fastest way to see what structured data exists on a page.

For testing code before deployment

Use the "Paste JSON-LD" option. Copy your schema from your code editor, paste it, and check before it goes live. This prevents publishing broken structured data.

For competitive analysis

Validate your competitors' pages. See what schema types they use, how complete their implementation is, and where they have gaps.

Work through issues in order of severity

Errors first (prevent processing), warnings next (improve eligibility), suggestions last (optimize).

Validate after every change

Structured data can break when you update your CMS, change templates, or modify code. Make validation a habit.

Beyond Validation: Generating Perfect Schema

Validating existing schema tells you what is wrong. But what if you do not have schema markup at all, or fixing errors manually feels overwhelming?

This is where schema generation tools become valuable. Instead of writing JSON-LD by hand — which requires knowledge of Schema.org's vocabulary, property types, and nesting structures — a generator creates comprehensive, pre-validated markup based on your site's actual content.

Rankeo's Schema Generator analyzes your website, detects your business type, and creates a complete @graph structure with all relevant schema types. The generated markup passes validation because it is built against the same rules this validator checks.

The difference is significant. Manual implementation typically takes hours. Generated schema takes seconds and covers edge cases that manual implementation often misses.

Fix Schema Issues Automatically

Rankeo's AI Schema Generator creates comprehensive, pre-validated JSON-LD in one click — Organization, WebSite, BreadcrumbList, and more. No coding required.

Paste your JSON-LD or enter a URL above to validate your structured data instantly.