Home / Glossary / Semantic search and data

Semantic search and data

JSON-LD

Also searched as: microdata, JSON for Linking Data

In shortJSON-LD is a format for adding structured data to a web page as a block of script code, separate from the visible text. It uses vocabularies such as Schema.org to describe what the page is about. Google supports several formats, including microdata, and its documentation generally recommends JSON-LD.

By Aditya Aman, working in SEO for almost a decade and hands-on with AEO and GEO as those fields have developed. Updated 25 November 2026.

  • What it isA script block that describes a page in structured data.
  • Who it matters toSEO and developer teams adding schema markup.
  • How it is checkedUse Google's Rich Results Test and Schema Markup Validator.
  • Common mistakeMarking up details that are not visible on the page.
  • Related workSchema.org, structured data and rich results.

What is JSON-LD?

JSON-LD stands for JavaScript Object Notation for Linked Data. On a web page it appears as a script tag with a type of application/ld+json, holding facts about the page: that it is an Organization, an Article, a Product, and the values for each.

Because it sits in one block, it can be added or edited without touching the visible layout. That makes it easier to manage than markup woven through the page content.

How does JSON-LD differ from microdata?

Both describe page content with Schema.org terms. They differ in where the data lives and how it is maintained. Check Google's current structured data documentation for supported formats.

AspectJSON-LDMicrodata
Where it sitsA separate script blockAttributes inside the page HTML
EditingChange one blockEdit across the markup
Risk of breaking layoutLowHigher, as it touches the HTML
Typical use todayCommon defaultOlder sites and some templates

How do you add and check JSON-LD?

Most teams add it through the CMS, a plugin or the page template. The steps below work for any setup.

  1. Choose the typePick the Schema.org type that fits the page, such as Organization, Article or Product.
  2. Write the propertiesFill in values that match what visitors can see on the page.
  3. Place the scriptAdd the block in the page head or body through your template or CMS.
  4. Validate itTest with Google's Rich Results Test and the Schema Markup Validator.
  5. Monitor itWatch the enhancement and structured data reports in Search Console after launch.

What are common JSON-LD mistakes?

The biggest is marking up information that visitors cannot see, or that is not true, such as invented ratings. That breaks guidelines and can cost you rich result eligibility. Markup should confirm the visible page.

Others are syntax slips, like a missing comma, duplicate blocks from a plugin and a theme both adding the same type, and stale values after a page changes. Validate after every template change and do not expect markup to guarantee rich results.

Need help with JSON-LD on your site?

Tell us what is not working. We will check where this affects your search results and what to fix first.

Book a meetingTechnical SEO

Questions people ask

Does JSON-LD improve rankings?

Google has said structured data is not a direct ranking boost. It helps systems understand a page and can make it eligible for certain rich results. Whether a rich result appears is up to Google and is never guaranteed.

Can I have more than one JSON-LD block on a page?

Yes. A page often carries several, for example Organization, BreadcrumbList and Article. Avoid duplicates of the same type with conflicting values, which usually come from a theme and a plugin both adding markup.

Should I replace microdata with JSON-LD?

Only if it is worth the effort. Working, valid microdata is acceptable. If you are rebuilding templates or managing markup is painful, moving to JSON-LD usually makes maintenance simpler. Validate before and after the change.

Inspect the original evidence