What is JSON-LD?
JSON-LD, JSON for Linked Data, is a W3C format for linked data in JSON. Sites place it in a script tag to add schema.org structured data to a page.
In short. JSON-LD is a JSON-based format for linked data, published as a W3C Recommendation. The name stands for JSON for Linked Data. Websites use it to add structured data to a page in a script tag, usually with the schema.org vocabulary. Google supports three structured data formats and recommends JSON-LD, because it is the easiest for site owners to implement and maintain.
On this page 6 sections
The evidence
- Confirmed:
- Confirmed:
- Confirmed:
Google recommends JSON-LD for structured data, and can read it when JavaScript adds it to the page after loading.2Google Search Central, updated Dec 10, 2025
- Observed:
64.70% of pages cited by ChatGPT carried JSON-LD, against 80% to 84% of pages cited by Gemini, Google AI Overviews and Google AI Mode.5Promptly Found, Nov 2026. Pages cited in about 26,000 AI responses
Confirmed by the platformObserved in data
JSON-LD is the format most sites use for structured data. It sits in its own script tag, apart from the text that readers see, and describes the page in terms that search engines can read.
#How does JSON-LD work?
JSON-LD works by adding a few special keys to ordinary JSON, so that each key and value points to a defined meaning. The W3C JSON-LD 1.1 Recommendation defines it as a JSON-based format to serialize linked data. The @context key maps short names to full identifiers. In the specification's example, "name" is shorthand for http://schema.org/name. The @type key gives the type of the thing described, and @id gives it an identifier.1
The JSON-LD project site describes it as a lightweight linked data format that is easy for humans to read and write, based on JSON.3 On a web page, JSON-LD goes in a script element with the type application/ld+json.1 This block describes a company with the schema.org vocabulary, which can be written in JSON-LD, Microdata or RDFa:4
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Ltd",
"url": "https://www.example.com",
"logo": "https://www.example.com/logo.png"
}
</script>#Why does Google recommend JSON-LD?
Google recommends JSON-LD because it is the easiest structured data format for site owners to implement and maintain at scale. Google's introduction to structured data lists three supported formats: JSON-LD, Microdata and RDFa. It says all three are equally fine when the markup is valid.2
Google gives two reasons for its preference. The JSON-LD markup is not mixed into the visible text, which makes nested items easier to express, such as the country of the address of a venue. Google can also read JSON-LD that JavaScript adds to the page after it loads.2 What is structured data? covers what the markup is for.
#Do pages that AI answers cite use JSON-LD?
Most of them do. In a Promptly Found crawl of 16,805 pages cited in about 26,000 AI responses, 76.19% carried JSON-LD. The share was 64.70% for pages cited by ChatGPT, against 80% to 84% for pages cited by Gemini, Google AI Overviews and Google AI Mode.5
These figures show that JSON-LD is common on cited pages. They do not show that it caused the citations. Does schema markup affect AI citations? reviews the evidence on cause and effect. To test the markup on a page, use the schema markup checker.
Read next
GEO
Does schema markup affect AI citations?
Ahrefs tracked 1,885 pages that added schema against 4,000 matched controls and found no citation gain in ChatGPT, AI Overviews or AI Mode.
Research
Schema and structure on 16,805 pages AI answers cite
76% of 16,805 pages cited in AI answers carried JSON-LD schema. Schema types, authors, headings, tables and robots directives, by engine and intent.
Crawlers
Do crawlers render JavaScript?
Some crawlers render JavaScript and some do not. Googlebot renders pages after a queue, and CCBot reads only the HTML that the server sends.
GEO
How to audit your brand's entity signals
A five-step audit of your Knowledge Panel, Wikidata, Wikipedia, schema and descriptions, then a 30-point map of what AI assistants say about you.
Used in
Related terms
Questions
Where should JSON-LD go on a page?
Google reads JSON-LD in a script tag in either the head or the body of the HTML page. The markup must describe content that is visible on that page.
Is JSON-LD better than Microdata?
Google says JSON-LD, Microdata and RDFa are equally fine when the markup is valid. It recommends JSON-LD because the markup sits apart from the visible text, which makes nested items easier to express and to maintain.
Can one page have more than one JSON-LD block?
Yes. The W3C specification describes how a processor extracts all the JSON-LD script elements on a page and merges them into one dataset.
About this page
Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.
Notes
- 1
- 2
- 3
- 4
- 5
Cite this page
Promptly Found. (2026, December 1). What is JSON-LD? https://promptlyfound.com/glossary/json-ld
Revisions 1
- First published.