# 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.

Canonical: https://promptlyfound.com/glossary/json-ld
Updated: 2026-12-01

## Short answer

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.

## Key findings

- JSON-LD 1.1 became a W3C Recommendation on July 16, 2020. It extends JSON-LD 1.0, a W3C Recommendation of January 16, 2014. [1]
- To embed JSON-LD in an HTML page, the page places it in a script element with the type attribute set to application/ld+json. [1]
- Google recommends JSON-LD for structured data, and can read it when JavaScript adds it to the page after loading. [2]
- 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. [5]

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](https://www.w3.org/TR/json-ld11/) 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](https://json-ld.org/) 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](https://schema.org/) vocabulary, which can be written in JSON-LD, Microdata or RDFa:[4]

```html
<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](https://developers.google.com/search/docs/appearance/structured-data/intro-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?](https://promptlyfound.com/glossary/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](https://promptlyfound.com/data/ai-answer-sources-2026.csv) 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?](https://promptlyfound.com/geo/schema-markup) reviews the evidence on cause and effect. To test the markup on a page, use the [schema markup checker](https://promptlyfound.com/tools/schema-markup-checker).

## Sources

1. JSON-LD 1.1. W3C, 2020-07-16. https://www.w3.org/TR/json-ld11/
2. Introduction to structured data markup in Google Search. Google Search Central, 2025-12-10. https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data
3. JSON-LD: JSON for Linked Data. JSON-LD Community Group. https://json-ld.org/
4. Schema.org. Schema.org. https://schema.org/
5. AI answer sources study 2026: totals (CSV). Promptly Found, 2026-11-20. https://promptlyfound.com/data/ai-answer-sources-2026.csv

---

This is a plain-text copy of https://promptlyfound.com/glossary/json-ld from Promptly Found. The web page is the canonical version and includes the charts.
