JSON-LD — the structured data format Google recommends (and when the others are fine)
TL;DR
JSON-LD writes Schema.org structured data as a JSON block inside a <script type="application/ld+json"> tag. Google recommends it because it is the easiest to maintain, but says JSON-LD, Microdata and RDFa are "all 3 equally fine" when the markup is valid. Put it in the HTML the server sends: AI crawlers do not run JavaScript.
Explain Simply
Microdata and RDFa write labels directly on the things on the page, like price stickers on each product. JSON-LD puts the whole list on one card at the counter instead. Both tell the shop assistant the same thing; the single card is easier to keep up to date.
What it is: JSON for Linked Data, a W3C standard (JSON-LD 1.1, 2020). On a web page it is a <script type="application/ld+json"> block in the <head> or <body> with @context: "https://schema.org", an @type (Organization, Article, Product…) and that type's properties. Several entities can share one block through @graph, and one page can have several blocks.
The three formats Google reads:
- JSON-LD — a separate block, not mixed with the visible text, so nested items (an Offer inside a Product, an Address inside an Organization) are easy to write. Recommended.
- Microdata — itemscope, itemtype, itemprop attributes on the visible HTML.
- RDFa — vocab, typeof, property attributes on the visible HTML.
Google: "all 3 formats are equally fine for Google, as long as the markup is valid and properly implemented". Bing supports all three as well. A working Microdata site does not need a migration; choose JSON-LD for new markup.
The rule that applies to every format: the data must describe what visitors see on the page. Google does not allow markup of hidden content, and Bing says markup "must accurately reflect visible content".
JavaScript: Google can read JSON-LD that JavaScript or a tag manager adds after load. AI crawlers such as GPTBot and ClaudeBot do not run JavaScript, so for them only the JSON-LD in the server's HTML exists.
⚡Why It Matters
Google gives one reason to prefer JSON-LD: it is the easiest format to implement and maintain at scale, "less prone to user errors". The data sits in one place, so a template change cannot break it by moving an attribute. The format itself does not rank a page higher or make rich results more likely; valid markup with the properties the feature requires does.
🔍How CiteStat Checks
CiteStat reads every JSON-LD block in the raw HTML (the version a crawler that does not run JavaScript gets), expands @graph, and checks that the JSON parses and has @context and @type, then checks required fields for common types on the Schema card. Microdata and RDFa count as structured data: the scan notes them but does not validate them — use Google's Rich Results Test for that.
CiteStat Score Impact
Headline score: in the Structured Data group (5 % of the total), "JSON-LD structured data must be valid JSON" (error, weight 9), "Structured data must include @context" and "Structured data must include @type" (error, weight 8) fail on broken blocks. "Prefer JSON-LD" is advice only and never scored — Microdata or RDFa does not cost points. Schema card (out of 10): no structured data in any format costs 5 points; a JSON-LD type missing required fields costs 2.
Fix Difficulty
Editor: Hard | Developer: Easy | AI Agent: Easy