Structured Data Tester
Validate JSON-LD structured data for schema.org compliance. Check required and recommended fields, inspect nesting, view property tables, and export cleaned markup.
Updated
Input
Paste structured data to begin
Paste JSON-LD or HTML containing structured data. The tester will auto-detect format, extract all schema blocks, validate against schema.org requirements, and display a full property report.
Frequently Asked Questions
What is the Structured Data Tester?
The Structured Data Tester is a free online tool that validate json-ld structured data for schema.org compliance. check required and recommended fields, inspect nesting, view property tables, and export cleaned markup.. It runs entirely in your browser with no installation or sign-up needed.
What inputs accepted?
Paste raw JSON-LD or full HTML. When HTML is detected, all <script type="application/ld+json"> blocks are auto-extracted.
Which types validated?
19 types: Article, NewsArticle, BlogPosting, Product, FAQPage, HowTo, Recipe, Event, LocalBusiness, Organization, Person, BreadcrumbList, VideoObject, Course, JobPosting, Review, SoftwareApplication, WebSite, WebPage.
What do severity levels mean?
Error = required field missing (likely fails validation). Warning = recommended absent. Info = advisory notices like unrecognized types.
Is the Structured Data Tester free to use?
Yes, the Structured Data Tester is 100% free with no registration, no hidden fees, and no usage limits. All processing happens locally in your browser, ensuring complete privacy.
Does the Structured Data Tester work on mobile devices?
Yes, the Structured Data Tester is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.
Do I need to create an account to use this tool?
No account or registration is needed. Simply open the Structured Data Tester in your browser and start using it immediately. There are no sign-up walls or usage restrictions.
Does this tool follow Google's latest guidelines?
Yes, the Structured Data Tester is built following current Google Search guidelines and best practices. We regularly update the tool to reflect changes in search engine requirements.
How do I use the Structured Data Tester?
Simply enter your input in the provided field, adjust any settings to your preference, and the tool will process it instantly. You can then copy the result to your clipboard or download it.
Which browsers are supported?
The Structured Data Tester works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.
What is the difference between JSON-LD, Microdata, and RDFa?
All three are formats for adding structured data to a page, but they differ in where the markup lives. JSON-LD keeps everything in a single <script type="application/ld+json"> block, separate from your visible HTML, which makes it easy to add, edit, and validate without touching the page layout. Microdata and RDFa instead weave attributes like itemprop and property directly into your existing HTML tags, so the data is tied to specific on-page elements. Google supports all three but recommends JSON-LD because it is the cleanest to maintain and the least likely to break when a template changes. This tester is built for JSON-LD: it reads raw snippets or pulls the ld+json blocks out of a full HTML page. Paste your markup to confirm the JSON-LD itself is well-formed and complete.
Why does my structured data validate here but still not show a rich result in Google?
Valid markup is necessary for a rich result, but it is not sufficient. This tester confirms your JSON-LD is well-formed and carries the required and recommended fields a schema type expects, which removes the single most common reason rich results never appear: a missing required property. Google, however, also weighs factors this tool cannot see. Content quality and relevance, eligibility policies for the result type, manual actions, and simple crawl-and-index timing all affect whether the enhancement actually renders in search. New or low-authority pages may also wait weeks before Google trusts the markup. So treat a passing result as clearing the technical bar, not a guarantee. Fix every error and warning flagged here first, then give Google time to recrawl the page before concluding something else is wrong.
How do I validate structured data on a page that has multiple schema types?
Real pages often carry several schema blocks at once, like an Organization, a BreadcrumbList, and an Article on a single article page. Paste the page's full HTML and the tester extracts every <script type="application/ld+json"> block automatically, so you do not have to isolate each one by hand. It also expands @graph arrays, where multiple connected entities are bundled inside one script, and treats every object as its own block. Each block then gets its own severity verdict, property breakdown, and external-reference list, while a summary panel tallies the total blocks, the types present, and the combined errors and warnings across all of them. That makes a page-wide health check a single glance rather than a copy-paste loop. Paste your HTML to audit every embedded schema type in one pass.
What are required versus recommended fields in schema markup?
Required fields are the properties a schema type must include for the markup to be valid and eligible for its rich result. Leave one out and the tester flags an error, because that block will likely fail validation; an Article, for example, needs headline, author, datePublished, and image. Recommended fields are valid to omit but improve your eligibility and the richness of the result, so a missing one shows as a warning rather than an error. A Product's offers price is required, while extra detail like aggregateRating is recommended. The tool sorts every property so required fields sit at the top, then recommended, then optional, and labels each with its status. Resolve all errors first, then add the recommended fields you reasonably can. Paste your JSON-LD to see exactly which fields each type expects and which you are missing.
How do I clean up messy hand-written JSON-LD before adding it to my page?
Hand-written markup tends to accumulate problems: inconsistent indentation, leftover placeholder URLs, missing required fields, and a missing or wrong @context. Paste it here and the tester parses the structure, flags any required field that is absent, and warns when @context is missing or is not set to schema.org. It also pulls out every @id, url, and sameAs link into an external-references list, which makes broken or placeholder URLs easy to spot before they ship. A collapsible JSON tree lets you inspect nested objects like author, publisher, or offers without scrolling through raw text. Once the block reads clean, use Copy Clean JSON-LD or Download .jsonld to grab properly formatted markup you can drop straight back into your page. Paste your snippet to tidy and validate it in one step.
Related Tools
Free SEO Meta Tag Generator
Generate SEO-friendly meta tags for your website. Title, description, keywords, and more. Free, fast, and works entirely in your browser with no sign-up required.
Free Open Graph Tag Generator
Create Open Graph and Twitter Card meta tags for social media sharing. Free, fast, and works entirely in your browser with no sign-up required.
Free Robots.txt Generator
Generate a robots.txt file to control search engine crawling. Free, fast, and works entirely in your browser with no sign-up required.
Free Keyword Density Checker
Analyze keyword density and frequency in your content for SEO optimization. Free, fast, and works entirely in your browser with no sign-up required.
About the Structured Data Tester
The Structured Data Tester is a free tool for checking JSON-LD structured data against schema.org requirements before it goes live. Paste a raw JSON-LD snippet or a full HTML page, and the tester parses it, identifies the schema type, flags missing fields, and lays out every property so you can see exactly what a search engine would read. It is built for SEOs, developers, and content teams who add markup for rich results and want to confirm it is correct without guessing.
Structured data is metadata you embed in a page so search engines can understand its content — an article's author and publish date, a product's price and rating, a recipe's ingredients. JSON-LD is Google's recommended format, delivered inside a <script type="application/ld+json"> block. Get a required property wrong and the rich result silently disappears, so validation matters more than it looks.
Everything runs locally in your browser. Your markup is never uploaded to a server, which keeps unpublished pages, internal URLs, and draft schema private. There is no sign-up and no usage limit.
What the tester checks
When you paste input, the tool auto-detects whether it is JSON-LD or HTML. In HTML mode it extracts every <script type="application/ld+json"> block on the page; it also expands @graph arrays and handles multiple objects at once, so a page with several schema types is analyzed in one pass. Each block is then validated and reported with:
- A severity verdict. An error means a required field is missing and the markup will likely fail validation. A warning means a recommended field is absent — valid, but you are leaving eligibility on the table. Info notices cover advisory items, such as a schema type outside the common list getting only basic checks.
- A property breakdown listing every field with its value, value type, and status (required, recommended, or optional), sorted so the fields that matter most sit at the top.
- A collapsible JSON tree for inspecting nested objects like
author,publisher, orofferswithout scrolling through raw text. - External references — every
@id,url, andsameAslink pulled out so you can spot broken or placeholder URLs. - Structural facts including nesting depth, total property count, and reference count.
Schema types it validates
The tester carries field rules for 19 of the most common schema.org types used for rich results: Article, NewsArticle, BlogPosting, Product, FAQPage, HowTo, Recipe, Event, LocalBusiness, Organization, Person, BreadcrumbList, VideoObject, Course, JobPosting, Review, SoftwareApplication, WebSite, and WebPage. For each, it knows the required and recommended properties — for example, an Article needs headline, author, datePublished, and image, while a Product needs name, image, and offers. Paste a type outside this list and the tool still parses and displays it, applying basic structural checks rather than type-specific rules.
How to use it and why it helps
Paste your markup, or load one of the built-in presets — a valid Article, an invalid Product missing its price, or a page with multiple types — to see how results read. A summary panel tallies the blocks found, the types present, and the total errors and warnings, so a page-wide health check takes one glance. Drill into any block through its tabs to fix specific fields.
Common moments this saves time:
- Confirming a new template's markup is complete before publishing, instead of waiting days for Search Console to report errors.
- Auditing a live page by pasting its HTML and reading every embedded schema block at once.
- Cleaning up hand-written JSON-LD, then exporting it with Copy Clean JSON-LD or Download .jsonld to drop straight back into your page.
A passing result means your markup is structurally sound and carries the fields a type expects. It is not a guarantee of a rich result — Google also weighs content quality and policy — but eliminating missing-field errors removes the most common reason rich results never appear.