JSON-LD Structured Data: What It Does, and the Mistakes That Quietly Break It

Technical SEO

How JSON-LD structured data works, the three failures that silently break it, and what it realistically does for a page beyond rich result eligibility.

6 min readPublished

Structured data occupies an odd place in SEO work. Everyone agrees it matters, most sites have some, and very few teams can say with confidence whether theirs is valid, accurate or doing anything at all. The markup sits invisibly in the page source, fails silently when wrong, and produces no error anyone notices until someone goes looking.

Part of the problem is that structured data gets discussed as a ranking tactic when it is really a communication format. A page says things in prose that a human reads easily and a parser reads badly. A heading that visually announces a business name is, to a machine, just text at a particular size. Structured data removes the inference: this string is the name, this one is the address, these are the opening hours. Nothing is being optimised. Something is being stated.

On this page

Why JSON-LD Won

Three formats exist for marking up a page. Microdata and RDFa both work by adding attributes to existing HTML elements, which means the markup is tangled into the template and every change to the layout risks breaking it.

JSON-LD takes the opposite approach. The markup sits in a single script block, separate from the visible HTML, describing the page without touching it. A developer can restructure the entire template without disturbing the structured data, and a marketer can hand over a block of code without needing access to the template at all.

That separation is why Google has recommended it for years, and why nearly every plugin, CMS field and free schema generator now outputs JSON-LD rather than the alternatives. It is also why the format’s one weakness matters: being isolated from the page means nothing visually breaks when the markup is wrong.

FormatWhere the markup livesBreaks whenCurrent standing
JSON-LDA separate script blockThe JSON syntax is invalidGoogle’s recommended format
MicrodataAttributes on visible HTML elementsThe template or layout changesStill supported, rarely chosen
RDFaAttributes on visible HTML elementsThe template or layout changesStill supported, rarely chosen

The Three Failures Worth Checking For

Free tool: see which AI crawlers can read your site, and which are blocked. Run the AI crawler check

Invalid syntax: JSON is unforgiving. A missing comma, a trailing comma after the final property, a quote that got converted into a typographic quote by a word processor, and the entire block is discarded. Not degraded, discarded. The page renders perfectly and the markup does nothing.

This is the most common failure and the easiest to avoid, which is why building the block with a generator rather than hand-editing it removes an entire category of problem. The output is valid by construction, and the facts are the only thing left to get right.

Markup that contradicts the page: Schema describing content a visitor cannot see is a guidelines violation, and the common version is not malicious. A business updates its opening hours on the page and forgets the markup carries them too. A FAQ block gets marked up, then half the questions are removed from the visible page during a redesign. The markup is now lying, and it was accurate when it was written.

For local businesses there is a third copy of the same facts in the Google Business Profile, which means three places to update and two that get forgotten.

Identity markup only: Plenty of sites carry Organization and WebSite schema, usually added by a plugin, and nothing else. Those types describe the publisher. They say who made the page and nothing about what the page contains. Content types such as Article, FAQPage, HowTo, Product and LocalBusiness are what describe the subject, and they are the ones that support a machine trying to confirm the page covers what it claims.

What It Will Not Do

Structured data does not improve rankings. Google has been consistent on this, and the belief persists anyway because correlation is easy to find: sites that implement structured data carefully tend to do other things carefully too.

What valid markup does is make a page eligible for rich results, which is different from guaranteeing one. Eligibility is necessary and insufficient, and Google decides case by case based on content quality and user context. Some types have become considerably harder to earn: FAQ rich results, widely implemented across the web, have been restricted since 2023 to a limited set of well-known government and health sites, which means most FAQ markup now produces no visual change whatsoever.

That is not an argument against adding it. It is an argument against promising a client an accordion in the search results.

A Practical Sequence

Get the content right first. Markup describes a page; it cannot improve one. A thin page with immaculate structured data is still a thin page, and the markup simply describes the thinness in machine readable form.

Generate the block rather than writing it, unless you are implementing a type no generator covers. The time saved is minor; the errors avoided are not.

Place it in the HTML of the page it describes, in either the head or the body, both of which work. Most content management systems provide a custom code field for exactly this, which is more maintainable than editing templates.

Then test it, which is the step people skip. Google’s Rich Results Test accepts a live URL or pasted code, reports errors, and states which rich results the markup is eligible for. Running it takes under a minute and is the only way to know the implementation worked.

Finally, add structured data to the list of things checked when content changes. The failure mode is almost never a bad implementation. It is a good implementation that stopped matching the page eighteen months later.

Frequently Asked Questions

Where exactly should the script block go?

 Inside the HTML of the page it describes, in either the head or the body. Both work, and a custom code field in your CMS is usually the most maintainable place.

Does structured data improve rankings?

 No. It makes a page eligible for rich results, which is a different outcome, and eligibility is not a guarantee.

Is FAQ markup still worth adding? 

As a machine-readable statement of what the page answers, yes. As a route to an expanded listing, no, since that display has been limited to a small set of government and health sites since 2023.

The Honest Summary

Structured data is unglamorous infrastructure. It has a modest ceiling, a genuinely low floor, and its main virtue is that it removes ambiguity about what a page is for at a moment when more systems than ever are trying to work that out automatically.

The work takes an afternoon for a small site and repays itself in consistency rather than in a visible traffic jump. Start with your most important page, describe it accurately, validate the result, and note the markup alongside the content in whatever process you use for updates. Free tools for building and checking the block are available at SEOsets.com, which makes the first hour of this considerably shorter than it used to be, and the rest of it is simply remembering to keep the facts in sync.

Free, no signup

Is your site blocking the AI crawlers that cite you?

The free AI crawler check reads your robots.txt and requests your page as GPTBot, ClaudeBot, PerplexityBot and the other AI crawlers, so you can see who gets in and who gets blocked.

Run the free checkSee all free tools
SEO Sets

Vinod Jethwani

Vinod Jethwani is the CEO of Walnut Solutions, a leading SEO company renowned for its data-driven strategies and customized solutions. With extensive expertise in digital marketing and a results-oriented approach, Vinod has helped businesses across diverse industries enhance their online presence and achieve sustainable growth. As a trusted advisor and innovator, he is committed to driving measurable success for his clients in the competitive digital landscape. How we measure