Structured Data Tester

Declared type—
Completeness—
Missing fields—
Google's Rich Results Test—

How Structured Data Tester is calculated: Look up the required fields for the block's @type in the built-in table, then check each field — including nested fields like offers.price — is present and not empty

What is a structured data tester?

A structured data tester checks whether a JSON-LD block is complete — not just whether it parses, but whether it has the fields its type requires. An Article block needs a headline, a publication date, and an author. A Product block needs a name and a price. A Recipe needs a name and its ingredients. A block that is missing one of those fields is valid code, but a search engine that wants that field may ignore the block entirely.

The tester works from a small built-in table of required fields per type. It reads the @type of your block, looks up what that type needs, and checks each field in turn — including nested fields, like the price inside a Product's offers object. The result is a plain verdict: Complete, or a list of exactly which fields are missing. There is no guessing involved, because the table is fixed and the check is mechanical.

This tester runs entirely in your browser. Paste a JSON-LD block and it parses it on the spot, reports the type, the completeness verdict, the missing fields (or None), and the address of Google's Rich Results Test, where you can paste the same code for Google's own verdict. It does not fetch your page and it does not talk to Google — it checks the block itself, which is the part you control.

How this structured data tester works

The first step is parsing. The tester feeds your text to the browser's JSON parser; if the text does not parse, it says so plainly — Not valid JSON — and stops, because no field check can run on broken code. Fix the syntax first, then test again. If the text parses, the tester reads the @type field to find out what the block claims to be.

The second step is the table lookup. The built-in table covers the six types this tool knows: Article needs headline, datePublished, and author; Product needs name and offers.price; Recipe needs name and recipeIngredient; FAQPage needs mainEntity; BreadcrumbList needs itemListElement; LocalBusiness needs name and address. A type outside the table — say Event — is reported with no required fields, because the tester will not invent requirements it does not know.

The third step is the field check. Each required field is looked up in the block, following dots for nested fields: offers.price means the price inside the offers object, not a top-level price. A field that is missing, empty, or an empty list counts as missing. The verdict is Complete when nothing is missing, and Missing followed by the field names when something is. The formula box on this page states the method in one line.

The required fields, explained

Each type's required fields are the facts a search engine needs to show a rich result for that type. An Article without a datePublished cannot show a date under its link, and without an author it cannot show who wrote it — so the tester requires headline, datePublished, and author. A Product without a price cannot show a price, so offers.price is required alongside the name. The requirement is not a judgement about your page; it is a statement about what the rich result needs to display.

Nested fields are the part people get wrong most often. A Product block that says price: 499 at the top level looks complete at a glance, but the price belongs inside offers — offers is an Offer object, and price is one of its fields. The tester follows the path offers.price, so a top-level price does not satisfy it. That strictness matches how search engines read the block: they look for the price in the offers object, and nowhere else.

Two of the types need only one field, and that is worth understanding. A FAQPage needs mainEntity — the list of questions and answers — because without it there is no FAQ to show. A BreadcrumbList needs itemListElement — the list of crumbs — because the list is the whole point of the type. A single missing field can make the entire block useless, which is why the tester lists every missing field instead of just saying incomplete.

A worked example: an Article missing its date

The sample loaded on this page is an Article block with a headline, How to Brew Filter Coffee, and an author, a Person named Viv Kumar. It has no datePublished. Paste it in as it is and the tester reports the type as Article, the verdict as Missing: datePublished, the missing field as datePublished, and the Google Rich Results Test address for the next step. One field is missing, and the tester names it.

Add the date back — datePublished: 2026-11-15 — and the verdict changes to Complete, with the missing field reading None. The block has not changed in any other way: the same headline, the same author, the same context. One line was the whole difference between a block a search engine can use for an article result and a block it may skip.

Try a Product as a third check. A block with a name, Coffee Maker, and no offers at all reports Missing: offers.price. The name is present, but the price is the field that makes a Product result worth showing, and the tester will not call the block complete without it. Add an offers object with a price of 499 and a currency, and the verdict flips to Complete.

Why testing structured data matters

Structured data fails silently, and that is what makes it dangerous. A page with a broken or incomplete block looks exactly like a page with a perfect one — the block is invisible to readers, and the page renders the same either way. The only visible difference is in search results, weeks later, when the rich result never appears and nobody remembers why. Testing the block before publishing is the only moment the failure is cheap to fix.

Completeness matters as much as syntax. A block that parses is not necessarily a block a search engine can use. The date, the price, the ingredients, the address — these are the fields the rich result is built from, and a block without them is a frame with no picture. A validator catches the syntax errors; this tester catches the missing facts. Both checks take seconds, and both belong in the publishing routine.

There is a limit to what this tester can tell you, and it is honest about it. It checks the block against a fixed table of required fields, in your browser. It cannot give you Google's verdict, because only Google can — Google's Rich Results Test reads the same block with Google's own rules, and its answer is the one that counts for search. Paste the same code there after this tester says Complete, and treat its verdict as final. A meta tag generator handles the other half of the page's head: the title and description that every result shows, rich or plain.

Structured data tester vs JSON-LD validator: different jobs

This tester and a JSON-LD validator both read JSON-LD, but they check different things. The validator asks: is this block well-formed? It checks the syntax, the context, and whether the type exists. The tester asks: is this block complete? It checks whether the fields a type requires are actually present. One checks the shape of the block; the other checks the contents.

A block can pass the validator and fail the tester. The sample on this page does exactly that: it is valid JSON-LD, with a real type and a real context, but it is missing datePublished, so the tester calls it incomplete. The reverse order does not work — a block that does not parse cannot be tested for completeness at all, so the validator always comes first.

Use them in order: validate the block, then test it for completeness, then paste it into Google's Rich Results Test for the final word. The validator is the ten-second check you run while writing; the tester is the check you run before publishing; Google's test is the check you run when you want to know what search will actually do. A title tag checker is a different tool again — it checks the title tag, not the structured data.

Common mistakes with structured data

The most common mistake is leaving out a required field and assuming the block is fine because it parses. A Product with a name and no price, an Article with a headline and no date, a Recipe with a name and no ingredients — all of them are valid JSON, and all of them are incomplete. Run the block through this tester, not just a validator, and the missing field gets named.

The second mistake is putting a field in the wrong place. A price at the top level of a Product block does not count, because the price belongs inside offers. An author written as a plain name instead of a Person object may not count either, depending on the type. Follow the shape the table expects: nested fields go inside their parent object, not beside it.

The third mistake is copying a block from another page and leaving the old values in it — the old headline, the old date, the old price. The block will test as Complete, because the tester checks that fields exist, not that their values are right for this page. Read the values yourself before you publish. The fourth mistake is testing the block once and never again: a page edit that deletes the date breaks the block, and only a re-test catches it.

How to use this structured data tester

First, paste the JSON-LD block you want to check into the box. The sample on this page is an Article missing its date — replace it with your own block, or add the date in place and watch the verdict change to Complete. The results box shows the type, the verdict, the missing fields, and the address of Google's Rich Results Test.

If the verdict says Missing, the missing-fields row names exactly what to add. Add those fields to the block — a date for an Article, a price inside offers for a Product, an ingredients list for a Recipe — and test again. When the verdict reads Complete, copy the same block and paste it into Google's Rich Results Test at the address shown, because only Google can confirm the rich result. A sitemap generator can list the pages that carry these blocks, so search engines find them all.

Nothing you paste is uploaded or stored: the parsing and the field checks run entirely in your browser, and closing the page deletes everything. Test each block before you publish the page, and again after any edit that touches the head — the check takes ten seconds, and Complete is the only verdict worth shipping.

Frequently Asked Questions

The required fields for its type, from the tester's built-in table: headline, datePublished, and author for an Article; name and offers.price for a Product; name and recipeIngredient for a Recipe; mainEntity for a FAQPage; itemListElement for a BreadcrumbList; name and address for a LocalBusiness. A block is Complete when every field for its type is present and not empty.

No. This tester checks the block against a fixed table of required fields, in your browser. Only Google can give Google's verdict — paste the same block into Google's Rich Results Test at the address shown in the results box, and treat its answer as final for search. This tester tells you the block is complete; Google tells you the rich result will show.

A validator checks the shape of the block: is the JSON valid, is the @context present, does the @type exist. This tester checks the contents: are the fields that type requires actually present. A block can pass the validator and fail the tester — the sample on this page does exactly that, because it is valid JSON-LD but missing datePublished.

No. The parsing and the field checks run entirely in your browser on the text you paste. Nothing is uploaded, nothing is stored, and closing the page deletes everything. The only place your code goes after this page is Google's Rich Results Test, if you choose to paste it there yourself.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.