JSON-LD (JavaScript Object Notation for Linked Data) is a data format for embedding structured data in a page, separate from the visible HTML. Google recommends it where technically possible.Open glossary entry → is one of several Schema markup is code that describes a page's content in a structured way, so search engines understand it not just as text but as clearly classified information.Open glossary entry → formats, alongside Microdata and RDFa. It is placed as a separate script block in the source code and is therefore decoupled from the visible content. That makes it easier to maintain and less fragile when designs change.

A simple example:

<script type="application/ld+json">{ "@context": "https://schema.org", "@type": "WebPage" }</script>

Advantages of JavaScript Object Notation (JSON) is a lightweight, text-based data format for storing and exchanging data. It is human-readable and easy for machines to process.Open glossary entry →:

  • separate from the visible HyperText Markup Language (HTML) is the markup language for web pages. It defines the structure and content of a page, such as headings, paragraphs, links and images.Open glossary entry →,
  • easy to output in templates,
  • maintainable and robust against layout changes,
  • well suited to content management and shop systems.

Note: even a single missing comma can invalidate the entire markup, so validating with the Google Rich results are enhanced displays in Google, for example with ratings, prices or breadcrumbs, which can be enabled by suitable structured data.Open glossary entry → Test or the Schema Markup Validator is advisable.